Template:Shield: Difference between revisions

From OpenGeofiction
(Testing)
 
m (WM finalizing)
 
(9 intermediate revisions by 2 users not shown)
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}}}|8}}px; top: 3px;">67</span>[[File:Fsa shield blank.png|36px|link=]] | {{{2}}} }}
<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: #FFFFFF; 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: #000000; 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=]]
| TM = <span style="color: #000000; font-family: hwygothic; font-size: 21px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|7}}px; top: 0px;">{{{2}}}</span> [[File:TempacheShield-blank.png|36px|link=]]
| TMw = <span style="color: #000000; font-family: hwygothic; font-size: 18px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|4}}px; top: 0px;">{{{2}}}</span>[[File:TempacheShield-wideblank.png|36px|link=]]
| TM2 = <span style="color: #000000; font-family: hwygothic; font-size: 17px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|4}}px; top: 1px;">{{{2}}}</span>[[File:TempacheShield-secondaryblank.png|36px|link=]]
| WM = <span style="color: #000000; font-family: hwygothic; font-size: 20px; position: absolute; left: {{#if:{{{3|}}}|{{{3}}}|13}}px; top: 1px;">{{{2}}}</span>[[File:WM Shield revised.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>
#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 8
#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>
{{clear}}

Latest revision as of 05:17, 30 January 2024

To use, define the three primary parameters for the shield:

{{Shield|territory|number|offset}}
  1. The territory name should be FS for Federal States
  2. The number is the number to display on the shield
  3. The offset is to align the number within the shield from the left margin; FS default is 9