Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
(Undo revision 319993 by Jomegat (talk))
Tag: Undo
Line 61: Line 61:
 
| style="box-shadow: inset 0 0 5px rgba(0,0,0,.4); border-radius:10px; padding:.5em;" class="text-light bg-secondary" | <span style="font-size: 1rem; font-weight: bold;">Approval authority</span><br>{{{authority|Unknown}}}
 
| style="box-shadow: inset 0 0 5px rgba(0,0,0,.4); border-radius:10px; padding:.5em;" class="text-light bg-secondary" | <span style="font-size: 1rem; font-weight: bold;">Approval authority</span><br>{{{authority|Unknown}}}
 
| style="box-shadow: inset 0 0 5px rgba(0,0,0,.4); border-radius:10px; padding:.5em;" class="text-light bg-secondary" | <span style="font-size: 1rem; font-weight: bold;">Year of Introduction</span><br>{{{year|Unknown}}}
 
| style="box-shadow: inset 0 0 5px rgba(0,0,0,.4); border-radius:10px; padding:.5em;" class="text-light bg-secondary" | <span style="font-size: 1rem; font-weight: bold;">Year of Introduction</span><br>{{{year|Unknown}}}
{{#varexists:master|{{!}}-
+
{{#if:{{#var:master}}|{{!}}-
 
{{!}}colspan="2" style="box-shadow: inset 0 0 5px rgba(0,0,0,.4); border-radius:10px; padding:.5em;" class="text-light bg-secondary"  {{!}}<span style="font-size: 1rem; font-weight: bold;">Part of</span>
 
{{!}}colspan="2" style="box-shadow: inset 0 0 5px rgba(0,0,0,.4); border-radius:10px; padding:.5em;" class="text-light bg-secondary"  {{!}}<span style="font-size: 1rem; font-weight: bold;">Part of</span>
 
{{#var:master}}
 
{{#var:master}}

Revision as of 05:29, 16 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 and Crafts
|authority=General Conference
|insignia=Aboriginallore.png
}}



Aboriginal Lore
Category
Arts, Crafts and Hobbies
Skill Level
1 2 3
Approval authority
General Conference
Year of Introduction
2001
Part of

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