• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Country data China/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Country data China
This is the template sandbox page for Template:Country data China (diff).
Template documentation
WarningThis template is used on approximately 136,000 pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them.
Template:Country data China/sandbox is an internal data container not intended to be transcluded directly. It is used indirectly by templates such as flag, flag icon, 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.
See also: Flag of China

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

Further information: Flag of China
LabelFlag image (40px)Image name
1862Flag of China (1862–1889).svg
1889Flag of the Qing Dynasty (1889-1912).svg
1912Flag of China (1912–1928).svg
1928Flag of the Republic of China.svg
marinesNaval ensign of China.svg
militaryPeople's Liberation Army Flag of the People's Republic of China.svg
coast guardFlag of China.svg
navyNaval ensign 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

Redirect aliases

This template can also be used via an alias name (implemented as a redirect to this template):
Alias name{{flag|alias}} output{{flag country|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

See What links here for a full list of redirects.

Example usage

  • {{flag|China/sandbox}} → China/sandbox
  • {{flag icon|China/sandbox}} → China

Using a flag variant

  • {{flag|China/sandbox|1862}} → China/sandbox
  • {{flag icon|China/sandbox|1862}} → China

Using a redirect alias

  • {{flag icon|CHN}} → China
  • {{flag country|CHN}} →  China
  • {{flag|CHN}} → CHN

Military ensigns


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

  • {{air force|China/sandbox}} →  People's Liberation Army Air Force
  • {{flag icon|China/sandbox|air force}} → China

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

  • {{marines|China/sandbox}} →  People's Liberation Army Navy Marine Corps
  • {{flag icon|China/sandbox|marines}} → China

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

  • {{Armed forces|China/sandbox}} →  People's Liberation Army
  • {{flag icon|China/sandbox|military}} → China

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

  • {{navy|China/sandbox}} →  People's Liberation Army Navy
  • {{flag icon|China/sandbox|navy}} → China

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

  • {{coast guard|China/sandbox}} →  China Coast Guard
  • {{flag icon|China/sandbox|coast guard}} → China

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

  • {{army|China/sandbox}} →  People's Liberation Army Ground Force
  • {{flag icon|China/sandbox|army}} → China

Related templates

Please see the following related country_data templates:

  • Template:Country data Qing dynasty Qing dynasty
  • Template:Country data Republic of China Republic of China
  • Template:Country data Republic of China (1912–1949) Republic of China (1912–1949)


TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Country data China in articles based on its 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:Flag icon. See Category:Flag template system for a full list of flag templates and Wikipedia:WikiProject Flag Template for further documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified
This is the documentation for Template:Country data China/sandbox. It is automatically generated by Template:Country showdata.
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Please purge the cache after making any changes to this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Country_data_China/sandbox&oldid=897245753"
Last edited on 15 May 2019, at 19:06

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 15 May 2019, at 19:06 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop