Difference between revisions of "Template:Honor prerequisite"

From Pathfinder Wiki
m (Account for TLT->Localization move)
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}}|{{Localization: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}}}]]
+
|{{#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 04:53, 27 January 2021

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