Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
Line 25: Line 25:
 
|authority=General Conference
 
|authority=General Conference
 
|insignia=Aboriginallore.png
 
|insignia=Aboriginallore.png
 +
|insignia_source=foo
 
|master=Make Believe
 
|master=Make Believe
 
|master2=Just For Test
 
|master2=Just For Test
Line 42: Line 43:
 
       | base = {{{insignia|No_Patch.png}}}
 
       | base = {{{insignia|No_Patch.png}}}
 
       | base_width = 150px
 
       | base_width = 150px
       | float = {{Template:Translation/Not available at AdventSource{{GetLangSuffix}}}}
+
       | float = {{Template:Translations/Not available at AdventSource{{GetLangSuffix}}}}
 
       | float_width = 170px
 
       | float_width = 170px
 
       | align=center
 
       | align=center
Line 57: Line 58:
 
| colspan="2" class="infobox-value text-light bg-secondary" |<span class="infobox-value-emphasize">Skill Level</span><br>{{Honor infobox/echoSkillLevel | skill={{{skill}}}}}
 
| colspan="2" class="infobox-value text-light bg-secondary" |<span class="infobox-value-emphasize">Skill Level</span><br>{{Honor infobox/echoSkillLevel | skill={{{skill}}}}}
 
|-
 
|-
| class="infobox-value text-light bg-secondary" | <span class="infobox-value-emphasize">Approval authority</span><br>{{:Template:Translations/{{{authority|Unknown}}}{{GetLangSuffix}}}}
+
| class="infobox-value text-light bg-secondary" | <span class="infobox-value-emphasize">{{:Template:Translations/Approval authority{{GetLangSuffix}}}}</span><br>{{:Template:Translations/{{{authority|Unknown}}}{{GetLangSuffix}}}}
| class="infobox-value text-light bg-secondary" | <span class="infobox-value-emphasize">Year of Introduction</span><br>{{{year|{{:Template:Translations/Unknown{{GetLangSuffix}} }} }}}
+
| class="infobox-value text-light bg-secondary" | <span class="infobox-value-emphasize">{{:Template:Translations/Year of Introduction{{GetLangSuffix}}}}</span><br>{{{year|{{:Template:Translations/Unknown{{GetLangSuffix}} }} }}}
 
{{#if:{{#var:master}}|{{!}}-
 
{{#if:{{#var:master}}|{{!}}-
 
{{!}}colspan="2" id="infobox-part-of" class="infobox-value text-light bg-secondary"  {{!}}<span class="infobox-value-emphasize">Part of</span>
 
{{!}}colspan="2" id="infobox-part-of" class="infobox-value text-light bg-secondary"  {{!}}<span class="infobox-value-emphasize">Part of</span>

Revision as of 03:54, 19 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
[[AY Honors/Arts, Crafts and Hobbies|Template:Translations/Arts, Crafts and Hobbies]]
Skill Level
123
Template:Translations/Approval authority
Template:Translations/General Conference
Template:Translations/Year of Introduction
2001
Part of

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