Template:Country data China
Jump to navigation
Jump to search
Template documentation
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
Military ensigns
This template includes a naval ensign flag variant that can be used with Template:Navy:
- {{navy|Expression error: Unexpected < operator.}} → Template:Navy
- {{flagicon|Expression error: Unexpected < operator.|naval}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=naval|size=}}
This template includes an air force ensign flag variant that can be used with Template:Air force:
- {{air force|Expression error: Unexpected < operator.}} → Template:Air force
- {{flagicon|Expression error: Unexpected < operator.|air force}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=air force|size=}}
This template includes an army ensign flag variant that can be used with Template:Army:
- {{army|Expression error: Unexpected < operator.}} → Template:Army
- {{flagicon|Expression error: Unexpected < operator.|army}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=army|size=}}
Redirect aliases
This template can also be used via an alias name (implemented as a redirect to this template):Alias name | Template:Tlx output | Template:Tlx output |
---|---|---|
CHN (view) | Template:Country data CHN | Template:Flagcountry |
People's Republic of China (view) | Template:Country data People's Republic of China | Template:Flagcountry |
China, People's Republic of (view) | Template:Country data China, People's Republic of | Template:Flagcountry |
China (People's Republic of) (view) | Template:Country data China (People's Republic of) | Template:Flagcountry |
PRC (view) | Template:Country data PRC | Template:Flagcountry |
Example usage
- {{flag|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=|size=}}
- {{flagicon|Expression error: Unexpected < operator.}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=|size=}}
Using a flag variant
- {{flag|Expression error: Unexpected < operator.|1912}} → {{country data Expression error: Unexpected < operator.|flag/core|name=Expression error: Unexpected < operator.|variant=1912|size=}}
- {{flagicon|Expression error: Unexpected < operator.|1912}} → {{country data Expression error: Unexpected < operator.|flagicon/core|variant=1912|size=}}
Using a redirect alias
- {{flagicon|CHN}} → Template:Country data CHN
- {{flagcountry|CHN}} → Template:Flagcountry
- {{flag|CHN}} → Template:Country data CHN
Related templates
Please see the following related country_data templates:
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 should be added to the template's /doc subpage, which does not exist yet. |