Difference between revisions of "Template:Flag/doc"
Jump to navigation
Jump to search
(38 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Template:Flag''' displays a flag icon | + | '''Template:Flag''' displays a flag icon. |
== Usage == | == Usage == | ||
− | <code><nowiki>{{flag|</nowiki>'''<nowiki> | + | <code><nowiki>{{flag|</nowiki>'''<nowiki>1</nowiki>'''<nowiki>}}</nowiki></code> |
− | === | + | === 1 === |
− | This is the only parameter in the template and is used for defining which country's | + | This is the only parameter in the template and is used for defining which country's flag will be shown. |
− | + | * All valid settings for flags are listed in the tables below | |
− | * | + | * This parameter is case-insensitive. |
− | + | ||
− | |||
− | * | ||
== Examples == | == Examples == | ||
− | {| class="wikitable" style="text-align: center | + | {| class="wikitable" style="text-align: center;" |
− | + | | style="background-color:#ecfcf4;border-top:hidden;border-left:hidden" | | |
− | ! | + | ! You type |
+ | ! You get | ||
|- | |- | ||
− | + | ! style="font-weight:normal" | ''Full name'' | |
− | | <code><nowiki>{{flag| | + | | <code><nowiki>{{flag|United Nations}}</nowiki></code> |
− | + | | {{flag|United Nations}} | |
− | |||
− | | {{flag| | ||
− | |||
|- | |- | ||
− | + | ! style="font-weight:normal" | ''Alternate name'' | |
− | | <code><nowiki>{{flag| | + | | <code><nowiki>{{flag|world}}</nowiki></code> |
− | + | | {{flag|world}} | |
− | |||
− | | {{flag| | ||
− | |||
|- | |- | ||
− | | style=" | + | ! style="font-weight:normal" | ''Abbreviation'' |
+ | | <code><nowiki>{{flag|un}}</nowiki></code> | ||
+ | | {{flag|un}} | ||
+ | |- | ||
+ | ! style="font-weight:normal" | ''No parameter'' | ||
+ | | <code><nowiki>{{flag|}}</nowiki></code> | ||
+ | | {{flag|}} | ||
+ | |- | ||
+ | ! style="font-weight:normal" | ''Invalid parameter'' | ||
| <code><nowiki>{{flag|invalid}}</nowiki></code> | | <code><nowiki>{{flag|invalid}}</nowiki></code> | ||
− | |||
− | |||
| {{flag|invalid}} | | {{flag|invalid}} | ||
− | |||
|} | |} | ||
== Valid settings == | == Valid settings == | ||
− | + | === Note: United Kingdom flags === | |
− | + | The individual flags of {{flag|uken}} England, {{flag|ukni}} Northern Ireland, {{flag|uksc}} Scotland, and {{flag|ukwa}} Wales should take preference in '''all possible circumstances''' over the {{flag|uk}} United Kingdom flag. | |
− | == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | The individual flags of | ||
− | |||
− | |||
{| class=wikitable style="width: 100%; text-align: center;" | {| class=wikitable style="width: 100%; text-align: center;" | ||
− | |[[Template:Flag#A | A]] · [[Template:Flag#B | B]] · [[Template:Flag#C | C]] · [[Template:Flag#D | D]] · [[Template:Flag#E | E]] · [[Template:Flag#F | F]] · [[Template:Flag#G | G]] · [[Template:Flag#H | H]] · [[Template:Flag#I | I]] · [[Template:Flag#J | J]] · [[Template:Flag#K | K]] · [[Template:Flag#L | L]] · [[Template:Flag#M | M]] · [[Template:Flag#N | N]] · [[Template:Flag#O | O]] · [[Template:Flag#P | P]] · [[Template:Flag#Q | Q]] · [[Template:Flag#R | R]] · [[Template:Flag#S | S]] · [[Template:Flag#T | T]] · [[Template:Flag#U | U]] · [[Template:Flag#V | V]] · [[Template:Flag#W | W]] · [[Template:Flag#X | X]] · [[Template:Flag#Y | Y]] · [[Template:Flag#Z | Z]] | + | |[[Template:Flag#Miscellaneous | Misc]] · [[Template:Flag#A | A]] · [[Template:Flag#B | B]] · [[Template:Flag#C | C]] · [[Template:Flag#D | D]] · [[Template:Flag#E | E]] · [[Template:Flag#F | F]] · [[Template:Flag#G | G]] · [[Template:Flag#H | H]] · [[Template:Flag#I | I]] · [[Template:Flag#J | J]] · [[Template:Flag#K | K]] · [[Template:Flag#L | L]] · [[Template:Flag#M | M]] · [[Template:Flag#N | N]] · [[Template:Flag#O | O]] · [[Template:Flag#P | P]] · [[Template:Flag#Q | Q]] · [[Template:Flag#R | R]] · [[Template:Flag#S | S]] · [[Template:Flag#T | T]] · [[Template:Flag#U | U]] · [[Template:Flag#V | V]] · [[Template:Flag#W | W]] · [[Template:Flag#X | X]] · [[Template:Flag#Y | Y]] · [[Template:Flag#Z | Z]] |
|} | |} | ||
− | {| class=wikitable style="align: center;" | + | {{Box|start|padding=1em}} |
− | + | === Miscellaneous === | |
− | + | {| class="wikitable" style="text-align: center;" | |
− | |||
|- | |- | ||
− | | style=" | + | | style="width: 29px;" | {{flag|asean}} |
− | | | + | | style="width: 44px;" | [[Template:Flag/asean|<code>asean</code>]] |
+ | | style="width: 160px;" | [[Template:Flag/asean|ASEAN]] | ||
|- | |- | ||
− | | | + | | rowspan=2 | {{flag|ukus}} |
− | | | + | | [[Template:Flag/ukus|<code>ukus</code>]] |
+ | | rowspan=2 | [[Template:Flag/english language|English Language]] | ||
+ | |- | ||
+ | | [[Template:Flag/usuk|<code>usuk</code>]] | ||
+ | |- | ||
+ | | rowspan=2 | {{flag|eu}} | ||
+ | | rowspan=2 | [[Template:Flag/eu|<code>eu</code>]] | ||
+ | | [[Template:Flag/europe|Europe]] | ||
+ | |- | ||
+ | | [[Template:Flag/european union|European Union]] | ||
+ | |- | ||
+ | | {{flag|nam}} | ||
+ | | [[Template:Flag/nam|<code>nam</code>]] | ||
+ | | [[Template:Flag/north america|North America]] | ||
+ | |- | ||
+ | | rowspan=4 | {{flag|aunz}} | ||
+ | | rowspan=3 | [[Template:Flag/aunz|<code>aunz</code>]] | ||
+ | | [[Template:Flag/australasia|Australasia]] | ||
+ | |- | ||
+ | | [[Template:Flag/oceania|Oceania]] | ||
+ | |- | ||
+ | | [[Template:Flag/australia/new zealand|Australia/New Zealand]] | ||
+ | |- | ||
+ | | [[Template:Flag/nzau|<code>nzau</code>]] | ||
+ | | [[Template:Flag/new zealand/australia|New Zealand/Australia]] | ||
+ | |- | ||
+ | | {{flag|sam}} | ||
+ | | [[Template:Flag/sam|<code>sam</code>]] | ||
+ | | [[Template:Flag/south america|South America]] | ||
+ | |- | ||
+ | | rowspan=4 | {{flag|un}} | ||
+ | | rowspan=4 | [[Template:Flag/un|<code>un</code>]] | ||
+ | | [[Template:Flag/united nations|United Nations]] | ||
+ | |- | ||
+ | | [[Template:Flag/global|Global]] | ||
+ | |- | ||
+ | | [[Template:Flag/international|International]] | ||
+ | |- | ||
+ | | [[Template:Flag/world|World]] | ||
+ | |- | ||
+ | | {{flag|}} | ||
+ | | [[Template:Flag/|<code></code>]] | ||
+ | | [[Template:Flag/unknown|Unknown]] | ||
|} | |} | ||
− | {{Box| | + | {{Box|break|padding=1em}} |
+ | |||
=== A === | === A === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
| style="width: 29px;" | {{flag|af}} | | style="width: 29px;" | {{flag|af}} | ||
− | | style=" | + | | style="width: 44px;" | [[Template:Flag/af|<code>af</code>]] |
− | | style=" | + | | style="width: 160px" | [[Template:Flag/afghanistan|Afghanistan]] |
|- | |- | ||
| {{flag|al}} | | {{flag|al}} | ||
− | | <code>al</code> | + | | [[Template:Flag/al|<code>al</code>]] |
− | | Albania | + | | [[Template:Flag/albania|Albania]] |
|- | |- | ||
| {{flag|dz}} | | {{flag|dz}} | ||
− | | <code>dz</code> | + | | [[Template:Flag/dz|<code>dz</code>]] |
− | | Algeria | + | | [[Template:Flag/algeria|Algeria]] |
|- | |- | ||
| {{flag|ad}} | | {{flag|ad}} | ||
− | | <code>ad</code> | + | | [[Template:Flag/ad|<code>ad</code>]] |
− | | Andorra | + | | [[Template:Flag/andorra|Andorra]] |
|- | |- | ||
| {{flag|ao}} | | {{flag|ao}} | ||
− | | <code>ao</code> | + | | [[Template:Flag/ao|<code>ao</code>]] |
− | | Angola | + | | [[Template:Flag/angola|Angola]] |
|- | |- | ||
| {{flag|ag}} | | {{flag|ag}} | ||
− | | <code>ag</code> | + | | [[Template:Flag/ag|<code>ag</code>]] |
− | | Antigua and Barbuda | + | | [[Template:Flag/antigua and barbuda|Antigua and Barbuda]] |
|- | |- | ||
| {{flag|ar}} | | {{flag|ar}} | ||
− | | <code>ar</code> | + | | [[Template:Flag/ar|<code>ar</code>]] |
− | | Argentina | + | | [[Template:Flag/argentina|Argentina]] |
|- | |- | ||
| {{flag|am}} | | {{flag|am}} | ||
− | | <code>am</code> | + | | [[Template:Flag/am|<code>am</code>]] |
− | | Armenia | + | | [[Template:Flag/armenia|Armenia]] |
|- | |- | ||
| {{flag|au}} | | {{flag|au}} | ||
− | | <code>au</code> | + | | [[Template:Flag/|<code>au</code>]] |
− | | Australia | + | | [[Template:Flag/australia|Australia]] |
|- | |- | ||
| {{flag|at}} | | {{flag|at}} | ||
− | | <code>at</code> | + | | [[Template:Flag/at|<code>at</code>]] |
− | | Austria | + | | [[Template:Flag/austria|Austria]] |
|- | |- | ||
| {{flag|az}} | | {{flag|az}} | ||
− | | <code>az</code> | + | | [[Template:Flag/az|<code>az</code>]] |
− | | Azerbaijan | + | | [[Template:Flag/azerbaijan|Azerbaijan]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== B === | === B === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
− | | style="width: 29px;" | {{flag|bs}} | + | | rowspan=2 style="width: 29px;" | {{flag|bs}} |
− | | style="width: 44px;" | <code>bs</code> | + | | rowspan=2 style="width: 44px;" | [[Template:Flag/bs|<code>bs</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/bahamas|Bahamas]] |
+ | |- | ||
+ | | [[Template:Flag/the bahamas|The Bahamas]] | ||
|- | |- | ||
| {{flag|bh}} | | {{flag|bh}} | ||
− | | <code>bh</code> | + | | [[Template:Flag/bh|<code>bh</code>]] |
− | | Bahrain | + | | [[Template:Flag/bahrain|Bahrain]] |
|- | |- | ||
| {{flag|bd}} | | {{flag|bd}} | ||
− | | <code>bd</code> | + | | [[Template:Flag/bd|<code>bd</code>]] |
− | | Bangladesh | + | | [[Template:Flag/bangladesh|Bangladesh]] |
|- | |- | ||
| {{flag|bb}} | | {{flag|bb}} | ||
− | | <code>bb</code> | + | | [[Template:Flag/bb|<code>bb</code>]] |
− | | Barbados | + | | [[Template:Flag/barbados|Barbados]] |
|- | |- | ||
| {{flag|by}} | | {{flag|by}} | ||
− | | <code>by</code> | + | | [[Template:Flag/by|<code>by</code>]] |
− | | Belarus | + | | [[Template:Flag/belarus|Belarus]] |
|- | |- | ||
| {{flag|be}} | | {{flag|be}} | ||
− | | <code>be</code> | + | | [[Template:Flag/be|<code>be</code>]] |
− | | Belgium | + | | [[Template:Flag/belgium|Belgium]] |
|- | |- | ||
| {{flag|bz}} | | {{flag|bz}} | ||
− | | <code>bz</code> | + | | [[Template:Flag/bz|<code>bz</code>]] |
− | | Belize | + | | [[Template:Flag/belize|Belize]] |
|- | |- | ||
| {{flag|bj}} | | {{flag|bj}} | ||
− | | <code>bj</code> | + | | [[Template:Flag/bj|<code>bj</code>]] |
− | | Benin | + | | [[Template:Flag/benin|Benin]] |
|- | |- | ||
| {{flag|bt}} | | {{flag|bt}} | ||
− | | <code>bt</code> | + | | [[Template:Flag/bt|<code>bt</code>]] |
− | | Bhutan | + | | [[Template:Flag/bhutan|Bhutan]] |
|- | |- | ||
| {{flag|bo}} | | {{flag|bo}} | ||
− | | <code>bo</code> | + | | [[Template:Flag/bo|<code>bo</code>]] |
− | | Bolivia | + | | [[Template:Flag/bolivia|Bolivia]] |
|- | |- | ||
| {{flag|ba}} | | {{flag|ba}} | ||
− | | <code>ba</code> | + | | [[Template:Flag/ba|<code>ba</code>]] |
− | | Bosnia and Herzegovina | + | | [[Template:Flag/bosnia and herzegovina|Bosnia and Herzegovina]] |
|- | |- | ||
| {{flag|bw}} | | {{flag|bw}} | ||
− | | <code>bw</code> | + | | [[Template:Flag/bw|<code>bw</code>]] |
− | | Botswana | + | | [[Template:Flag/botswana|Botswana]] |
|- | |- | ||
| {{flag|br}} | | {{flag|br}} | ||
− | | <code>br</code> | + | | [[Template:Flag/br|<code>br</code>]] |
− | | Brazil | + | | [[Template:Flag/brazil|Brazil]] |
|- | |- | ||
| {{flag|bn}} | | {{flag|bn}} | ||
− | | <code>bn</code> | + | | [[Template:Flag/bn|<code>bn</code>]] |
− | | Brunei | + | | [[Template:Flag/brunei|Brunei]] |
|- | |- | ||
| {{flag|bg}} | | {{flag|bg}} | ||
− | | <code>bg</code> | + | | [[Template:Flag/bg|<code>bg</code>]] |
− | | Bulgaria | + | | [[Template:Flag/bulgaria|Bulgaria]] |
|- | |- | ||
| {{flag|bf}} | | {{flag|bf}} | ||
− | | <code>bf</code> | + | | [[Template:Flag/bf|<code>bf</code>]] |
− | | Burkina Faso | + | | [[Template:Flag/burkina faso|Burkina Faso]] |
|- | |- | ||
| {{flag|bi}} | | {{flag|bi}} | ||
− | | <code>bi</code> | + | | [[Template:Flag/bi|<code>bi</code>]] |
− | | Burundi | + | | [[Template:Flag/burundi|Burundi]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== C === | === C === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
| style="width: 29px;" | {{flag|kh}} | | style="width: 29px;" | {{flag|kh}} | ||
− | | style="width: 44px;" | <code>kh</code> | + | | style="width: 44px;" | [[Template:Flag/kh|<code>kh</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/cambodia|Cambodia]] |
|- | |- | ||
| {{flag|cm}} | | {{flag|cm}} | ||
− | | <code>cm</code> | + | | [[Template:Flag/cm|<code>cm</code>]] |
− | | Cameroon | + | | [[Template:Flag/cameroon|Cameroon]] |
|- | |- | ||
| {{flag|ca}} | | {{flag|ca}} | ||
− | | <code>ca</code> | + | | [[Template:Flag/ca|<code>ca</code>]] |
− | | Canada | + | | [[Template:Flag/canada|Canada]] |
+ | |- | ||
+ | | rowspan=2 | {{flag|cv}} | ||
+ | | rowspan=2 | [[Template:Flag/cv|<code>cv</code>]] | ||
+ | | [[Template:Flag/cape verde|Cape Verde]] | ||
|- | |- | ||
− | | | + | | [[Template:Flag/cabo verde|Cabo Verde]] |
− | |||
− | |||
|- | |- | ||
| {{flag|cf}} | | {{flag|cf}} | ||
− | | <code>cf</code> | + | | [[Template:Flag/cf|<code>cf</code>]] |
− | | Central African Republic | + | | [[Template:Flag/central african republic|Central African<br>Republic]] |
|- | |- | ||
| {{flag|td}} | | {{flag|td}} | ||
− | | <code>td</code> | + | | [[Template:Flag/td|<code>td</code>]] |
− | | Chad | + | | [[Template:Flag/chad|Chad]] |
|- | |- | ||
| {{flag|cl}} | | {{flag|cl}} | ||
− | | <code>cl</code> | + | | [[Template:Flag/cl|<code>cl</code>]] |
− | | Chile | + | | [[Template:Flag/chile|Chile]] |
|- | |- | ||
| {{flag|cn}} | | {{flag|cn}} | ||
− | | <code>cn</code> | + | | [[Template:Flag/cn|<code>cn</code>]] |
− | | China | + | | [[Template:Flag/china|China]] |
|- | |- | ||
| {{flag|co}} | | {{flag|co}} | ||
− | | <code>co</code> | + | | [[Template:Flag/co|<code>co</code>]] |
− | | Colombia | + | | [[Template:Flag/colombia|Colombia]] |
|- | |- | ||
| {{flag|km}} | | {{flag|km}} | ||
− | | | + | | [[Template:Flag/km|<code>km</code>]] |
− | + | | [[Template:Flag/comoros|Comoros]] | |
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| {{flag|cr}} | | {{flag|cr}} | ||
− | | <code>cr</code> | + | | [[Template:Flag/cr|<code>cr</code>]] |
− | | Costa Rica | + | | [[Template:Flag/costa rica|Costa Rica]] |
|- | |- | ||
| {{flag|hr}} | | {{flag|hr}} | ||
− | | <code>hr</code> | + | | [[Template:Flag/hr|<code>hr</code>]] |
− | | Croatia | + | | [[Template:Flag/croatia|Croatia]] |
|- | |- | ||
| {{flag|cu}} | | {{flag|cu}} | ||
− | | <code>cu</code> | + | | [[Template:Flag/cu|<code>cu</code>]] |
− | | Cuba | + | | [[Template:Flag/cuba|Cuba]] |
|- | |- | ||
| {{flag|cy}} | | {{flag|cy}} | ||
− | | <code>cy</code> | + | | [[Template:Flag/cy|<code>cy</code>]] |
− | | Cyprus | + | | [[Template:Flag/cyprus|Cyprus]] |
+ | |- | ||
+ | | rowspan=2 | {{flag|cz}} | ||
+ | | rowspan=2 | [[Template:Flag/cz|<code>cz</code>]] | ||
+ | | [[Template:Flag/czech republic|Czech Republic]] | ||
+ | |- | ||
+ | | [[Template:Flag/czechia|Czechia]] | ||
|- | |- | ||
− | | {{flag| | + | | rowspan=2 | {{flag|ci}} |
− | | <code> | + | | rowspan=2 | [[Template:Flag/ci|<code>ci</code>]] |
− | | | + | | [[Template:Flag/côte d'ivoire|Côte d'Ivoire]] |
|- | |- | ||
− | | | + | | [[Template:Flag/ivory coast|Ivory Coast]] |
− | |||
− | |||
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== D === | === D === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
− | | style="width: 29px;" | {{flag| | + | | rowspan=2 style="width: 29px;" | {{flag|cd}} |
− | | style="width: 44px;" | <code> | + | | rowspan=2 style="width: 44px;" | [[Template:Flag/cd|<code>cd</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/democratic republic of the congo|Democratic Republic<br>of the Congo]] |
+ | |- | ||
+ | | [[Template:Flag/zaire|Zaire]] | ||
+ | |- | ||
+ | | {{flag|dk}} | ||
+ | | [[Template:Flag/dk|<code>dk</code>]] | ||
+ | | [[Template:Flag/denmark|Denmark]] | ||
|- | |- | ||
| {{flag|dj}} | | {{flag|dj}} | ||
− | | <code>dj</code> | + | | [[Template:Flag/dj|<code>dj</code>]] |
− | | Djibouti | + | | [[Template:Flag/djibouti|Djibouti]] |
|- | |- | ||
| {{flag|dm}} | | {{flag|dm}} | ||
− | | <code>dm</code> | + | | [[Template:Flag/dm|<code>dm</code>]] |
− | | Dominica | + | | [[Template:Flag/dominica|Dominica]] |
|- | |- | ||
| {{flag|do}} | | {{flag|do}} | ||
− | | <code>do</code> | + | | [[Template:Flag/do|<code>do</code>]] |
− | | Dominican Republic | + | | [[Template:Flag/dominican republic|Dominican Republic]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 299: | Line 319: | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
− | | style="width: 29px;" | {{flag|tl}} | + | | rowspan=2 style="width: 29px;" | {{flag|tl}} |
− | | style="width: 44px; | + | | rowspan=2 style="width: 44px;" | [[Template:Flag/tl|<code>tl</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/east timor|East Timor]] |
+ | |- | ||
+ | | [[Template:Flag/timor-leste|Timor-Leste]] | ||
|- | |- | ||
| {{flag|ec}} | | {{flag|ec}} | ||
− | | <code>ec</code> | + | | [[Template:Flag/ec|<code>ec</code>]] |
− | | Ecuador | + | | [[Template:Flag/ecuador|Ecuador]] |
|- | |- | ||
| {{flag|eg}} | | {{flag|eg}} | ||
− | | <code>eg</code> | + | | [[Template:Flag/eg|<code>eg</code>]] |
− | | Egypt | + | | [[Template:Flag/egypt|Egypt]] |
|- | |- | ||
| {{flag|sv}} | | {{flag|sv}} | ||
− | | <code>sv</code> | + | | [[Template:Flag/sv|<code>sv</code>]] |
− | | El Salvador | + | | [[Template:Flag/el salvador|El Salvador]] |
|- | |- | ||
− | | {{flag|uken}} | + | | rowspan=2 | {{flag|uken}} |
− | | <code>uken</code> | + | | [[Template:Flag/uken|<code>uken</code>]] |
− | | | + | | rowspan=2 | [[Template:Flag/england|England]] |
+ | |- | ||
+ | | [[Template:Flag/en|<code>en</code>]] | ||
|- | |- | ||
| {{flag|gq}} | | {{flag|gq}} | ||
− | | <code>gq</code> | + | | [[Template:Flag/gq|<code>gq</code>]] |
− | | Equatorial Guinea | + | | [[Template:Flag/equatorial guinea|Equatorial Guinea]] |
|- | |- | ||
| {{flag|er}} | | {{flag|er}} | ||
− | | <code>er</code> | + | | [[Template:Flag/er|<code>er</code>]] |
− | | Eritrea | + | | [[Template:Flag/eritrea|Eritrea]] |
|- | |- | ||
| {{flag|ee}} | | {{flag|ee}} | ||
− | | <code>ee</code> | + | | [[Template:Flag/ee|<code>ee</code>]] |
− | | Estonia | + | | [[Template:Flag/estonia|Estonia]] |
+ | |- | ||
+ | | rowspan=2 | {{flag|sz}} | ||
+ | | rowspan=2 | [[Template:Flag/sz|<code>sz</code>]] | ||
+ | | [[Template:Flag/eswatini|Eswatini]] | ||
|- | |- | ||
− | | | + | | [[Template:Flag/swaziland|Swaziland]] |
− | |||
− | |||
|- | |- | ||
| {{flag|et}} | | {{flag|et}} | ||
− | | <code>et</code> | + | | [[Template:Flag/et|<code>et</code>]] |
− | | | + | | [[Template:Flag/ethiopia|Ethiopia]] |
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== F === | === F === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|fj}} | | style="width: 29px;" | {{flag|fj}} | ||
− | | style="width: 44px;" | <code>fj</code> | + | | style="width: 44px;" | [[Template:Flag/fj|<code>fj</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/fiji|Fiji]] |
|- | |- | ||
| {{flag|fi}} | | {{flag|fi}} | ||
− | | <code>fi</code> | + | | [[Template:Flag/fi|<code>fi</code>]] |
− | | Finland | + | | [[Template:Flag/finland|Finland]] |
|- | |- | ||
| {{flag|fr}} | | {{flag|fr}} | ||
− | | <code>fr</code> | + | | [[Template:Flag/fr|<code>fr</code>]] |
− | | France | + | | [[Template:Flag/france|France]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 364: | Line 387: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|ga}} | | style="width: 29px;" | {{flag|ga}} | ||
− | | style="width: 44px;" | <code>ga</code> | + | | style="width: 44px;" | [[Template:Flag/ga|<code>ga</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/gabon|Gabon]] |
|- | |- | ||
− | | {{flag|gm}} | + | | rowspan=2 | {{flag|gm}} |
− | | <code>gm</code> | + | | rowspan=2 | [[Template:Flag/gm|<code>gm</code>]] |
− | | Gambia | + | | [[Template:Flag/the gambia|The Gambia]] |
+ | |- | ||
+ | | [[Template:Flag/gambia|Gambia]] | ||
|- | |- | ||
| {{flag|ge}} | | {{flag|ge}} | ||
− | | <code>ge</code> | + | | [[Template:Flag/ge|<code>ge</code>]] |
− | | Georgia | + | | [[Template:Flag/georgia|Georgia]] |
|- | |- | ||
| {{flag|de}} | | {{flag|de}} | ||
− | | <code>de</code> | + | | [[Template:Flag/de|<code>de</code>]] |
− | | Germany | + | | [[Template:Flag/germany|Germany]] |
|- | |- | ||
| {{flag|gh}} | | {{flag|gh}} | ||
− | | <code>gh</code> | + | | [[Template:Flag/gh|<code>gh</code>]] |
− | | Ghana | + | | [[Template:Flag/ghana|Ghana]] |
|- | |- | ||
| {{flag|gr}} | | {{flag|gr}} | ||
− | | <code>gr</code> | + | | [[Template:Flag/gr|<code>gr</code>]] |
− | | Greece | + | | [[Template:Flag/greece|Greece]] |
|- | |- | ||
| {{flag|gl}} | | {{flag|gl}} | ||
− | | <code>gl</code> | + | | [[Template:Flag/gl|<code>gl</code>]] |
− | | | + | | [[Template:Flag/greenland|Greenland]] |
|- | |- | ||
| {{flag|gd}} | | {{flag|gd}} | ||
− | | <code>gd</code> | + | | [[Template:Flag/gd|<code>gd</code>]] |
− | | Grenada | + | | [[Template:Flag/grenada|Grenada]] |
|- | |- | ||
| {{flag|gt}} | | {{flag|gt}} | ||
− | | <code>gt</code> | + | | [[Template:Flag/gt|<code>gt</code>]] |
− | | Guatemala | + | | [[Template:Flag/guatemala|Guatemala]] |
|- | |- | ||
| {{flag|gn}} | | {{flag|gn}} | ||
− | | <code>gn</code> | + | | [[Template:Flag/gn|<code>gn</code>]] |
− | | Guinea | + | | [[Template:Flag/guinea|Guinea]] |
|- | |- | ||
| {{flag|gw}} | | {{flag|gw}} | ||
− | | <code>gw</code> | + | | [[Template:Flag/gw|<code>gw</code>]] |
− | | Guinea-Bissau | + | | [[Template:Flag/guinea-bissau|Guinea-Bissau]] |
|- | |- | ||
| {{flag|gy}} | | {{flag|gy}} | ||
− | | <code>gy</code> | + | | [[Template:Flag/gy|<code>gy</code>]] |
− | | Guyana | + | | [[Template:Flag/guyana|Guyana]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== H === | === H === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|ht}} | | style="width: 29px;" | {{flag|ht}} | ||
− | | style="width: 44px;" | <code>ht</code> | + | | style="width: 44px;" | [[Template:Flag/ht|<code>ht</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/haiti|Haiti]] |
|- | |- | ||
| {{flag|hn}} | | {{flag|hn}} | ||
− | | <code>hn</code> | + | | [[Template:Flag/hn|<code>hn</code>]] |
− | | Honduras | + | | [[Template:Flag/honduras|Honduras]] |
|- | |- | ||
| {{flag|hk}} | | {{flag|hk}} | ||
− | | <code>hk</code> | + | | [[Template:Flag/hk|<code>hk</code>]] |
− | | | + | | [[Template:Flag/hong kong|Hong Kong]] |
|- | |- | ||
| {{flag|hu}} | | {{flag|hu}} | ||
− | | <code>hu</code> | + | | [[Template:Flag/hu|<code>hu</code>]] |
− | | Hungary | + | | [[Template:Flag/hungary|Hungary]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 436: | Line 462: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|is}} | | style="width: 29px;" | {{flag|is}} | ||
− | | style="width: 44px;" | <code>is</code> | + | | style="width: 44px;" | [[Template:Flag/is|<code>is</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/iceland|Iceland]] |
|- | |- | ||
| {{flag|in}} | | {{flag|in}} | ||
− | | <code>in</code> | + | | [[Template:Flag/in|<code>in</code>]] |
− | | India | + | | [[Template:Flag/india|India]] |
|- | |- | ||
| {{flag|id}} | | {{flag|id}} | ||
− | | <code>id</code> | + | | [[Template:Flag/id|<code>id</code>]] |
− | | Indonesia | + | | [[Template:Flag/indonesia|Indonesia]] |
|- | |- | ||
| {{flag|ir}} | | {{flag|ir}} | ||
− | | <code>ir</code> | + | | [[Template:Flag/ir|<code>ir</code>]] |
− | | Iran | + | | [[Template:Flag/iran|Iran]] |
|- | |- | ||
| {{flag|iq}} | | {{flag|iq}} | ||
− | | <code>iq</code> | + | | [[Template:Flag/iq|<code>iq</code>]] |
− | | Iraq | + | | [[Template:Flag/iraq|Iraq]] |
|- | |- | ||
| {{flag|ie}} | | {{flag|ie}} | ||
− | | <code>ie</code> | + | | [[Template:Flag/ie|<code>ie</code>]] |
− | | Ireland | + | | [[Template:Flag/ireland|Ireland]] |
|- | |- | ||
| {{flag|il}} | | {{flag|il}} | ||
− | | <code>il</code> | + | | [[Template:Flag/il|<code>il</code>]] |
− | | Israel | + | | [[Template:Flag/israel|Israel]] |
|- | |- | ||
| {{flag|it}} | | {{flag|it}} | ||
− | | <code>it</code> | + | | [[Template:Flag/it|<code>it</code>]] |
− | | Italy | + | | [[Template:Flag/italy|Italy]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 472: | Line 498: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|jm}} | | style="width: 29px;" | {{flag|jm}} | ||
− | | style="width: 44px;" | <code>jm</code> | + | | style="width: 44px;" | [[Template:Flag/jm|<code>jm</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/jamaica|Jamaica]] |
|- | |- | ||
| {{flag|jp}} | | {{flag|jp}} | ||
− | | <code>jp</code> | + | | [[Template:Flag/jp|<code>jp</code>]] |
− | | Japan | + | | [[Template:Flag/japan|Japan]] |
|- | |- | ||
| {{flag|jo}} | | {{flag|jo}} | ||
− | | <code>jo</code> | + | | [[Template:Flag/jo|<code>jo</code>]] |
− | | Jordan | + | | [[Template:Flag/jordan|Jordan]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 488: | Line 514: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|kz}} | | style="width: 29px;" | {{flag|kz}} | ||
− | | style="width: 44px;" | <code>kz</code> | + | | style="width: 44px;" | [[Template:Flag/kz|<code>kz</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/kazakhstan|Kazakhstan]] |
|- | |- | ||
| {{flag|ke}} | | {{flag|ke}} | ||
− | | <code>ke</code> | + | | [[Template:Flag/ke|<code>ke</code>]] |
− | | Kenya | + | | [[Template:Flag/kenya|Kenya]] |
|- | |- | ||
| {{flag|ki}} | | {{flag|ki}} | ||
− | | <code>ki</code> | + | | [[Template:Flag/ki|<code>ki</code>]] |
− | | Kiribati | + | | [[Template:Flag/kiribati|Kiribati]] |
|- | |- | ||
| {{flag|xk}} | | {{flag|xk}} | ||
− | | <code>xk</code> | + | | [[Template:Flag/xk|<code>xk</code>]] |
− | | | + | | [[Template:Flag/kosovo|Kosovo]] |
|- | |- | ||
| {{flag|kw}} | | {{flag|kw}} | ||
− | | <code>kw</code> | + | | [[Template:Flag/kw|<code>kw</code>]] |
− | | Kuwait | + | | [[Template:Flag/kuwait|Kuwait]] |
|- | |- | ||
| {{flag|kg}} | | {{flag|kg}} | ||
− | | <code>kg</code> | + | | [[Template:Flag/kg|<code>kg</code>]] |
− | | Kyrgyzstan | + | | [[Template:Flag/kyrgyzstan|Kyrgyzstan]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 516: | Line 542: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|la}} | | style="width: 29px;" | {{flag|la}} | ||
− | | style="width: 44px;" | <code>la</code> | + | | style="width: 44px;" | [[Template:Flag/la|<code>la</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/laos|Laos]] |
|- | |- | ||
| {{flag|lv}} | | {{flag|lv}} | ||
− | | <code>lv</code> | + | | [[Template:Flag/lv|<code>lv</code>]] |
− | | Latvia | + | | [[Template:Flag/latvia|Latvia]] |
|- | |- | ||
| {{flag|lb}} | | {{flag|lb}} | ||
− | | <code>lb</code> | + | | [[Template:Flag/lb|<code>lb</code>]] |
− | | Lebanon | + | | [[Template:Flag/lebanon|Lebanon]] |
|- | |- | ||
| {{flag|ls}} | | {{flag|ls}} | ||
− | | <code>ls</code> | + | | [[Template:Flag/ls|<code>ls</code>]] |
− | | Lesotho | + | | [[Template:Flag/lesotho|Lesotho]] |
|- | |- | ||
| {{flag|lr}} | | {{flag|lr}} | ||
− | | <code>lr</code> | + | | [[Template:Flag/lr|<code>lr</code>]] |
− | | Liberia | + | | [[Template:Flag/liberia|Liberia]] |
|- | |- | ||
| {{flag|ly}} | | {{flag|ly}} | ||
− | | <code>ly</code> | + | | [[Template:Flag/ly|<code>ly</code>]] |
− | | Libya | + | | [[Template:Flag/libya|Libya]] |
|- | |- | ||
| {{flag|li}} | | {{flag|li}} | ||
− | | <code>li</code> | + | | [[Template:Flag/li|<code>li</code>]] |
− | | Liechtenstein | + | | [[Template:Flag/liechtenstein|Liechtenstein]] |
|- | |- | ||
| {{flag|lt}} | | {{flag|lt}} | ||
− | | <code>lt</code> | + | | [[Template:Flag/lt|<code>lt</code>]] |
− | | Lithuania | + | | [[Template:Flag/lithuania|Lithuania]] |
|- | |- | ||
| {{flag|lu}} | | {{flag|lu}} | ||
− | | <code>lu</code> | + | | [[Template:Flag/lu|<code>lu</code>]] |
− | | Luxembourg | + | | [[Template:Flag/luxembourg|Luxembourg]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
=== M === | === M === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
+ | |- | ||
+ | | rowspan=2 | {{flag|mo}} | ||
+ | | rowspan=2 | [[Template:Flag/mo|<code>mo</code>]] | ||
+ | | [[Template:Flag/macao|Macao]] | ||
+ | |- | ||
+ | | [[Template:Flag/macao|Macau]] | ||
|- | |- | ||
| style="width: 29px;" | {{flag|mg}} | | style="width: 29px;" | {{flag|mg}} | ||
− | | style="width: 44px;" | <code>mg</code> | + | | style="width: 44px;" | [[Template:Flag/mg|<code>mg</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/madagascar|Madagascar]] |
|- | |- | ||
| {{flag|mw}} | | {{flag|mw}} | ||
− | | <code>mw</code> | + | | [[Template:Flag/mw|<code>mw</code>]] |
− | | Malawi | + | | [[Template:Flag/malawi|Malawi]] |
|- | |- | ||
| {{flag|my}} | | {{flag|my}} | ||
− | | <code>my</code> | + | | [[Template:Flag/my|<code>my</code>]] |
− | | Malaysia | + | | [[Template:Flag/malaysia|Malaysia]] |
|- | |- | ||
| {{flag|mv}} | | {{flag|mv}} | ||
− | | <code>mv</code> | + | | [[Template:Flag/mv|<code>mv</code>]] |
− | | Maldives | + | | [[Template:Flag/maldives|Maldives]] |
|- | |- | ||
| {{flag|ml}} | | {{flag|ml}} | ||
− | | <code>ml</code> | + | | [[Template:Flag/ml|<code>ml</code>]] |
− | | Mali | + | | [[Template:Flag/mali|Mali]] |
|- | |- | ||
| {{flag|mt}} | | {{flag|mt}} | ||
− | | <code>mt</code> | + | | [[Template:Flag/mt|<code>mt</code>]] |
− | | Malta | + | | [[Template:Flag/malta|Malta]] |
|- | |- | ||
| {{flag|mh}} | | {{flag|mh}} | ||
− | | <code>mh</code> | + | | [[Template:Flag/mh|<code>mh</code>]] |
− | | Marshall Islands | + | | [[Template:Flag/marshall islands|Marshall Islands]] |
|- | |- | ||
| {{flag|mr}} | | {{flag|mr}} | ||
− | | <code>mr</code> | + | | [[Template:Flag/mr|<code>mr</code>]] |
− | | Mauritania | + | | [[Template:Flag/mauritania|Mauritania]] |
|- | |- | ||
| {{flag|mu}} | | {{flag|mu}} | ||
− | | <code>mu</code> | + | | [[Template:Flag/mu|<code>mu</code>]] |
− | | Mauritius | + | | [[Template:Flag/mauritius|Mauritius]] |
|- | |- | ||
| {{flag|mx}} | | {{flag|mx}} | ||
− | | <code>mx</code> | + | | [[Template:Flag/mx|<code>mx</code>]] |
− | | Mexico | + | | [[Template:Flag/mexico|Mexico]] |
|- | |- | ||
| {{flag|fm}} | | {{flag|fm}} | ||
− | | <code>fm</code> | + | | [[Template:Flag/fm|<code>fm</code>]] |
− | | Micronesia | + | | [[Template:Flag/micronesia|Micronesia]] |
|- | |- | ||
| {{flag|md}} | | {{flag|md}} | ||
− | | <code>md</code> | + | | [[Template:Flag/md|<code>md</code>]] |
− | | Moldova | + | | [[Template:Flag/moldova|Moldova]] |
|- | |- | ||
| {{flag|mc}} | | {{flag|mc}} | ||
− | | <code>mc</code> | + | | [[Template:Flag/mc|<code>mc</code>]] |
− | | Monaco | + | | [[Template:Flag/monaco|Monaco]] |
|- | |- | ||
| {{flag|mn}} | | {{flag|mn}} | ||
− | | <code>mn</code> | + | | [[Template:Flag/mn|<code>mn</code>]] |
− | | Mongolia | + | | [[Template:Flag/mongolia|Mongolia]] |
|- | |- | ||
| {{flag|me}} | | {{flag|me}} | ||
− | | <code>me</code> | + | | [[Template:Flag/me|<code>me</code>]] |
− | | Montenegro | + | | [[Template:Flag/montenegro|Montenegro]] |
|- | |- | ||
| {{flag|ma}} | | {{flag|ma}} | ||
− | | <code>ma</code> | + | | [[Template:Flag/ma|<code>ma</code>]] |
− | | Morocco | + | | [[Template:Flag/morocco|Morocco]] |
|- | |- | ||
| {{flag|mz}} | | {{flag|mz}} | ||
− | | <code>mz</code> | + | | [[Template:Flag/mz|<code>mz</code>]] |
− | | Mozambique | + | | [[Template:Flag/mozambique|Mozambique]] |
|- | |- | ||
| {{flag|mm}} | | {{flag|mm}} | ||
− | | <code>mm</code> | + | | [[Template:Flag/mm|<code>mm</code>]] |
− | | Myanmar | + | | [[Template:Flag/myanmar|Myanmar]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== N === | === N === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|na}} | | style="width: 29px;" | {{flag|na}} | ||
− | | style="width: 44px; | + | | style="width: 44px;" | [[Template:Flag/na|<code>na</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/namibia|Namibia]] |
|- | |- | ||
| {{flag|nr}} | | {{flag|nr}} | ||
− | | <code>nr</code> | + | | [[Template:Flag/nr|<code>nr</code>]] |
− | | Nauru | + | | [[Template:Flag/nauru|Nauru]] |
|- | |- | ||
| {{flag|np}} | | {{flag|np}} | ||
− | | <code>np</code> | + | | [[Template:Flag/np|<code>np</code>]] |
− | | Nepal | + | | [[Template:Flag/nepal|Nepal]] |
+ | |- | ||
+ | | rowspan=2 | {{flag|nl}} | ||
+ | | rowspan=2 | [[Template:Flag/nl|<code>nl</code>]] | ||
+ | | [[Template:Flag/netherlands|Netherlands]] | ||
|- | |- | ||
− | | | + | | [[Template:Flag/holland|Holland]] |
− | |||
− | |||
|- | |- | ||
| {{flag|nz}} | | {{flag|nz}} | ||
− | | <code>nz</code> | + | | [[Template:Flag/nz|<code>nz</code>]] |
− | | New Zealand | + | | [[Template:Flag/new zealand|New Zealand]] |
|- | |- | ||
| {{flag|ni}} | | {{flag|ni}} | ||
− | | <code>ni</code> | + | | [[Template:Flag/ni|<code>ni</code>]] |
− | | Nicaragua | + | | [[Template:Flag/nicaragua|Nicaragua]] |
|- | |- | ||
| {{flag|ne}} | | {{flag|ne}} | ||
− | | <code>ne</code> | + | | [[Template:Flag/ne|<code>ne</code>]] |
− | | Niger | + | | [[Template:Flag/niger|Niger]] |
|- | |- | ||
| {{flag|ng}} | | {{flag|ng}} | ||
− | | <code>ng</code> | + | | [[Template:Flag/ng|<code>ng</code>]] |
− | | Nigeria | + | | [[Template:Flag/nigeria|Nigeria]] |
|- | |- | ||
| {{flag|kp}} | | {{flag|kp}} | ||
− | | <code>kp</code> | + | | [[Template:Flag/kp|<code>kp</code>]] |
− | | North Korea | + | | [[Template:Flag/north korea|North Korea]] |
+ | |- | ||
+ | | rowspan=2 | {{flag|mk}} | ||
+ | | rowspan=2 | [[Template:Flag/mk|<code>mk</code>]] | ||
+ | | [[Template:Flag/macedonia|Macedonia]] | ||
|- | |- | ||
− | | | + | | [[Template:Flag/north macedonia|North Macedonia]] |
− | |||
− | |||
|- | |- | ||
| {{flag|ukni}} | | {{flag|ukni}} | ||
− | | <code>ukni</code> | + | | [[Template:Flag/ukni|<code>ukni</code>]] |
− | | Northern Ireland | + | | [[Template:Flag/northern ireland|Northern Ireland]] |
|- | |- | ||
| {{flag|no}} | | {{flag|no}} | ||
− | | <code>no</code> | + | | [[Template:Flag/no|<code>no</code>]] |
− | | Norway | + | | [[Template:Flag/norway|Norway]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== O === | === O === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|om}} | | style="width: 29px;" | {{flag|om}} | ||
− | | style="width: 44px;" | <code>om</code> | + | | style="width: 44px;" | [[Template:Flag/om|<code>om</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/oman|Oman]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 692: | Line 730: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|pk}} | | style="width: 29px;" | {{flag|pk}} | ||
− | | style="width: 44px;" | <code>pk</code> | + | | style="width: 44px;" | [[Template:Flag/pk|<code>pk</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/pakistan|Pakistan]] |
|- | |- | ||
| {{flag|pw}} | | {{flag|pw}} | ||
− | | <code>pw</code> | + | | [[Template:Flag/pw|<code>pw</code>]] |
− | | Palau | + | | [[Template:Flag/palau|Palau]] |
|- | |- | ||
| {{flag|ps}} | | {{flag|ps}} | ||
− | | <code>ps</code> | + | | [[Template:Flag/ps|<code>ps</code>]] |
− | | | + | | [[Template:Flag/palestine|Palestine]] |
|- | |- | ||
| {{flag|pa}} | | {{flag|pa}} | ||
− | | <code>pa</code> | + | | [[Template:Flag/pa|<code>pa</code>]] |
− | | Panama | + | | [[Template:Flag/panama|Panama]] |
|- | |- | ||
| {{flag|pg}} | | {{flag|pg}} | ||
− | | <code>pg</code> | + | | [[Template:Flag/pg|<code>pg</code>]] |
− | | Papua New Guinea | + | | [[Template:Flag/papua new guinea|Papua New Guinea]] |
|- | |- | ||
| {{flag|py}} | | {{flag|py}} | ||
− | | <code>py</code> | + | | [[Template:Flag/py|<code>py</code>]] |
− | | Paraguay | + | | [[Template:Flag/paraguay|Paraguay]] |
|- | |- | ||
| {{flag|pe}} | | {{flag|pe}} | ||
− | | <code>pe</code> | + | | [[Template:Flag/pe|<code>pe</code>]] |
− | | Peru | + | | [[Template:Flag/peru|Peru]] |
|- | |- | ||
| {{flag|ph}} | | {{flag|ph}} | ||
− | | <code>ph</code> | + | | [[Template:Flag/ph|<code>ph</code>]] |
− | | Philippines | + | | [[Template:Flag/phillipines|Philippines]] |
|- | |- | ||
| {{flag|pl}} | | {{flag|pl}} | ||
− | | <code>pl</code> | + | | [[Template:Flag/pl|<code>pl</code>]] |
− | | Poland | + | | [[Template:Flag/poland|Poland]] |
|- | |- | ||
| {{flag|pt}} | | {{flag|pt}} | ||
− | | <code>pt</code> | + | | [[Template:Flag/pt|<code>pt</code>]] |
− | | Portugal | + | | [[Template:Flag/portugal|Portugal]] |
|- | |- | ||
| {{flag|pr}} | | {{flag|pr}} | ||
− | | <code>pr</code> | + | | [[Template:Flag/pr|<code>pr</code>]] |
− | | Puerto Rico | + | | [[Template:Flag/puerto rico|Puerto Rico]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 740: | Line 778: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|qa}} | | style="width: 29px;" | {{flag|qa}} | ||
− | | style="width: 44px;" | <code>qa</code> | + | | style="width: 44px;" | [[Template:Flag/qa|<code>qa</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/qatar|Qatar]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 747: | Line 785: | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
− | | style="width: 29px;" | {{flag| | + | | rowspan=2 style="width: 29px;" | {{flag|cg}} |
− | | style="width: 44px;" | <code> | + | | rowspan=2 style="width: 44px;" | [[Template:Flag/cg|<code>cg</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/republic of the congo|Republic of the Congo]] |
+ | |- | ||
+ | | [[Template:Flag/congo|Congo]] | ||
+ | |- | ||
+ | | {{flag|ro}} | ||
+ | | [[Template:Flag/ro|<code>ro</code>]] | ||
+ | | [[Template:Flag/romania|Romania]] | ||
|- | |- | ||
| {{flag|ru}} | | {{flag|ru}} | ||
− | | <code>ru</code> | + | | [[Template:Flag/ru|<code>ru</code>]] |
− | | Russia | + | | [[Template:Flag/russia|Russia]] |
|- | |- | ||
| {{flag|rw}} | | {{flag|rw}} | ||
− | | <code>rw</code> | + | | [[Template:Flag/rw|<code>rw</code>]] |
− | | Rwanda | + | | [[Template:Flag/rwanda|Rwanda]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== S === | === S === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|kn}} | | style="width: 29px;" | {{flag|kn}} | ||
− | | style="width: 44px;" | <code>kn</code> | + | | style="width: 44px;" | [[Template:Flag/kn|<code>kn</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/saint kitts and nevis|Saint Kitts and Nevis]] |
|- | |- | ||
| {{flag|lc}} | | {{flag|lc}} | ||
− | | <code>lc</code> | + | | [[Template:Flag/lc|<code>lc</code>]] |
− | | Saint Lucia | + | | [[Template:Flag/saint lucia|Saint Lucia]] |
|- | |- | ||
| {{flag|vc}} | | {{flag|vc}} | ||
− | | <code>vc</code> | + | | [[Template:Flag/vc|<code>vc</code>]] |
− | | Saint Vincent and the Grenadines | + | | [[Template:Flag/saint vincent and the grenadines|Saint Vincent<br>and the Grenadines]] |
|- | |- | ||
| {{flag|ws}} | | {{flag|ws}} | ||
− | | <code>ws</code> | + | | [[Template:Flag/ws|<code>ws</code>]] |
− | | Samoa | + | | [[Template:Flag/samoa|Samoa]] |
|- | |- | ||
| {{flag|sm}} | | {{flag|sm}} | ||
− | | <code>sm</code> | + | | [[Template:Flag/sm|<code>sm</code>]] |
− | | San Marino | + | | [[Template:Flag/san marino|San Marino]] |
|- | |- | ||
| {{flag|st}} | | {{flag|st}} | ||
− | | <code>st</code> | + | | [[Template:Flag/st|<code>st</code>]] |
− | | Sao Tome and Principe | + | | [[Template:Flag/sao tome and principe|Sao Tome and Principe]] |
|- | |- | ||
| {{flag|sa}} | | {{flag|sa}} | ||
− | | <code>sa</code> | + | | [[Template:Flag/sa|<code>sa</code>]] |
− | | Saudi Arabia | + | | [[Template:Flag/saudi arabia|Saudi Arabia]] |
|- | |- | ||
| {{flag|uksc}} | | {{flag|uksc}} | ||
− | | <code>uksc</code> | + | | [[Template:Flag/uksc|<code>uksc</code>]] |
− | | Scotland | + | | [[Template:Flag/scotland|Scotland]] |
|- | |- | ||
| {{flag|sn}} | | {{flag|sn}} | ||
− | | <code>sn</code> | + | | [[Template:Flag/sn|<code>sn</code>]] |
− | | Senegal | + | | [[Template:Flag/senegal|Senegal]] |
|- | |- | ||
| {{flag|rs}} | | {{flag|rs}} | ||
− | | <code>rs</code> | + | | [[Template:Flag/rs|<code>rs</code>]] |
− | | Serbia | + | | [[Template:Flag/serbia|Serbia]] |
|- | |- | ||
| {{flag|sc}} | | {{flag|sc}} | ||
− | | <code>sc</code> | + | | [[Template:Flag/sc|<code>sc</code>]] |
− | | Seychelles | + | | [[Template:Flag/seychelles|Seychelles]] |
|- | |- | ||
| {{flag|sl}} | | {{flag|sl}} | ||
− | | <code>sl</code> | + | | [[Template:Flag/sl|<code>sl</code>]] |
− | | Sierra Leone | + | | [[Template:Flag/sierra leone|Sierra Leone]] |
|- | |- | ||
| {{flag|sg}} | | {{flag|sg}} | ||
− | | <code>sg</code> | + | | [[Template:Flag/sg|<code>sg</code>]] |
− | | Singapore | + | | [[Template:Flag/singapore|Singapore]] |
|- | |- | ||
| {{flag|sk}} | | {{flag|sk}} | ||
− | | <code>sk</code> | + | | [[Template:Flag/sk|<code>sk</code>]] |
− | | Slovakia | + | | [[Template:Flag/slovakia|Slovakia]] |
|- | |- | ||
| {{flag|si}} | | {{flag|si}} | ||
− | | <code>si</code> | + | | [[Template:Flag/si|<code>si</code>]] |
− | | Slovenia | + | | [[Template:Flag/slovenia|Slovenia]] |
|- | |- | ||
| {{flag|sb}} | | {{flag|sb}} | ||
− | | <code>sb</code> | + | | [[Template:Flag/sb|<code>sb</code>]] |
− | | Soloman Islands | + | | [[Template:Flag/solomon islands|Soloman Islands]] |
|- | |- | ||
| {{flag|so}} | | {{flag|so}} | ||
− | | <code>so</code> | + | | [[Template:Flag/so|<code>so</code>]] |
− | | Somalia | + | | [[Template:Flag/somalia|Somalia]] |
|- | |- | ||
− | | {{flag|za}} | + | | rowspan=2 | {{flag|za}} |
− | | <code>za</code> | + | | [[Template:Flag/za|<code>za</code>]] |
− | | South Africa | + | | rowspan=2 | [[Template:Flag/south africa|South Africa]] |
|- | |- | ||
− | | | + | | [[Template:Flag/rsa|<code>rsa</code>]] |
− | |||
− | |||
|- | |- | ||
| {{flag|kr}} | | {{flag|kr}} | ||
− | | <code>kr</code> | + | | [[Template:Flag/kr|<code>kr</code>]] |
− | | South Korea | + | | [[Template:Flag/south korea|South Korea]] |
|- | |- | ||
| {{flag|ss}} | | {{flag|ss}} | ||
− | | <code>ss</code> | + | | [[Template:Flag/ss|<code>ss</code>]] |
− | | South Sudan | + | | [[Template:Flag/south sudan|South Sudan]] |
|- | |- | ||
| {{flag|es}} | | {{flag|es}} | ||
− | | <code>es</code> | + | | [[Template:Flag/es|<code>es</code>]] |
− | | Spain | + | | [[Template:Flag/spain|Spain]] |
|- | |- | ||
| {{flag|lk}} | | {{flag|lk}} | ||
− | | <code>lk</code> | + | | [[Template:Flag/lk|<code>lk</code>]] |
− | | Sri Lanka | + | | [[Template:Flag/sri lanka|Sri Lanka]] |
|- | |- | ||
| {{flag|sd}} | | {{flag|sd}} | ||
− | | <code>sd</code> | + | | [[Template:Flag/sd|<code>sd</code>]] |
− | | Sudan | + | | [[Template:Flag/sudan|Sudan]] |
|- | |- | ||
| {{flag|sr}} | | {{flag|sr}} | ||
− | | <code>sr</code> | + | | [[Template:Flag/sr|<code>sr</code>]] |
− | | Suriname | + | | [[Template:Flag/suriname|Suriname]] |
|- | |- | ||
| {{flag|se}} | | {{flag|se}} | ||
− | | <code>se</code> | + | | [[Template:Flag/se|<code>se</code>]] |
− | | Sweden | + | | [[Template:Flag/sweden|Sweden]] |
|- | |- | ||
| {{flag|ch}} | | {{flag|ch}} | ||
− | | <code>ch</code> | + | | [[Template:Flag/ch|<code>ch</code>]] |
− | | Switzerland | + | | [[Template:Flag/switzerland|Switzerland]] |
|- | |- | ||
| {{flag|sy}} | | {{flag|sy}} | ||
− | | <code>sy</code> | + | | [[Template:Flag/sy|<code>sy</code>]] |
− | | Syria | + | | [[Template:Flag/syria|Syria]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== T === | === T === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|tw}} | | style="width: 29px;" | {{flag|tw}} | ||
− | | style="width: 44px;" | <code>tw</code> | + | | style="width: 44px;" | [[Template:Flag/tw|<code>tw</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/taiwan|Taiwan]] |
|- | |- | ||
| {{flag|tj}} | | {{flag|tj}} | ||
− | | <code>tj</code> | + | | [[Template:Flag/tj|<code>tj</code>]] |
− | | Tajikistan | + | | [[Template:Flag/tajikistan|Tajikistan]] |
|- | |- | ||
| {{flag|tz}} | | {{flag|tz}} | ||
− | | <code>tz</code> | + | | [[Template:Flag/tz|<code>tz</code>]] |
− | | Tanzania | + | | [[Template:Flag/tanzania|Tanzania]] |
|- | |- | ||
| {{flag|th}} | | {{flag|th}} | ||
− | | <code>th</code> | + | | [[Template:Flag/th|<code>th</code>]] |
− | | Thailand | + | | [[Template:Flag/thailand|Thailand]] |
|- | |- | ||
| {{flag|tg}} | | {{flag|tg}} | ||
− | | <code>tg</code> | + | | [[Template:Flag/tg|<code>tg</code>]] |
− | | Togo | + | | [[Template:Flag/togo|Togo]] |
|- | |- | ||
| {{flag|to}} | | {{flag|to}} | ||
− | | <code>to</code> | + | | [[Template:Flag/to|<code>to</code>]] |
− | | Tonga | + | | [[Template:Flag/tonga|Tonga]] |
|- | |- | ||
| {{flag|tt}} | | {{flag|tt}} | ||
− | | <code>tt</code> | + | | [[Template:Flag/tt|<code>tt</code>]] |
− | | Trinidad and Tobago | + | | [[Template:Flag/trinidad and tobago|Trinidad and Tobago]] |
|- | |- | ||
| {{flag|tn}} | | {{flag|tn}} | ||
− | | <code>tn</code> | + | | [[Template:Flag/tn|<code>tn</code>]] |
− | | Tunisia | + | | [[Template:Flag/tunisia|Tunisia]] |
|- | |- | ||
| {{flag|tr}} | | {{flag|tr}} | ||
− | | <code>tr</code> | + | | [[Template:Flag/tr|<code>tr</code>]] |
− | | Turkey | + | | [[Template:Flag/turkey|Turkey]] |
|- | |- | ||
| {{flag|tm}} | | {{flag|tm}} | ||
− | | <code>tm</code> | + | | [[Template:Flag/tm|<code>tm</code>]] |
− | | Turkmenistan | + | | [[Template:Flag/turkmenistan|Turkmenistan]] |
|- | |- | ||
| {{flag|tv}} | | {{flag|tv}} | ||
− | | <code>tv</code> | + | | [[Template:Flag/tv|<code>tv</code>]] |
− | | Tuvalu | + | | [[Template:Flag/tuvalu|Tuvalu]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 928: | Line 972: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|ug}} | | style="width: 29px;" | {{flag|ug}} | ||
− | | style="width: 44px;" | <code>ug</code> | + | | style="width: 44px;" | [[Template:Flag/ug|<code>ug</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/uganda|Uganda]] |
|- | |- | ||
| {{flag|ua}} | | {{flag|ua}} | ||
− | | <code>ua</code> | + | | [[Template:Flag/ua|<code>ua</code>]] |
− | | Ukraine | + | | [[Template:Flag/ukraine|Ukraine]] |
+ | |- | ||
+ | | rowspan=2 | {{flag|ae}} | ||
+ | | [[Template:Flag/ae|<code>ae</code>]] | ||
+ | | rowspan=2 | [[Template:Flag/united arab emirates|United Arab Emirates]] | ||
+ | |- | ||
+ | | [[Template:Flag/uae|<code>uae</code>]] | ||
+ | |- | ||
+ | | rowspan=3 | {{flag|uk}} | ||
+ | | [[Template:Flag/uk|<code>uk</code>]] | ||
+ | | [[Template:Flag/united kingdom|United Kingdom]] | ||
+ | |- | ||
+ | | rowspan=2 | [[Template:Flag/gb|<code>gb</code>]] | ||
+ | | [[Template:Flag/britain|Britain]] | ||
|- | |- | ||
− | | | + | | [[Template:Flag/great britain|Great Britain]] |
− | |||
− | |||
|- | |- | ||
− | | {{flag| | + | | rowspan=2 | {{flag|us}} |
− | | <code> | + | | [[Template:Flag/us|<code>us</code>]] |
− | | United | + | | [[Template:Flag/united states|United States]] |
|- | |- | ||
− | | | + | | [[Template:Flag/usa|<code>usa</code>]] |
− | + | | [[Template:Flag/united states of america|United States of America]] | |
− | | United States | ||
|- | |- | ||
| {{flag|uy}} | | {{flag|uy}} | ||
− | | <code>uy</code> | + | | [[Template:Flag/uy|<code>uy</code>]] |
− | | Uruguay | + | | [[Template:Flag/uruguay|Uruguay]] |
|- | |- | ||
| {{flag|uz}} | | {{flag|uz}} | ||
− | | <code>uz</code> | + | | [[Template:Flag/uz|<code>uz</code>]] |
− | | Uzbekistan | + | | [[Template:Flag/uzbekistan|Uzbekistan]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== V === | === V === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|vu}} | | style="width: 29px;" | {{flag|vu}} | ||
− | | style="width: 44px;" | <code>vu</code> | + | | style="width: 44px;" | [[Template:Flag/vu|<code>vu</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/vanuatu|Vanuatu]] |
|- | |- | ||
| {{flag|va}} | | {{flag|va}} | ||
− | | <code>va</code> | + | | [[Template:Flag/va|<code>va</code>]] |
− | | | + | | [[Template:Flag/vatican city|Vatican City]] |
|- | |- | ||
| {{flag|ve}} | | {{flag|ve}} | ||
− | | <code>ve</code> | + | | [[Template:Flag/ve|<code>ve</code>]] |
− | | Venezuela | + | | [[Template:Flag/venezuela|Venezuela]] |
|- | |- | ||
| {{flag|vn}} | | {{flag|vn}} | ||
− | | <code>vn</code> | + | | [[Template:Flag/vn|<code>vn</code>]] |
− | | Vietnam | + | | [[Template:Flag/vietnam|Vietnam]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 979: | Line 1,034: | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
− | | style="width: 29px;" | {{flag|ukwa}} | + | | rowspan=2 style="width: 29px;" | {{flag|ukwa}} |
− | | style="width: 44px;" | <code> | + | | style="width: 44px;" | [[Template:Flag/wa|<code>wa</code>]] |
− | | style="width: | + | | rowspan=2 style="width: 160px;" | [[Template:Flag/wales|Wales]] |
+ | |- | ||
+ | | [[Template:Flag/ukwa|<code>ukwa</code>]] | ||
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== X === | === X === | ||
+ | <div style="width:273px"></div><!-- Div to keep tables aligned. Delete this if adding a table --> | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
+ | |||
=== Y === | === Y === | ||
{| class="wikitable" style="text-align: center;" | {| class="wikitable" style="text-align: center;" | ||
|- | |- | ||
| style="width: 29px;" | {{flag|ye}} | | style="width: 29px;" | {{flag|ye}} | ||
− | | style="width: 44px;" | <code>ye</code> | + | | style="width: 44px;" | [[Template:Flag/ye|<code>ye</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/yemen|Yemen]] |
|} | |} | ||
{{Box|break|padding=1em}} | {{Box|break|padding=1em}} | ||
Line 998: | Line 1,058: | ||
|- | |- | ||
| style="width: 29px;" | {{flag|zm}} | | style="width: 29px;" | {{flag|zm}} | ||
− | | style="width: 44px;" | <code>zm</code> | + | | style="width: 44px;" | [[Template:Flag/zm|<code>zm</code>]] |
− | | style="width: | + | | style="width: 160px;" | [[Template:Flag/zambia|Zambia]] |
|- | |- | ||
| {{flag|zw}} | | {{flag|zw}} | ||
− | | <code>zw</code> | + | | [[Template:Flag/zw|<code>zw</code>]] |
− | | Zimbabwe | + | | [[Template:Flag/zimbabwe|Zimbabwe]] |
|} | |} | ||
{{Box|end}} | {{Box|end}} | ||
− | == | + | == Developer documentation == |
− | If you wish to add a flag, the following requirements must be followed | + | === How this template works === |
− | === Image size === | + | # '''Template:Flag''' takes the input parameter and calls a sub-template at "Template:Flag/X". For example, <code><nowiki>{{flag|united nations}}</nowiki></code> will call [[Template:Flag/united nations]]. |
+ | # This sub-template then in turn calls [[Template:Flag icon]], supplying it with a single parameter (<code><nowiki>{{Flag icon|X}}</nowiki></code>). For example, Template:Flag/united nations supplies Template:Flag icon with the single parameter <code>United Nations</code> | ||
+ | # Template:Flag icon calls for a flag image at "File:Flag of X.png", and applies formatting such as sizing and a 1px border. For example, if Template:Flag icon is given the parameter <code>United Nations</code>, it will supply [[:File:Flag of United Nations.png]] ({{flag|un}}). | ||
+ | |||
+ | * Many of the sub-templates (such as the abbreviations and alternate names) are simple redirects to a primary sub-template. For example, [[Template:Flag/un]], [[Template:Flag/global]], [[Template:Flag/international]] and [[Template:Flag/world]] all redirect to [[Template:Flag/united nations]]. Template:Flag/united nations is the primary sub-template which then calls Template:Flag icon. | ||
+ | |||
+ | === How to add a flag === | ||
+ | If you wish to add a flag, the following requirements must be followed: | ||
+ | ==== Image size ==== | ||
*Width: equal or less than 23px | *Width: equal or less than 23px | ||
*Height: equal or less than 15px | *Height: equal or less than 15px | ||
*Aspect ratio: retained from source flag | *Aspect ratio: retained from source flag | ||
If your flag is a custom flag (e.g. {{flag|nam}}), we recommend a 23x15px flag which has a 2:3 ratio. | If your flag is a custom flag (e.g. {{flag|nam}}), we recommend a 23x15px flag which has a 2:3 ratio. | ||
− | === Upload === | + | ==== Upload ==== |
− | *Your flag should be uploaded to <Code>File:Flag of < | + | *Your flag should be uploaded to <Code>File:Flag of '''ProperFlagName'''.png</code>, where <code>'''ProperFlagName'''</code> is the full name of your flag with correct capitalization |
− | *Make sure you add your flag to [[:Category:Flag Images]] | + | *Make sure you add your flag image to [[:Category:Flag Images]]. |
− | === Update templates === | + | ==== Update templates ==== |
− | *[[Template:Flag/abbr | + | *Create a template at <code>Template:Flag/'''lowercaseflagname'''</code>, where <code>'''lowercaseflagname'''</code> is the full name of your flag in complete lowercase. This template should contain the code below: |
− | + | <pre><nowiki>{{Flag icon|</nowiki>'''ProperFlagName'''<nowiki>}}<noinclude>[[Category:Flag sub-templates]]</noinclude></nowiki></pre> | |
− | + | *Create a template at <code>Template:Flag/'''abbr'''</code>, where <code>abbr</code> is the lowercase abbreviation of your flag. This template should be a simple redirect to the primary sub-template (<code>Template:Flag/'''lowercaseflagname'''</code>) | |
− | <noinclude>[[Category:Flag Documentation Templates]]</noinclude> | + | **If your template has any alternate names or abbreviations, create them as simple redirects to the primary sub-template as well |
+ | *Add your flag to the correct table in the [[Template:Flag/doc|documentation template]].<noinclude>[[Category:Flag Documentation Templates]]</noinclude> |
Latest revision as of 05:00, 21 June 2022
Template:Flag displays a flag icon.
Usage[edit]
{{flag|1}}
1[edit]
This is the only parameter in the template and is used for defining which country's flag will be shown.
- All valid settings for flags are listed in the tables below
- This parameter is case-insensitive.
Examples[edit]
You type | You get | |
---|---|---|
Full name | {{flag|United Nations}}
|
|
Alternate name | {{flag|world}}
|
|
Abbreviation | {{flag|un}}
|
|
No parameter | {{flag|}}
|
|
Invalid parameter | {{flag|invalid}}
|
Template:Flag/invalid |
Valid settings[edit]
Note: United Kingdom flags[edit]
The individual flags of England, Northern Ireland, Scotland, and Wales should take preference in all possible circumstances over the United Kingdom flag.
Misc · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z |
Miscellaneous[edit]
A[edit]
af
|
Afghanistan | |
al
|
Albania | |
dz
|
Algeria | |
ad
|
Andorra | |
ao
|
Angola | |
ag
|
Antigua and Barbuda | |
ar
|
Argentina | |
am
|
Armenia | |
au
|
Australia | |
at
|
Austria | |
az
|
Azerbaijan |
B[edit]
C[edit]
D[edit]
cd
|
Democratic Republic of the Congo | |
Zaire | ||
dk
|
Denmark | |
dj
|
Djibouti | |
dm
|
Dominica | |
do
|
Dominican Republic |
E[edit]
tl
|
East Timor | |
Timor-Leste | ||
ec
|
Ecuador | |
eg
|
Egypt | |
sv
|
El Salvador | |
uken
|
England | |
en
| ||
gq
|
Equatorial Guinea | |
er
|
Eritrea | |
ee
|
Estonia | |
sz
|
Eswatini | |
Swaziland | ||
et
|
Ethiopia |
G[edit]
ga
|
Gabon | |
gm
|
The Gambia | |
Gambia | ||
ge
|
Georgia | |
de
|
Germany | |
gh
|
Ghana | |
gr
|
Greece | |
gl
|
Greenland | |
gd
|
Grenada | |
gt
|
Guatemala | |
gn
|
Guinea | |
gw
|
Guinea-Bissau | |
gy
|
Guyana |
L[edit]
la
|
Laos | |
lv
|
Latvia | |
lb
|
Lebanon | |
ls
|
Lesotho | |
lr
|
Liberia | |
ly
|
Libya | |
li
|
Liechtenstein | |
lt
|
Lithuania | |
lu
|
Luxembourg |
M[edit]
N[edit]
na
|
Namibia | |
nr
|
Nauru | |
np
|
Nepal | |
nl
|
Netherlands | |
Holland | ||
nz
|
New Zealand | |
ni
|
Nicaragua | |
ne
|
Niger | |
ng
|
Nigeria | |
kp
|
North Korea | |
mk
|
Macedonia | |
North Macedonia | ||
ukni
|
Northern Ireland | |
no
|
Norway |
P[edit]
pk
|
Pakistan | |
pw
|
Palau | |
ps
|
Palestine | |
pa
|
Panama | |
pg
|
Papua New Guinea | |
py
|
Paraguay | |
pe
|
Peru | |
ph
|
Philippines | |
pl
|
Poland | |
pt
|
Portugal | |
pr
|
Puerto Rico |
S[edit]
T[edit]
tw
|
Taiwan | |
tj
|
Tajikistan | |
tz
|
Tanzania | |
th
|
Thailand | |
tg
|
Togo | |
to
|
Tonga | |
tt
|
Trinidad and Tobago | |
tn
|
Tunisia | |
tr
|
Turkey | |
tm
|
Turkmenistan | |
tv
|
Tuvalu |
U[edit]
ug
|
Uganda | |
1zqjex'"(){}<x>:/1zqjex;9 | ua
|
Ukraine |
ae
|
United Arab Emirates | |
uae
| ||
uk
|
United Kingdom | |
gb
|
Britain | |
Great Britain | ||
us
|
United States | |
usa
|
United States of America | |
uy
|
Uruguay | |
uz
|
Uzbekistan |
X[edit]
Developer documentation[edit]
How this template works[edit]
- Template:Flag takes the input parameter and calls a sub-template at "Template:Flag/X". For example,
{{flag|united nations}}
will call Template:Flag/united nations. - This sub-template then in turn calls Template:Flag icon, supplying it with a single parameter (
{{Flag icon|X}}
). For example, Template:Flag/united nations supplies Template:Flag icon with the single parameterUnited Nations
- Template:Flag icon calls for a flag image at "File:Flag of X.png", and applies formatting such as sizing and a 1px border. For example, if Template:Flag icon is given the parameter
United Nations
, it will supply File:Flag of United Nations.png ().
- Many of the sub-templates (such as the abbreviations and alternate names) are simple redirects to a primary sub-template. For example, Template:Flag/un, Template:Flag/global, Template:Flag/international and Template:Flag/world all redirect to Template:Flag/united nations. Template:Flag/united nations is the primary sub-template which then calls Template:Flag icon.
How to add a flag[edit]
If you wish to add a flag, the following requirements must be followed:
Image size[edit]
- Width: equal or less than 23px
- Height: equal or less than 15px
- Aspect ratio: retained from source flag
If your flag is a custom flag (e.g. ), we recommend a 23x15px flag which has a 2:3 ratio.
Upload[edit]
- Your flag should be uploaded to
File:Flag of ProperFlagName.png
, whereProperFlagName
is the full name of your flag with correct capitalization - Make sure you add your flag image to Category:Flag Images.
Update templates[edit]
- Create a template at
Template:Flag/lowercaseflagname
, wherelowercaseflagname
is the full name of your flag in complete lowercase. This template should contain the code below:
{{Flag icon|'''ProperFlagName'''}}<noinclude>[[Category:Flag sub-templates]]</noinclude>
- Create a template at
Template:Flag/abbr
, whereabbr
is the lowercase abbreviation of your flag. This template should be a simple redirect to the primary sub-template (Template:Flag/lowercaseflagname
)- If your template has any alternate names or abbreviations, create them as simple redirects to the primary sub-template as well
- Add your flag to the correct table in the documentation template.