Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
Line 27: Line 27:
 
}}
 
}}
 
</noinclude>
 
</noinclude>
<includeonly>{{#vardefine:master|{{GetMasterCategoryList|category={{{category}}}|master1={{{master1|}}}|master1_group={{{master1_group}}}|master2={{{master2|}}}|master_group2={{{master_group2}}} }} }}{{#vardefine:patch|{{#switch:{{{insignia|}}}|No Patch.png|No_Patch.png={{#lst:Localization:All{{GetLangSuffix}}|No Patch}}|default={{{insignia|{{#lst:Localization:All{{GetLangSuffix}}|No Patch}}}}}}}}}
+
<includeonly>{{#vardefine:master|{{GetMasterCategoryList|category={{{category}}}|master1={{{master1|}}}|master1_group={{{master1_group}}}|master2={{{master2|}}}|master_group2={{{master_group2}}} }} }}{{#vardefine:patch|{{#switch:{{{insignia}}}
 +
|No Patch.png
 +
|No_Patch.png={{#lst:Localization:All{{GetLangSuffix}}|No Patch}}
 +
|{{{insignia|{{#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">
 
{| class="honor-infobox"
 
{| class="honor-infobox"

Revision as of 19:01, 31 January 2021

This template creates an infobox for an honor.

TODO

  • Fix broken things

Example

{{Template:Honor infobox
|honorname=Aboriginal Lore
|skill=1
|year=2001
|category=Arts, Crafts and Hobbies
|authority=General Conference
|insignia=Aboriginallore.png
}}


Aboriginal Lore
Arts, Crafts and Hobbies
[[File:|170px|link=|alt=|]]
Skill Level
123
Approval authority
Year of Introduction

2001

Part of

Artisan Master Award%|%[[AY Honors/Make Believe Master Award|]]%|%[[AY Honors/Just For Test Master Award|]]%|%