Anonyme

« Modèle:Flag » : différence entre les versions

De Inkipédia
Copie du Modèle:Flag
m (1 révision importée : http://splatoonwiki.org/wiki/Level)
(Copie du Modèle:Flag)
Balise : Contenu remplacé
 
Ligne 1 : Ligne 1 :
<includeonly>[[File:Flag{{#switch: {{{1}}}
<includeonly>{{#invoke:Flag|main}}</includeonly><noinclude>
|au=Australia
Template invocation of [[Module:Flag]].
|br=Brazil
 
|ca=Canada
{{:Module:Flag/doc}}
|cn=China
</noinclude>
|de=Germany
|es=Spain
|eu=Europe
|ie=Ireland
|il=Israel
|it=Italy
|fr=France
|jp=Japan
|mx=Mexico
|nl=Netherlands
|kp=North Korea
|pt=Portugal
|qc=Quebec
|ro=Romania
|ru=Russia
|se=Sweden
|sk=South Korea
|uk=United Kingdom
|us=USA
}}.svg{{!}}{{{2|20x20}}}px|link=]]</includeonly><noinclude>
==Documentation==
{{t|flag|[[wikipedia:ISO 3166-1|2 letter abbreviation]]|size}}
Size is 20x20 by default. px is not necessary.
===Current regions supported===
{| class="wikitable sortable"
|-
!scope="col"| Region name
!scope="col"| ISO 3166-1 code
!scope="col"| Output
|-
|Australia
|AU
|{{flag|au}}
|-
|Brazil
|BR
|{{flag|br}}
|-
|Canada
|CA
|{{flag|ca}}
|-
|China
|CN
|{{flag|cn}}
|-
|Europe
|EU
|{{flag|eu}}
|-
|France
|FR
|{{flag|fr}}
|-
|Germany
|DE
|{{flag|de}}
|-
|Ireland
|IE
|{{flag|ie}}
|-
|Israel
|IL
|{{flag|il}}
|-
|Italy
|IT
|{{flag|it}}
|-
|Japan
|JP
|{{flag|jp}}
|-
|Mexico
|MX
|{{flag|mx}}
|-
|Netherlands
|NL
|{{flag|nl}}
|-
|North Korea
|KP
|{{flag|kp}}
|-
|Portugal
|PT
|{{flag|pt}}
|-
|Quebec
|{{explain|Quebec does not have an ISO 3166-1 code; its Canadian postal abbreviation has been used instead.|QC}}
|{{flag|qc}}
|-
|Romania
|RO
|{{flag|ro}}
|-
|Russia
|RU
|{{flag|ru}}
|-
|Spain
|ES
|{{flag|es}}
|-
|South Korea
|SK
|{{flag|sk}}
|-
|Sweden
|SE
|{{flag|se}}
|-
|United Kingdom
|UK
|{{flag|uk}}
|-
|United States
|US
|{{flag|us}}
|}
Uploading .svg files of country flags and adding them here is allowed. Optionally, you can ask [[Project:Staff|a staff member]] or user to upload and add a flag.
709

modifications