Template:Country data China
(Redirected from Template:Country data CHN)
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. |
Standard parameters
| Parameter name | Value | Meaning |
|---|---|---|
| alias | China | Main article name (China) |
| flag alias | Flag of the People's Republic of China.svg | Image name (File: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}} → File:Naval Ensign of the People's Republic of China.svg People's Liberation Army Navy
- {{flagicon|China|naval}} → China
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|China}} → File:Air Force Flag of the People's Republic of China.svg People's Liberation Army Air Force
- {{flagicon|China|air force}} → China
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|China}} → Template:Army/core
- {{flagicon|China|army}} → China
Redirect aliases
| Alias name | {{flag|alias}} output | {{flagcountry|alias}} output |
|---|---|---|
| CHN (view) | File:Flag of the People's Republic of China.svg CHN | File:Flag of the People's Republic of China.svg China |
| 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}} → File:Flag of the People's Republic of China.svg China
- {{flagicon|China}} → China
Using a flag variant
- {{flag|China|military}} → File:People's Liberation Army Flag of the People's Republic of China.svg China
- {{flagicon|China|military}} → China
Using a redirect alias
- {{flagicon|CHN}} → China
- {{flagcountry|CHN}} → File:Flag of the People's Republic of China.svg China
- {{flag|CHN}} → File:Flag of the People's Republic of China.svg CHN
Related templates
Please see the following related country_data templates:
- Template:Country data Qing DynastyTemplate:Country data Qing Dynasty
- Template:Country data Republic of ChinaFile:Flag of the Republic of China.svg Republic of China
| This is the documentation for Template:Country data China. It is automatically generated by Template:Country showdata. Please after making any changes to this template. Any categories and interlanguage links should be added to the template's /doc subpage, which does not exist yet. |