Difference between revisions of "Template:Honor infobox"
From Pathfinder Wiki
DesignerThan (talk | contribs) (changed font color of the skill level numbers to white) |
DesignerThan (talk | contribs) (style in developement) |
||
Line 25: | Line 25: | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
− | <includeonly>{| style="text-align: center; box-shadow: 5px 5px 10px rgba(0,0,0, .3); border-radius: 10px; margin-bottom: 0;" | + | <includeonly>{| style="text-align: center; box-shadow: 5px 5px 10px rgba(0,0,0, .3); border-radius: 10px; margin-bottom: 0; border-collapse: inherit; border-spacing:.5em;" |
|- | |- | ||
|colspan="2" style="font-size:1.6rem; font-weight: bold;"|{{{honorname}}} | |colspan="2" style="font-size:1.6rem; font-weight: bold;"|{{{honorname}}} | ||
Line 52: | Line 52: | ||
{{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;">Part of</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;">Year of Introduction</span><br>{{{year|Unknown}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
<includeonly> | <includeonly> | ||
<noinclude></translate></noinclude> | <noinclude></translate></noinclude> |
Revision as of 03:12, 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