Template:Shield: Difference between revisions
mNo edit summary |
m (Testing switch) |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative;">{{# | <includeonly><div style="position: relative;">{{#switch: {{{1}}} | ||
</div></includeonly> | | 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=]] | ||
| AW = <span style="color: #F5CC4C; font-family: hwygothic; font-size: 14px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|12}}px; top: 11px;">{{{2}}}</span>[[File:AWshieldBlank.svg|36px|link=]] | |||
| MN = <span style="color: #C60C30; font-family: hwygothic; font-size: 18px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|12}}px; top: 7px;">{{{2}}}</span>[[File:MN StateHwy blank.png|36px|link=]] | |||
| MNe = <span style="color: #FFFFFF; font-family: hwygothic; font-size: 17px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|4}}px; top: 10px;">{{{2}}}</span>[[File:MN Expressway Blank.png|36px|link=]] | |||
| MNt = <span style="color: #000000; font-family: hwygothic; font-size: 17px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|4}}px; top: 10px;">{{{2}}}</span>[[File:MN Turnpike Blank.png|36px|link=]] | |||
| ME = <span style="color: #000000; font-family: hwygothic; font-size: 21px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|6}}px; top: 2px;">{{{2}}}</span>[[File:MennowaShield-blank.svg|36px|link=]] | |||
| ME3 = <span style="color: #000000; font-family: hwygothic; font-size: 18px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|7}}px; top: 3px;">{{{2}}}</span>[[File:MennowaShield-3blank.svg|36px|link=]] | |||
}}</div></includeonly> | |||
<noinclude>To use, define the three primary parameters for the shield: | <noinclude>To use, define the three primary parameters for the shield: | ||
<pre>{{Shield|territory|number|offset}}</pre> | <pre>{{Shield|territory|number|offset}}</pre> |
Revision as of 20:22, 24 August 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