Template:Shield: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative;">{{#ifeq: {{{1}}} | FS | <span style="color: #880000; font-family: hwygothic; font-size: 16px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}| | <includeonly><div style="position: relative;">{{#ifeq: {{{1}}} | FS | <span style="color: #880000; font-family: hwygothic; font-size: 16px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|9}}px; top: 3px;">{{{2}}}</span>[[File:Fsa shield blank.png|36px|link=]] | {{{2}}} }} | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude>To use, define the three primary parameters for the shield: | <noinclude>To use, define the three primary parameters for the shield: | ||
Line 5: | Line 5: | ||
#The territory name should be FS for Federal States | #The territory name should be FS for Federal States | ||
#The number is the number to display on the shield | #The number is the number to display on the shield | ||
#The offset is to align the number within the shield from the left margin; FS default is | #The offset is to align the number within the shield from the left margin; FS default is 9 | ||
[[Category:Formatting and function templates]]</noinclude> | [[Category:Formatting and function templates]]</noinclude> |
Revision as of 14:59, 31 July 2022
To use, define the three primary parameters for the shield:
{{Shield|territory|number|offset}}
- The territory name should be FS for Federal States
- The number is the number to display on the shield
- The offset is to align the number within the shield from the left margin; FS default is 9