Template documentation

Template:Wp/brh/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.

Standard parameters

Parameter nameValueMeaning
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 (File:Flag of the People's Republic of China.svg, shown above right)

Flag variants

LabelFlag image (40px)Image name
militaryPeople's Liberation Army Flag of the People's Republic of China.svg
navalNaval Ensign of the People's Republic of China.svg
air forceAir Force Flag of the People's Republic of China.svg
armyGround 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:Wp/brh/Navy:

This template includes an air force ensign flag variant that can be used with Template:Wp/brh/Air force:

This template includes an army ensign flag variant that can be used with Template:Wp/brh/Army:

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{Wp/brh/Flag|alias}} output{{Wp/brh/Flagcountry|alias}} output
CHN (view) CHN China
People's Republic of China (view) People's Republic of China China
China, People's Republic of (view) China, People's Republic of China
China (People's Republic of) (view) China (People's Republic of) China
PRC (view) PRC China

Example usage

  • {{Wp/brh/Flag|China}} China
  • {{Wp/brh/Flagicon|China}}People's Republic of China
  • {{Wp/brh/Flagcountry|China}} China

Using a flag variant

  • {{Wp/brh/Flag|China|military}} China
  • {{Wp/brh/Flagicon|China|military}}People's Republic of China

Using a redirect alias

  • {{Wp/brh/Flagicon|CHN}}People's Republic of China
  • {{Wp/brh/Flagcountry|CHN}} China
  • {{Wp/brh/Flag|CHN}} CHN

Please see the following related country_data templates: