Difference between revisions of "Template:Flagicon"
m |
m (do no use them) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine: name | {{#switch: {{{1|China}}} | <includeonly>{{#vardefine: name | {{#switch: {{{1|China}}} | ||
− | |未知|無|无 = None | + | |未知|無|无|TW|tw|TWN|twn|RC|rc|ROC|roc = None |
|AR|ar|ARG|arg = Argentina | |AR|ar|ARG|arg = Argentina | ||
|AU|au|AUS|aus = Australia | |AU|au|AUS|aus = Australia | ||
Line 13: | Line 13: | ||
|CL|cl|CHL|chl = Chile | |CL|cl|CHL|chl = Chile | ||
|ZH|zh|CN|cn|CHN|chn|PRC|prc = China | |ZH|zh|CN|cn|CHN|chn|PRC|prc = China | ||
− | |||
|Beiyang government|Peiyang Government|First Republic of China|=the_Republic_of_China_(1912-1928) | |Beiyang government|Peiyang Government|First Republic of China|=the_Republic_of_China_(1912-1928) | ||
|the Qing Dynasty|the Great Qing|Qing|Qing Dynasty|Great Qing=the_Qing_Dynasty_(1889-1912) | |the Qing Dynasty|the Great Qing|Qing|Qing Dynasty|Great Qing=the_Qing_Dynasty_(1889-1912) | ||
|HK|hk|HKG|hkg = Hong_Kong | |HK|hk|HKG|hkg = Hong_Kong | ||
|MO|mo|MAC|mac = Macau | |MO|mo|MAC|mac = Macau | ||
− | |||
|ASEAN|asean|Association of Southeast Asian Nations = ASEAN | |ASEAN|asean|Association of Southeast Asian Nations = ASEAN | ||
|MX|mx|MEX|mex = Mexico | |MX|mx|MEX|mex = Mexico |
Latest revision as of 04:08, 11 December 2022
This template is used to quickly display the flag pictures of countries or regions, and it is used for infobars of real people.
How to use
{{flagicon|(country or region)}} {{flagicon|(country or region)|size=px}}
parameters
This template has only 3 parameters:
- 1 country or region, requires an English name starting with a capital letter, the value that can be selected is shown in the file name "Flag_of_" in Moegirl Commons and "." characters or the full file name. Required parameter.
- 2 Custom picture name: Title parameter, used to display the custom banner name.
- size The size of the image. The default is 20px.
- link can set the link to jump to by clicking the picture, the default is empty.