Difference between revisions of "Template:Honor prerequisite"

From Pathfinder Wiki
Line 1: Line 1:
 
For tips and instruction, see [[AY Honors/{{{honor}}}|{{{displayname|{{{honor}}}}}}]].
 
For tips and instruction, see [[AY Honors/{{{honor}}}|{{{displayname|{{{honor}}}}}}]].
<includeonly>
+
<includeonly><!--This template is generally only called from Answer Key pages, but we don't want to add the answer keys to the prerequsite category.  Instead, we want to add the landing page to the category.  To prevent the answer key from adding itself to the category, we will make sure that "Answer Key" does not show up as the third element of the page name. -->
[[Category:AY Honors/Prerequisite/{{{honor}}}]]
+
{{#ifeq:Answer Key|{{:titleparts{{PAGENAME}}|1|3}}|[[Category:AY Honors/Prerequisite Answer/{{{honor}}}]]|[[Category:AY Honors/Prerequisite/{{{honor}}}]]}}
 
</includeonly>
 
</includeonly>

Revision as of 03:52, 25 January 2021

For tips and instruction, see [[AY Honors/{{{honor}}}|{{{honor}}}]].