Template:History of China/sandbox

From blackwiki
Jump to navigation Jump to search
History of China
History of China
ANCIENT
Neolithic c. 8500–c. 2100 BCE
Xia dynasty c. 2100–c. 1600 BCE
Shang dynasty c. 1600–c. 1046 BCE
Zhou dynasty c. 1045–256 BCE
 Western Zhou
 Eastern Zhou
   Spring and Autumn
   Warring States
IMPERIAL
Qin dynasty 221–206 BCE
Han dynasty 206 BCE – 220 CE
  Western Han
  Xin dynasty
  Eastern Han
Three Kingdoms 220–280
  Wei, Shu and Wu
Jin dynasty 265–420
  Western Jin
  Eastern Jin 16 Kingdoms
Southern and Northern Dynasties
420–589
Sui dynasty 581–618
Tang dynasty 618–907
  (Second Zhou 690–705)
5 Dynasties and
10 Kingdoms

907–960
Liao dynasty
907–1125
Song dynasty
960–1279
  Northern Song W. Xia
  Southern Song Jin
Yuan dynasty 1271–1368
Ming dynasty 1368–1644
Qing dynasty 1644–1911
MODERN
Republic of China 1912–1949
People's Republic
of China

1949–present
Republic of
China on Taiwan

1949–present
Template documentation[view] [edit] [history] [purge]

Usage

Collapsible lists

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{History of China |expanded=all}} or, if enabled, {{History of China |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{History of China |expanded=listname}} or, if enabled, {{History of China |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • ancient, imperial, modern, related

BC, AD, BCE, CE

This template has been designed so that it can be used both in articles that adopt the BC/AD date notation and those that adopt the BCE/CE date notation without forcing some articles to have inconsistent style.

It will display BCE/CE notation unless the template gives the parameter BC a value. For instance {{History of China}} will give BCE/CE notation, {{History of China|BC=1}} will give BC/AD notation.

It can be edited as normal, but with the following exception:

  • Instead of writing BCE or BC write {{#if: {{{BC|}}}|BC|BCE}}
  • Instead of writing CE or AD write {{#if: {{{BC|}}}|AD|CE}}

This functionality is necessitated by the Wikipedia:Manual of Style requirement that BC-AD and BCE-CE do not both appear in the same article.

Other parameters

state - autocollapse, uncollapsed, collapsed: the status of box expansion, where "autocollapse" hides stacked navboxes automatically.