Difference between revisions of "Template:Flag/doc"
From Nookipedia, the Animal Crossing wiki
m (Edited text to match Wikipedia standards.) |
m (Added Norway and New Zealand) |
||
Line 38: | Line 38: | ||
* {{Flag|MEX}} <code>MEX</code> for {{wp|Mexico}} | * {{Flag|MEX}} <code>MEX</code> for {{wp|Mexico}} | ||
* {{Flag|NLD}} <code>NLD</code> for the {{wp|Netherlands}} | * {{Flag|NLD}} <code>NLD</code> for the {{wp|Netherlands}} | ||
+ | * {{Flag|NOR}} <code>NOR</code> for the Kingdom of {{wp|Norway}} | ||
+ | * {{Flag|NZL}} <code>NZL</code> for the Kingdom of {{wp|New Zealand}} | ||
* {{Flag|PER}} <code>PER</code> for the Republic of {{wp|Peru}} | * {{Flag|PER}} <code>PER</code> for the Republic of {{wp|Peru}} | ||
* {{Flag|PHL}} <code>PHL</code> for the Republic of the {{wp|Philippines}} | * {{Flag|PHL}} <code>PHL</code> for the Republic of the {{wp|Philippines}} |
Revision as of 11:21, September 20, 2023
Usage
{{Flag|<ISO Alpha 3 country code>|size=}}
This template is designed primarily for use in infoboxes and will create an image of a flag of the country designated in the country code parameter. The image will link to the Wikipedia article about that country and the name of the country will appear as rollover text. This text can be changed with the text
parameter. The size
parameter allows the image size to be specified in pixels. Flags that feature the color white prominently in their designs will automatically appear with a border. To disable this functionality, set the border
parameter to any value (e.g. border=false
).
The currently supported regions and their corresponding ISO Alpha 3 country codes are:
-
WLD
for Worldwide -
ATA
for Antartica -
AUS
for the Commonwealth of Australia -
BEL
for the Kingdom of Belgium -
BRA
for the Federative Republic of Brazil -
CAN
for Canada -
CHL
for the Republic of Chile -
CHN
for the People's Republic of China -
CZE
for the Czech Republic -
DEU
for the Federal Republic of Germany -
DNK
for Denmark -
DZA
for the People's Democratic Republic of Algeria -
EGY
for the Arab Republic of Egypt -
ESP
for the Kingdom of Spain -
EUR
for Europe -
FIN
for the Republic of Finland -
FRA
for France -
GBR
for the United Kingdom -
GRC
for Greece -
HKG
for Hong Kong SAR -
IND
for the Republic of India -
IRL
for Ireland -
ISR
for the State of Israel -
ITA
for the Republic of Italy -
JPN
for Japan -
KEN
for the Republic of Kenya -
KOR
for South Korea -
LUX
for the Grand Duchy of Luxembourg -
MEX
for Mexico -
NLD
for the Netherlands -
NOR
for the Kingdom of Norway -
NZL
for the Kingdom of New Zealand -
PER
for the Republic of Peru -
PHL
for the Republic of the Philippines -
POL
for the Republic of Poland -
PRT
for Portugal -
PRI
for the Commonwealth of Puerto Rico -
RUS
for Russia -
SAU
for the Kingdom of Saudi Arabia -
SGP
for the Republic of Singapore -
SWE
for the Kingdom of Sweden -
THA
for the Kingdom of Thailand -
USA
for the United States of America -
VNM
for the Socialist Republic of Vietnam
The following sub-divisions are also supported using ISO 3166 codes.
Examples
{{Flag|JPN}}
{{Flag|JPN|border=false}}
{{Flag|USA|size=50px}}