Template:Country data Republic of China
Template documentation
Template:Country data Republic of China
is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag
, flagicon
, and others.
This template is within the scope of WikiProject Flag Template, a collaborative effort to maintain flag templates on Wikipedia. A more thorough discussion of the flag template system, including parameters not described here, can be found on the project page. |
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias |
Taiwan
| Main article name (Taiwan) |
shortname alias |
Republic of China |
(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias |
Flag of the Republic of China.svg |
Image name (File:Flag of the Republic of China.svg, shown on right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
civil | Civil Ensign of the Republic of China.svg | |
air force | Flag of the Republic of China Air Force.svg | |
army | Flag of the Republic of China Army.svg |
Military ensigns
This template includes an air force ensign flag variant that can be used with Template:Air force:
{{air force|Republic of China}}
→ Republic of China Air Force{{flagicon|Republic of China|air force}}
→
This template includes an army ensign flag variant that can be used with Template:Army:
{{army|Republic of China}}
→ Republic of China Army{{flagicon|Republic of China|army}}
→
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
---|---|---|
ROC (view) | Template:Country data ROC | Template:Country data ROC |
China, Republic of (view) | Template:Country data China, Republic of | Template:Country data China, Republic of |
See What links here for a full list of redirects.
Example usage
{{flag|Republic of China}}
→ Republic of China{{flagicon|Republic of China}}
→{{flagcountry|Republic of China}}
→ Republic of China
Using a flag variant
{{flag|Republic of China|civil}}
→ Republic of China{{flagicon|Republic of China|civil}}
→
Using a redirect alias
{{flagicon|ROC}}
→ Template:Country data ROCTemplate:Namespace detect showall{{flagcountry|ROC}}
→ Template:Country data ROC{{flag|ROC}}
→ Template:Country data ROC
Related templates
Please see the following related country_data
templates:
- Template:Country data TaiwanTemplate:Country data Taiwan
- Template:Country data Chinese TaipeiTemplate:Country data Chinese Taipei
- Template:Country data Republic of China (1912–1949) Republic of China (1912–1949)
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Country data Republic of China
<templatedata> {
"description": "This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.", "params": {}
} </templatedata>
[[Category:Template documentation pages{{#translation:}}]]