Template:Flag: Difference between revisions

From Inkipedia, the Splatoon wiki
No edit summary
(Added Israel, includeonly'd the template itself, added "output" column to the doc.)
Line 1: Line 1:
[[File:Flag{{#switch: {{{1}}}
<includeonly>[[File:Flag{{#switch: {{{1}}}
|ca=Canada
|ca=Canada
|eu=Europe
|eu=Europe
|ie=Ireland
|ie=Ireland
|il=Israel
|jp=Japan
|jp=Japan
|pt=Portugal
|pt=Portugal
Line 8: Line 9:
|uk=United Kingdom
|uk=United Kingdom
|us=USA
|us=USA
}}.svg{{!}}{{{2|20x20}}}px|link=]]<noinclude>
}}.svg{{!}}{{{2|20x20}}}px|link=]]</includeonly><noinclude>
 
==Documentation==
==Documentation==
{{t|flag|[[wikipedia:ISO 3166-1|2 letter abbreviation]]|size}}
{{t|flag|[[wikipedia:ISO 3166-1|2 letter abbreviation]]|size}}
Line 18: Line 18:
!scope="col"| Country name
!scope="col"| Country name
!scope="col"| ISO 3166-1 code
!scope="col"| ISO 3166-1 code
!scope="col"| Output
|-
|-
|Canada
|Canada
|CA
|CA
|{{flag|ca}}
|-
|-
|Europe
|Europe
|EU
|EU
|{{flag|eu}}
|-
|-
|Ireland
|Ireland
|IE
|IE
|{{flag|ie}}
|-
|Israel
|IL
|{{flag|il}}
|-
|-
|Japan
|Japan
|JP
|JP
|{{flag|jp}}
|-
|-
|Portugal
|Portugal
|PT
|PT
|{{flag|pt}}
|-
|-
|Sweden
|Sweden
|SE
|SE
|{{flag|se}}
|-
|-
|United Kingdom
|United Kingdom
|UK
|UK
|{{flag|uk}}
|-
|-
|United States of America
|United States of America
|US
|US
|{{flag|us}}
|}
|}
Uploading .svg files of country flags and adding them here is allowed. Optionally, you can ask [[User talk:Lukey140701|Lukey140701]] to upload and add a flag.
Uploading .svg files of country flags and adding them here is allowed. Optionally, you can ask [[User talk:Lukey140701|Lukey140701]] to upload and add a flag.

Revision as of 00:37, 9 May 2016

Documentation

{{flag|<2 letter abbreviation>|<size>}} Size is 20x20 by default. px is not necessary.

Current regions supported

Country name ISO 3166-1 code Output
Canada CA
Europe EU
Ireland IE
Israel IL
Japan JP
Portugal PT
Sweden SE
United Kingdom UK
United States of America US

Uploading .svg files of country flags and adding them here is allowed. Optionally, you can ask Lukey140701 to upload and add a flag.