Template:Country data China

From Sekami
Jump to navigation Jump to search
Documentation icon 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.

Flag of the People's Republic of China.svg

Standard parameters

Parameter nameValueMeaning
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

LabelFlag image (40px)Image name
1912Flag of China (1912–1928).svgFlag of the Republic of China 1912-1928.svg
1929Flag of the Republic of China.svgFlag of the Republic of China.svg
militaryFlag of the People's Liberation Army.svgPeople's Liberation Army Flag of the People's Republic of China.svg
navalNaval Ensign of China.svgNaval Ensign of the People's Republic of China.svg
air forceAir Force Flag of the People's Republic of China.svgAir Force Flag of the People's Republic of China.svg
armyGround Force Flag of the People's Republic of China.svgGround 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|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 nameTemplate:Tlx outputTemplate:Tlx output
CHN (view)Template:Country data CHNTemplate:Flagcountry
People's Republic of China (view)Template:Country data People's Republic of ChinaTemplate:Flagcountry
China, People's Republic of (view)Template:Country data China, People's Republic ofTemplate:Flagcountry
China (People's Republic of) (view)Template:Country data China (People's Republic of)Template:Flagcountry
PRC (view)Template:Country data PRCTemplate: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

Related templates

Please see the following related country_data templates: