Difference between revisions of "Template:GetHonorName"

From Pathfinder Wiki
 
(20 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
+
<languages />
This template will return the translated honor name of the specified page.
+
<translate>
 +
<!--T:1-->
 +
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.
 +
</translate>
  
 
<nowiki>{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements}}</nowiki><br/>
 
<nowiki>{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements}}</nowiki><br/>
 
{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements}}<br/>
 
{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements}}<br/>
<nowiki>{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements/es}}</nowiki><br/>
 
{{GetHonorName|page=AY Honors/Alternative Fuels/Requirements/es}}
 
  
</noinclude><includeonly>{{#if:{{GetLangSuffix|page={{{page|{{PAGENAME}}}}}}}
+
<nowiki>{{GetHonorName|page=AY Honors/Worms - Advanced/Requirements}}</nowiki><br/>
|{{#titleparts:{{:{{#titleparts:Translations:{{{page|{{PAGENAME}}}}}|-1}}/Page display title{{GetLangSuffix|page={{{page|{{PAGENAME}}}}}}}}}|1|2}}
+
{{GetHonorName|page=AY Honors/Worms - Advanced/Requirements}}<br/>
|{{#titleparts:{{{page|{{PAGENAME}}}}}|1|2}}}}</includeonly>
+
 
 +
<nowiki>{{GetHonorName|honorname=Camping Skills I}}</nowiki><br/>
 +
{{GetHonorName|honorname={{{honorname|Camping Skills I}}}}}<br/>
 +
 
 +
<includeonly><onlyinclude>{{#vardefine:locHonorname|{{#if:{{{honorname|}}}|{{{honorname}}}|{{#titleparts:{{#if:{{{page|}}}|{{{page}}}|{{PAGENAME}}}}|1|2}}}}}}{{Localize|{{#var:locHonorname}}|Honors}}</onlyinclude></includeonly>

Latest revision as of 03:30, 24 February 2022

Other languages:
Deutsch • ‎English • ‎español • ‎français

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}}
Camping Skills I