Template:Country data China
Template:Country data protected
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. For a more thorough discussion of the flag template system, including parameters not described here, please see Wikipedia:WikiProject Flag Template.
Please purge the cache after making any changes to this template.
Contents |
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | People's Republic of China | Main article name (People's Republic of China)
<tr> <td>shortname alias</td> <td>China</td> <td>(optional) Display name to be used for the wikilink, if alias is a disambiguated article name, for example</td> </tr> |
| 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)
<tr> <td>alt attribute</td> <td>Flag of the People's Republic of China</td> <td>(optional) alt attribute for flag image</td> </tr> |
Flag variants
| Label | Flag image (40px) | Image name |
|---|
Naval ensign
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|China}} → Template:Country flagnavy
- {{flagicon|China|naval}} → Image:Naval Ensign of the People's Republic of China.svg
Air force ensign
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}} → Image:Air Force Flag of the People's Republic of China.svg
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 |
|---|
Example usage
- Using a flag variant
- {{flag|China|army}} → Image:People's Liberation Army Flag of the People's Republic of China.svg China
- {{flagicon|China|army}} → Image:People's Liberation Army Flag of the People's Republic of China.svg
- 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:
