Difference between revisions of "AY Honors/Zoo Visit"

From Pathfinder Wiki
m (Jomegat moved page Adventist Youth Honors Answer Book/Zoo Visit to AY Honors/Zoo Visit without leaving a redirect: Part of translatable page "Adventist Youth Honors Answer Book/Zoo Visit")
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
If you are planning to visit a zoo, 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.
+
<noinclude>
 +
==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" commentOtherwise, it must be the Landing page, so we add the page to the Zoo Visit category.
  
Here is a list of honors which have requirements that can be met by visiting a zoo or aquarium:
+
==Template output==
<DynamicPageList>
 
category=Adventist Youth Honors Answer Book/Zoo visit
 
order=ascending
 
namespace=0
 
</DynamicPageList>
 
  
 +
</noinclude>{{Localize|Zoo visit}}
 +
 +
{{#dpl:
 +
|debug=0
 +
|category=AY Honors/Zoo visit{{GetLangSuffix}}
 +
|notcategory=Adventist Youth Honors Answer Book/Secondary
 +
|format=,\n*[[%PAGE%|%TITLE%]],,
 +
|shownamespace=false
 +
|order=ascending
 +
|namespace=0
 +
}}
 +
 +
<!--T:3-->
 
<includeonly>
 
<includeonly>
[[Category:Adventist Youth Honors Answer Book/Zoo visit|{{SUBPAGENAME}}]]
+
{{#ifeq:Answer Key|{{#titleparts:{{PAGENAME}}|1|3}}
 +
|<!--do nothing-->
 +
|[[Category:AY Honors/Zoo visit{{GetLangSuffix}}|{{SUBPAGENAME}}]]}}
 
</includeonly>
 
</includeonly>

Latest revision as of 02:35, 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: