• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.215
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Country data China

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
File:Test Template Info-Icon - Version (2).svg Template documentation
File:Ambox warning yellow.svgThis template is used on approximately 73,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
NoticeTemplate: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.
File:Information icon4.svgThis 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.
File:Flag of the People's Republic of China.svg

Contents

  • 1 Standard parameters
  • 2 Flag variants
  • 3 Redirect aliases
  • 4 Example usage
    • 4.1 Using a flag variant
    • 4.2 Using a redirect alias
  • 5 Military ensigns
  • 6 Related templates
  • 7 Other information
  • 8 TemplateData

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 on right)

Flag variants

LabelFlag image (40px)Image name
1862File:Flag of the Qing Dynasty (1862-1889).svgFlag of the Qing Dynasty (1862-1889).svg
1889File:Flag of the Qing Dynasty (1889-1912).svgFlag of the Qing Dynasty (1889-1912).svg
1912File:Flag of China (1912–1928).svgFlag of China (1912–1928).svg
1928File:Flag of the Republic of China.svgFlag of the Republic of China.svg
navalFile:Naval ensign of China.svgNaval ensign of China.svg
marinesFile:Naval ensign of China.svgNaval ensign of China.svg
militaryFile:People's Liberation Army Flag of the People's Republic of China.svgPeople's Liberation Army Flag of the People's Republic of China.svg
coast guardFile:Flag of China.svgFlag of China.svg
navyFile:Naval ensign of China.svgNaval ensign of China.svg
air forceFile:Air Force Flag of the People's Republic of China.svgAir Force Flag of the People's Republic of China.svg
armyFile:Ground Force Flag of the People's Republic of China.svgGround 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
CHN (view)File:Flag of the People's Republic of China.svg CHNFile:Flag of the People's Republic of China.svg China
People's Republic of China (view)File:Flag of the People's Republic of China.svg People's Republic of ChinaFile:Flag of the People's Republic of China.svg China
China, People's Republic of (view)File:Flag of the People's Republic of China.svg China, People's Republic ofFile:Flag of the People's Republic of China.svg China
China (People's Republic of) (view)File:Flag of the People's Republic of China.svg China (People's Republic of)File:Flag of the People's Republic of China.svg China
PRC (view)File:Flag of the People's Republic of China.svg PRCFile:Flag of the People's Republic of China.svg China

See What links here for a full list of redirects.

Example usage

  • {{flag|China}} → File:Flag of the People's Republic of China.svg China
  • {{flagicon|China}} → File:Flag of the People's Republic of China.svg

Using a flag variant

  • {{flag|China|1862}} → File:Flag of the Qing Dynasty (1862-1889).svg China
  • {{flagicon|China|1862}} → File:Flag of the Qing Dynasty (1862-1889).svg

Using a redirect alias

  • {{flagicon|CHN}} → File:Flag of the People's Republic of China.svg
  • {{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

Military ensigns

This template includes a naval flag variant that can be used with Template:Naval:

  • {{naval|China}} → File:Naval ensign of China.svg People's Liberation Army Navy
  • {{flagicon|China|naval}} → File:Naval ensign of China.svg

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}} → File:Air Force Flag of the People's Republic of China.svg

This template includes a marine ensign flag variant that can be used with Template:Marines:

  • {{marines|China}} → File:Naval ensign of China.svg People's Liberation Army Navy Marine Corps
  • {{flagicon|China|marines}} → File:Naval ensign of China.svg

This template includes a marine ensign flag variant that can be used with Template:Armed forces:

  • {{Armed forces|China}} → File:People's Liberation Army Flag of the People's Republic of China.svg People's Liberation Army
  • {{flagicon|China|military}} → File:People's Liberation Army Flag of the People's Republic of China.svg

This template includes an ensign flag variant that can be used with Template:Navy:

  • {{navy|China}} → File:Naval ensign of China.svg People's Liberation Army Navy
  • {{flagicon|China|navy}} → File:Naval ensign of China.svg

This template includes a coast guard ensign flag variant that can be used with Template:Coast guard:

  • {{coast guard|China}} → File:Flag of China.svg China Coast Guard
  • {{flagicon|China|coast guard}} → File:Flag of China.svg

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

  • {{army|China}} → File:Ground Force Flag of the People's Republic of China.svg People's Liberation Army Ground Force
  • {{flagicon|China|army}} → File:Ground Force Flag of the People's Republic of China.svg

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
  • Template:Country data Republic of China (1912–1949)File:Flag of the Republic of China.svg Republic of China (1912–1949)

Other information

Country data templates are also available for three of the five autonomous regions, the two Special Administrative Regions (SARs) of China, and the region of Tibet:

Template:Country data Guangxi Zhuang File:Flag of the People's Republic of China.svg Guangxi Zhuang
Template:Country data Hong Kong File:Flag of Hong Kong.svg Hong Kong
Template:Country data Inner Mongolia File:Flag of the People's Republic of China.svg Inner Mongolia
Template:Country data Macau File:Flag of Macau.svg Macau
Template:Country data Ningxia Hui File:Flag of the People's Republic of China.svg Ningxia Hui
Template:Country data Tibet File:Flag of Tibet.svg Tibet Refers to the geographical/ethnical region; don't use for the autonomous region

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Country data China

This template should not be used directly. It is used indirectly by flag templates such as Template:Flag and Template:Flagicon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data China. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please purge the cache after making any changes to this template.
This template has a /doc subpage for the purposes of categories and documentation specific to this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Country_data_China&oldid=10452"
Categories:
  • Pages with broken file links
  • Country data templates of countries
  • Country data templates of China
  • Templates using TemplateData
  • Country data templates with documentation subpage
  • All country data templates
Last edited on 26 February 2022, at 16:19

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 26 February 2022, at 16:19.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop