Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
(Conditionally superimpose Not Available at AdventSource over image)
Line 26: Line 26:
 
|colspan="2" style="font-size:1.6rem; font-weight: bold;"|{{{honorname}}}
 
|colspan="2" style="font-size:1.6rem; font-weight: bold;"|{{{honorname}}}
 
|-
 
|-
|colspan="2" style="padding: .5rem 2rem;" |[[File:{{{insignia}}}|100px]]
+
|colspan="2" style="padding: .5rem 2rem;"|
 +
{{#if:{{{insignia_source|}}}
 +
  |{{Superimpose
 +
      | base = {{{insignia|No_Patch.png}}}
 +
      | base_width = 150px
 +
      | float = Not available at AdventSource.png
 +
      | float_width = 170px
 +
      | align=center
 +
      | x = 0
 +
      | y = 30
 +
    }}
 +
  |{{Superimpose
 +
      | base = {{{insignia|No_Patch.png}}}
 +
      | base_width = 150px
 +
      | align=center
 +
    }}
 +
}}
 
|-
 
|-
 
|colspan="2" style="padding: 0 0 .5rem 0; font-size: 1.5rem;" |<span style="color:\
 
|colspan="2" style="padding: 0 0 .5rem 0; font-size: 1.5rem;" |<span style="color:\

Revision as of 23:41, 11 January 2021

This template creates an infobox for an honor.

TODO

  • Fix broken things

Example

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