Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
Line 59: Line 59:
 
{{#iferror:{{#expr:1+{{{year|X}}} }}|{{:Template:Translations/Unknown{{GetLangSuffix}}}}|{{{year}}} }}
 
{{#iferror:{{#expr:1+{{{year|X}}} }}|{{:Template:Translations/Unknown{{GetLangSuffix}}}}|{{{year}}} }}
 
{{#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">{{:Template:Translations/Part of{{GetLangSuffix}}}}</span>
 
{{#var:master}}
 
{{#var:master}}
 
}}
 
}}

Revision as of 01:51, 26 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]]
Template:Translations/Skill Level
123
Template:Translations/Approval authority
Template:Translations/General Conference
Template:Translations/Year of Introduction

2001

Template:Translations/Part of

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