Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
Line 65: Line 65:
 
{{!}}colspan="2" id="infobox-part-of" class="infobox-value text-light bg-secondary"  {{!}}<span class="infobox-value-emphasize">{{Localize|Part of}}</span>
 
{{!}}colspan="2" id="infobox-part-of" class="infobox-value text-light bg-secondary"  {{!}}<span class="infobox-value-emphasize">{{Localize|Part of}}</span>
 
{{#var:master}}
 
{{#var:master}}
 +
{{#vardefine:locSeeAlso|{{User:DesignerThan/MySandbox/SeeAlso|honorname={{{honorname}}}}}}}
 +
{{#if: {{#var:locSeeAlso}}|
 +
<div id="infobox-see-also" class="mw-collapsible mw-collapsed" data-expandtext="show" data-collapsetext="hide"><br>
 +
{{#var:locSeeAlso}}
 +
</div>}}
 
}}
 
}}
 
|-
 
|-

Revision as of 23:07, 1 February 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|]]%|%