Difference between revisions of "Template:GetHonorName"
From Pathfinder Wiki
DesignerThan (talk | contribs) |
DesignerThan (talk | contribs) |
||
Line 13: | Line 13: | ||
<nowiki>{{GetHonorName|honorname=Camping Skills I}}</nowiki><br/> | <nowiki>{{GetHonorName|honorname=Camping Skills I}}</nowiki><br/> | ||
− | {{GetHonorName|honorname= | + | {{GetHonorName|honorname={{{honorname|}}}}}<br/> |
− | <includeonly><onlyinclude>{{ | + | <includeonly><onlyinclude>{{#vardefine:locHonorname|{{#if:{{{honorname|}}}|{{{honorname}}}|{{#titleparts:{{#if:{{{page|}}}|{{{page}}}|{{PAGENAME}}}}|1|2}}}}}}{{Localize|{{#var:locHonorname}}|Honors}}</onlyinclude></includeonly> |
Revision as of 03:29, 24 February 2022
This template will return the translated honor name of the specified page. If no page parameter is supplied, it operates on the page invoking the template. It is also possible to pass in an honorname.
{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements}}
Alternative Fuels
{{GetHonorName|page=AY Honors/Worms - Advanced/Requirements}}
Worms - Advanced
{{GetHonorName|honorname=Camping Skills I}}