(Localize the Zoo visit template) |
|||
Line 9: | Line 9: | ||
{{#dpl: | {{#dpl: | ||
|debug=0 | |debug=0 | ||
− | |category= | + | |category=AY Honors/Zoo visit{{GetLangSuffix}} |
|notcategory=Adventist Youth Honors Answer Book/Secondary | |notcategory=Adventist Youth Honors Answer Book/Secondary | ||
|format=,\n*[[%PAGE%|%TITLE%]],, | |format=,\n*[[%PAGE%|%TITLE%]],, | ||
Line 21: | Line 21: | ||
{{#ifeq:Answer Key|{{#titleparts:{{PAGENAME}}|1|3}} | {{#ifeq:Answer Key|{{#titleparts:{{PAGENAME}}|1|3}} | ||
|<!--do nothing--> | |<!--do nothing--> | ||
− | |[[Category: | + | |[[Category:AY Honors/Zoo visit{{GetLangSuffix}}|{{SUBPAGENAME}}]]}} |
</includeonly> | </includeonly> |
Revision as of 02:29, 1 February 2021
Mechanics
This template is typically invoked by an Answer Key, and the Answer Key is transcluded by the honor's landing page. Thus, both pages will see this. We don't want to add the Answer Key to the category, so we check the third element of the pagename to see if it's "Answer Key". If it is, this #ifeq statement will emit a "do nothing" comment. Otherwise, it must be the Landing page, so we add the page to the Zoo Visit category.
Template output
If you are planning to visit a zoo or aquarium, be aware that there are various honors that have requirements which can be met by visiting a zoo or aquarium. Individuals can work on multiple honors in one visit, or parts of your group may work on different honors during the same visit.
Here is a list of honors which have requirements that can be met by visiting a zoo or aquarium:
- AY Honor Endangered Species Answer Key
- AY Honor Taiga Answer Key
- AY Honor Creation Answer Key
- AY Honor Venomous Animals Answer Key
- AY Honor Marsupials & Monotremes Answer Key
- AY Honor Animal Camouflage Answer Key
- AY Honor Bogs & Fens Answer Key
- AY Honor Island Fishing Answer Key
- AY Honor Creationism Answer Key
- AY Honor Raptors Answer Key
- AY Honor Rainforests Answer Key
- AY Honor Dunes Answer Key
- AY Honor Marine Mammals Answer Key
- AY Honor Sharks Answer Key
- AY Honor Marsupials Answer Key
- AY Honor Harmful Animals Answer Key
- AY Honor Temperate Deciduous Forests Answer Key