Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
Line 69: Line 69:
 
</htmltag><htmltag tagname="a" href="{{fullurl:{{#titleparts:{{PAGENAME}}|2|1}}/Answer Key{{GetLangSuffix}}|action=mpdf}}" class="dropdown-item">{{Localize|Answer Key}}</htmltag></div></div>
 
</htmltag><htmltag tagname="a" href="{{fullurl:{{#titleparts:{{PAGENAME}}|2|1}}/Answer Key{{GetLangSuffix}}|action=mpdf}}" class="dropdown-item">{{Localize|Answer Key}}</htmltag></div></div>
 
|}</div>
 
|}</div>
{{HonorPrintHeader}}
+
{{HonorPrintHeader|skill={{{skill|}}}|authority={{{authority|}}}|year={{{year|}}}|insignia={{{insignia|}}}}}
 
</includeonly>
 
</includeonly>

Revision as of 22:56, 24 March 2021

This template creates an infobox for an honor.

Mechanics

The mechanics are just opaque magic (sorry). And Examples won't work because the template get's the honorname from the page title.

Example

{{Honor infobox
|honorname=Camping Skills IV
|skill=2
|year=2001
|category=Recreation
|authority=General Conference
|insignia=Camping_Skills_IV.png
|insignia_source=foo
|master1=Wilderness
}}
{{Honor infobox
|honorname=Camping Skills IV
}}