Difference between revisions of "Template:Honor infobox"

From Pathfinder Wiki
(changed the dumbbells to numbers)
(changed font color of the skill level numbers to white)
Line 49: Line 49:
 
!colspan="2" style="text-align: center; font-size: 1rem; font-weight: bold;" |Skill Level
 
!colspan="2" style="text-align: center; font-size: 1rem; font-weight: bold;" |Skill Level
 
|-
 
|-
|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; 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; background-color: {{SkillColor|skill={{{skill}}}|star=2}};">2</span> <span style="display: inline-block; line-height: 1.5em; width: 1.5em; border-radius: 4em; 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="text-align: center; font-size: 1rem; font-weight: bold;" |Part of
 
!colspan="2" style="text-align: center; font-size: 1rem; font-weight: bold;" |Part of

Revision as of 02:22, 12 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