Template:Flag: Difference between revisions

From Inkipedia, the Splatoon wiki
(added Canada flag)
No edit summary
Line 1: Line 1:
[[File:Flag{{#switch: {{{1}}}
[[File:Flag{{#switch: {{{1}}}
|ca=Canada
|eu=Europe
|ie=Ireland
|jp=Japan
|pt=Portugal
|pt=Portugal
|jp=Japan
|se=Sweden
|eu=Europe
|uk=United Kingdom
|us=USA
|us=USA
|ie=Ireland
|ca=Canada
}}.svg{{!}}{{{2|20x20}}}px|link=]]<noinclude>
}}.svg{{!}}{{{2|20x20}}}px|link=]]<noinclude>


==Documentation==
==Documentation==
{{t|flag|2 letter abbreviation|size}}
{{t|flag|[[wikipedia:ISO 3166-1|2 letter abbreviation]]|size}}
Size is 20x20 by default. px is not necessary.
Size is 20x20 by default. px is not necessary.
===Current regions supported===
===Current regions supported===
*Portugal - PT
{| class="wikitable sortable"
*Japan - JP
|-
*Europe - EU
!scope="col"| Country name
*United States of America - US
!scope="col"| ISO 3166-1 code
*Ireland - IE
|-
*Canada - CA
|Canada
Uploading .svg files of country flags and adding them here is allowed.
|CA
|-
|Europe
|EU
|-
|Ireland
|IE
|-
|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 [[User talk:Lukey140701|Lukey140701]] to upload and add a flag.

Revision as of 01:44, 3 January 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
Canada CA
Europe EU
Ireland IE
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.