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

De Inkipédia
Aucun résumé des modifications
 
(GashomySplat a déplacé la page Modèle:Flag vers Modèle:Drapeau)
Ligne 1 : Ligne 1 :
<includeonly>[[File:Flag{{#switch: {{{1}}}
#REDIRECTION [[Modèle:Drapeau]]
|au=Australia
|br=Brazil
|ca=Canada
|cn=China
|de=Germany
|es=Spain
|eu=Europe
|ie=Ireland
|il=Israel
|it=Italy
|fr=France
|jp=Japan
|kr=South Korea
|mx=Mexico
|nl=Netherlands
|pt=Portugal
|qc=Quebec
|ro=Romania
|ru=Russia
|se=Sweden
|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}}
|-
|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
|KR
|{{flag|kr}}
|-
|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.

Version du 22 juillet 2016 à 11:05

Rediriger vers :