Difference between revisions of "Template:Honor infobox"
From Pathfinder Wiki
DesignerThan (talk | contribs) |
DesignerThan (talk | contribs) |
||
Line 29: | Line 29: | ||
|{{#var:localInsignia}} | |{{#var:localInsignia}} | ||
}}|{{#lst:Localization:All{{GetLangSuffix}}|No Patch}}}}}} | }}|{{#lst:Localization:All{{GetLangSuffix}}|No Patch}}}}}} | ||
− | <templatestyles src="Honor infobox/style.css" /><div class="mw-parser-output"> | + | <templatestyles src="Honor infobox/style.css" /><div class="mw-parser-output noprint"> |
{| class="honor-infobox" | {| class="honor-infobox" | ||
|- | |- | ||
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}} | ||
</includeonly> | </includeonly> |
Revision as of 23:51, 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
- |honorname=Camping Skills IV
- }}
- {{Honor infobox
- |honorname=Camping Skills IV
- }}