Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
Line 32: Line 32:
 
|-
 
|-
 
|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="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;">Category</span><br>{{{category}}}
 
|-
 
|-
 
|colspan="2" style="padding: .5rem 2rem;"|
 
|colspan="2" style="padding: .5rem 2rem;"|
Line 55: Line 57:
 
|colspan="2" style="padding: 0 0 .5rem 0; font-size: 1.5rem;" |<span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; color: white; background-color:\
 
|colspan="2" style="padding: 0 0 .5rem 0; font-size: 1.5rem;" |<span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; color: white; background-color:\
 
{{SkillColor|skill={{{skill}}}|star=1}};">1</span> <span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; color: white; background-color: {{SkillColor|skill={{{skill}}}|star=2}};">2</span> <span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; color: white; background-color: {{SkillColor|skill={{{skill}}}|star=3}};">3</span>
 
{{SkillColor|skill={{{skill}}}|star=1}};">1</span> <span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; color: white; background-color: {{SkillColor|skill={{{skill}}}|star=2}};">2</span> <span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; color: white; background-color: {{SkillColor|skill={{{skill}}}|star=3}};">3</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;">Category</span><br>{{{category}}}
 
 
|-
 
|-
 
| 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}}}

Revision as of 22:06, 14 January 2021


This template creates an infobox for an honor.

TODO

  • Fix broken things

Example

<nowiki>{{</wnowiki>Template:Honor infobox
|honorname=Aboriginal Lore
|skill=1
|year=2001
|category=Arts and Crafts
|authority=General Conference
|insignia=Aboriginallore.png
}}



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

[[AY Honors/Pretend Master Award|]]%|%