Template:Country data China
Template:Country data protected
Template documentation
This is the documentation for Template:Country data China. It is automatically generated by Template:Country showdata
Template:Country data 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. |
Please Template:Purge after making any changes to this template.
Standard parameters
Parameter name | Value | Meaning |
---|---|---|
alias | People's Republic of China | Main article name (People's Republic of China) |
shortname alias | China | (optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example |
flag alias | Flag of the People's Republic of China.svg | Image name (Image:Flag of the People's Republic of China.svg, shown above right) |
Flag variants
Label | Flag image (40px) | Image name |
---|---|---|
military | File:People's Liberation Army Flag of the People's Republic of China.svg | People's Liberation Army Flag of the People's Republic of China.svg |
naval | File:Naval Ensign of the People's Republic of China.svg | Naval Ensign of the People's Republic of China.svg |
air force | File:Air Force Flag of the People's Republic of China.svg | Air Force Flag of the People's Republic of China.svg |
army | File:Ground Force Flag of the People's Republic of China.svg | Ground Force Flag of the People's Republic of China.svg |
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|China}} → Template:Navy
- {{flagicon|China|naval}} → Flag of People's Republic of China
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|China}} → Template:Air force
- {{flagicon|China|air force}} → Flag of People's Republic of China
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|China}} → File:Ground Force Flag of the People's Republic of China.svg People's Liberation Army Ground Force
- {{flagicon|China|army}} → Flag of People's Republic of China
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 |
---|---|---|
CHN (view) | Template:Country data CHN | Template:Country data CHN |
People's Republic of China (view) | Template:Country data People's Republic of China | Template:Country data People's Republic of China |
China, People's Republic of (view) | Template:Country data China, People's Republic of | Template:Country data China, People's Republic of |
China (People's Republic of) (view) | Template:Country data China (People's Republic of) | Template:Country data China (People's Republic of) |
PRC (view) | Template:Country data PRC | Template:Country data PRC |
Example usage
- {{flag|China}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found China
- {{flagicon|China}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found
- {{flagcountry|China}} → Error creating thumbnail: /bin/bash: line 1: convert: command not found China
- Using a flag variant
- {{flag|China|military}} → Flag of People's Republic of China China
- {{flagicon|China|military}} → Flag of People's Republic of China
- Using a redirect alias
- {{flagicon|CHN}} → Template:Country data CHN
- {{flagcountry|CHN}} → Template:Country data CHN
- {{flag|CHN}} → Template:Country data CHN
Related templates
Please see the following related country_data templates: