Difference between revisions of "Template:Flagicon"

From Moegirlpedia
Jump to: navigation, search
m (do no use them)
 
Line 1: Line 1:
 
<includeonly>{{#vardefine: name | {{#switch: {{{1|China}}}
 
<includeonly>{{#vardefine: name | {{#switch: {{{1|China}}}
|未知|無|无|TW|tw|TWN|twn = 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
|RC|rc|ROC|roc=the_Republic_of_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)

Latest revision as of 04:08, 11 December 2022

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

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.