Difference between revisions of "Template:Honor prerequisite"

From Pathfinder Wiki
Line 1: Line 1:
 
{{#vardefine:link|[[AY Honors/{{{honor}}}|{{{displayname|{{{honor}}}}}}]]}}{{#vardefine:third_element|{{#titleparts:{{PAGENAME}}|1|3}}}}{{#vardefine:first_element|{{#titleparts:{{PAGENAME}}|1|1}}}}{{#if:{{{linkonly|}}}|{{#var:link}}|{{:Template:Translations/For tips and instruction see}} {{#var:link}}.}}
 
{{#vardefine:link|[[AY Honors/{{{honor}}}|{{{displayname|{{{honor}}}}}}]]}}{{#vardefine:third_element|{{#titleparts:{{PAGENAME}}|1|3}}}}{{#vardefine:first_element|{{#titleparts:{{PAGENAME}}|1|1}}}}{{#if:{{{linkonly|}}}|{{#var:link}}|{{:Template:Translations/For tips and instruction see}} {{#var:link}}.}}
<includeonly>
+
<includeonly>{{#ifeq:Answer Key|{{#var:third_element}}
{{#ifeq:Answer Key|{{#var:third_element}}
 
 
|<!--included by an answer key-->[[Category:AY Honors/Prerequisite Answer/{{{honor}}}]]
 
|<!--included by an answer key-->[[Category:AY Honors/Prerequisite Answer/{{{honor}}}]]
 
|{{#ifeq:Investiture Achievement|{{#var:first_element}}|[[Category:AY Honors/Prerequisite IA/{{{honor}}}]]
 
|{{#ifeq:Investiture Achievement|{{#var:first_element}}|[[Category:AY Honors/Prerequisite IA/{{{honor}}}]]
 
|[[Category:AY Honors/Prerequisite/{{{honor}}}]]}}}}
 
|[[Category:AY Honors/Prerequisite/{{{honor}}}]]}}}}
 
</includeonly>
 
</includeonly>

Revision as of 23:22, 25 January 2021

Template:Translations/For tips and instruction see [[AY Honors/{{{honor}}}|{{{honor}}}]].