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}}|{{Localization: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}}|{{Localize|For tips and instruction see}}{{#var:link}}.}}
 
<includeonly>{{#ifeq:Answer Key|{{#var:third_element}}
 
<includeonly>{{#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}}}]]|[[Category:AY Honors/Prerequisite/{{{honor}}}]]}}}}</includeonly>
 
|{{#ifeq:Investiture Achievement|{{#var:first_element}}|[[Category:AY Honors/Prerequisite IA/{{{honor}}}]]|[[Category:AY Honors/Prerequisite/{{{honor}}}]]}}}}</includeonly>

Revision as of 02:47, 31 January 2021

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