Difference between revisions of "Template:History of China/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Squiver
(Undid revision 646168524 by Squiver (talk))
imported>WOSlinker
(tidy style for better HTML5 compatibility)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="vertical-navbox {{#if: {{{transcluded|}}}|collapsible {{{state|}}}}}" style="margin:0.3em 0 0.6em 0.6em; border: 1px solid #777; background: #FFF; line-height:160%; font-size:90%; float:right; clear:right; border-collapse:collapse; {{#if: {{{transcluded|}}}|width: 210px}};"
+
{| class="vertical-navbox {#if: {{{transcluded|}}}|collapsible {{{state|}}}}}" style="margin:0.3em 0 0.6em 0.6em; border: 1px solid #777; background: #FFF; line-height:160%; font-size:90%; float:right; clear:right; border-collapse:collapse; {{#if: {{{transcluded|}}}|width: 210px}};"
 
|-
 
|-
! colspan="8" style="background:#FEC; border-bottom: 1px solid #777; {{#if: {{{transcluded|}}}|padding-left: 25px|padding:3px 3px 0px 3px; font-size: 110%}}" | {{#if: {{{transcluded|}}} ||[[File:Departure Herald-Detail.jpg|center|200px|border|alt=History of China]]}} [[History of China]]
+
! colspan="8" style="background:#FEC; border-bottom: 1px solid #777; {{#if: {{{transcluded|}}}|padding-left: 25px|padding:3px 3px 0px 3px; font-size: 110%}}" | {{#if: {{{transcluded|}}} ||[[File:Departure Herald-Detail.jpg|center|200px|History of China]]}} [[History of China]]
 
|-
 
|-
| colspan="8" align="center" style="line-height: 150%; color:#777; text-align:center;font-size: 100%; padding: 0 5px 0 5px; background: #eeffe8" | '''<small>ANCIENT</small>'''
+
| colspan="8" style="text-align:center;line-height: 150%; color:#777; text-align:center;font-size: 100%; padding: 0 5px 0 5px; background: #eeffe8" | '''<small>ANCIENT</small>'''
 
|-
 
|-
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #c3c4db;padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[List of Neolithic cultures of China|Neolithic]]''' c. 8500 – c. 2100 {{#if: {{{BC|}}}|BC|BCE}}
+
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #c3c4db;padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[List of Neolithic cultures of China|Neolithic]]''' c. 8500–c. 2100 {{#if: {{{BC|}}}|BC|BCE}}
 
|-
 
|-
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #c3c4db;padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[Xia dynasty]]''' c. 2100 – c. 1600 {{#if: {{{BC|}}}|BC|BCE}}<!--Years before Gonghe Regency in 841 BC are approximate-->
+
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #c3c4db;padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[Xia dynasty]]''' c. 2100–c. 1600 {{#if: {{{BC|}}}|BC|BCE}}<!--Years before Gonghe Regency in 841 BC are approximate-->
 
|-
 
|-
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #c3c4db;padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[Shang dynasty]]''' c. 1600 – c. 1046 {{#if: {{{BC|}}}|BC|BCE}}
+
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #c3c4db;padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[Shang dynasty]]''' c. 1600–c. 1046 {{#if: {{{BC|}}}|BC|BCE}}
 
|-
 
|-
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[Zhou dynasty]]''' c. 1045 – 256 {{#if: {{{BC|}}}|BC|BCE}}
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8; color:#888" | '''[[Zhou dynasty]]''' c. 1045–256 {{#if: {{{BC|}}}|BC|BCE}}
 
|-
 
|-
 
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;'''[[Western Zhou]]'''
 
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;'''[[Western Zhou]]'''
Line 21: Line 21:
 
| colspan="8" style="font-size: 90%;border-bottom: 1px solid #888; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;&nbsp;&nbsp;[[Warring States period|Warring States]]
 
| colspan="8" style="font-size: 90%;border-bottom: 1px solid #888; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;&nbsp;&nbsp;[[Warring States period|Warring States]]
 
|-
 
|-
| colspan="8" align="center" style="line-height: 150%; color:#777;font-size: 100%; padding: 0 5px 0 5px; background: #fffde9" | '''<small>IMPERIAL</small>'''
+
| colspan="8" style="text-align:center;line-height: 150%; color:#777;font-size: 100%; padding: 0 5px 0 5px; background: #fffde9" | '''<small>IMPERIAL</small>'''
 
|-
 
|-
 
| colspan="8" style="font-size: 90%;border-bottom: 1px solid #dbd9c5; padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Qin dynasty]]''' 221–206 {{#if: {{{BC|}}}|BC|BCE}}
 
| colspan="8" style="font-size: 90%;border-bottom: 1px solid #dbd9c5; padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Qin dynasty]]''' 221–206 {{#if: {{{BC|}}}|BC|BCE}}
Line 42: Line 42:
 
|-
 
|-
 
| colspan="1" style="font-size: 90%; border-bottom: 1px solid #dbd9c5; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Eastern Jin dynasty|Eastern Jin]]'''  
 
| colspan="1" style="font-size: 90%; border-bottom: 1px solid #dbd9c5; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Eastern Jin dynasty|Eastern Jin]]'''  
| colspan="7" style="font-size: 90%; border-top: 1px solid #dbd9c5; border-left: 1px solid #dbd9c5; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" |'''[[Sixteen Kingdoms|16 Kingdoms]]'''
+
| colspan="3" style="font-size: 90%; border-top: 1px solid #dbd9c5; border-left: 1px solid #dbd9c5; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" |'''[[Sixteen Kingdoms|16 Kingdoms]]'''
 
|-
 
|-
 
| colspan="8" style="line-height: 150%; font-size: 90%; border-bottom: 1px solid #dbd9c5; padding: 2px 5px 2px 5px; background: #fffde9; color:#888" | '''[[Southern and Northern Dynasties]]'''<br />420–589
 
| colspan="8" style="line-height: 150%; font-size: 90%; border-bottom: 1px solid #dbd9c5; padding: 2px 5px 2px 5px; background: #fffde9; color:#888" | '''[[Southern and Northern Dynasties]]'''<br />420–589
Line 53: Line 53:
 
|-
 
|-
 
| colspan="1" style="font-size: 90%; line-height: 150%; border-bottom: 1px solid #dbd9c5; padding: 2px 5px 0 5px; background: #fffde9; color:#888" | '''[[Five Dynasties and Ten Kingdoms period|5 Dynasties and<br /> 10 Kingdoms]]'''<br />907–960
 
| colspan="1" style="font-size: 90%; line-height: 150%; border-bottom: 1px solid #dbd9c5; padding: 2px 5px 0 5px; background: #fffde9; color:#888" | '''[[Five Dynasties and Ten Kingdoms period|5 Dynasties and<br /> 10 Kingdoms]]'''<br />907–960
| colspan="7" style="font-size: 90%;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Liao dynasty]]'''<br />907–1125
+
| colspan="3" style="font-size: 90%;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Liao dynasty]]'''<br />907–1125
 
|-
 
|-
 
| colspan="1" style="line-height: 150%; font-size: 90%;padding: 2px 5px 0 5px; background: #fffde9; color:#888" | '''[[Song dynasty]]'''<br />960–1279
 
| colspan="1" style="line-height: 150%; font-size: 90%;padding: 2px 5px 0 5px; background: #fffde9; color:#888" | '''[[Song dynasty]]'''<br />960–1279
| colspan="7" style="font-size: 90%;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |
+
| colspan="3" style="font-size: 90%;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |
 
|-
 
|-
 
| colspan="1" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Northern Song]]'''
 
| colspan="1" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Northern Song]]'''
 
| colspan="1" style="font-size: 90%;border-bottom: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |
 
| colspan="1" style="font-size: 90%;border-bottom: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |
| colspan="6" style="font-size: 90%;border-top: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |'''[[Western Xia|W. Xia]]'''
+
| colspan="1" style="font-size: 90%;border-top: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |'''[[Western Xia|W. Xia]]'''
 
|-
 
|-
 
| colspan="1" style="font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Southern Song]]'''
 
| colspan="1" style="font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Southern Song]]'''
 
| colspan="1" style="font-size: 90%;border-bottom: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" | '''[[Jin dynasty (1115–1234)|Jin]]'''
 
| colspan="1" style="font-size: 90%;border-bottom: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" | '''[[Jin dynasty (1115–1234)|Jin]]'''
| colspan="6" style="font-size: 90%;border-bottom: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |  
+
| colspan="1" style="font-size: 90%;border-bottom: 1px solid #dbd9c5;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |  
 
|-
 
|-
 
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Yuan dynasty]]''' 1271–1368
 
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Yuan dynasty]]''' 1271–1368
Line 72: Line 72:
 
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #888;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Qing dynasty]]''' 1644–1911
 
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #888;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Qing dynasty]]''' 1644–1911
 
|-
 
|-
| colspan="8" align="center" style="line-height: 150%; color:#777; font-size: 100%; padding: 0 5px 0 5px; background: #fff0f6" | '''<small>MODERN</small>'''
+
| colspan="8" style="text-align:center;line-height: 150%; color:#777; font-size: 100%; padding: 0 5px 0 5px; background: #fff0f6" | '''<small>MODERN</small>'''
 
|-
 
|-
 
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fff0f6; color:#888" | '''[[Republic of China (1912–49)|Republic of China]]''' 1912–1949
 
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fff0f6; color:#888" | '''[[Republic of China (1912–49)|Republic of China]]''' 1912–1949
 
|-
 
|-
 
| colspan="1" style="line-height: 140%; font-size: 90%; padding: 2px 5px 0 5px; border-top: 1px solid #dbd9c5; background: #fff0f6; color:#888" |'''[[History of the People's Republic of China|People's Republic<br />of China]]'''<br />1949–present
 
| colspan="1" style="line-height: 140%; font-size: 90%; padding: 2px 5px 0 5px; border-top: 1px solid #dbd9c5; background: #fff0f6; color:#888" |'''[[History of the People's Republic of China|People's Republic<br />of China]]'''<br />1949–present
| colspan="7" style="line-height: 140%; font-size: 90%; padding: 2px 5px 2px 5px; background: #fff0f6;border-left: 1px solid #dbcebe; color:#888"|'''[[Taiwan after World War II|Republic of <br/>China on Taiwan]]'''<br />1949–present
+
| colspan="3" style="line-height: 140%; font-size: 90%; padding: 2px 5px 2px 5px; background: #fff0f6;border-left: 1px solid #dbcebe; color:#888"|'''[[Taiwan after World War II|Republic of <br/>China on Taiwan]]'''<br />1949–present
 
|-
 
|-
 
|colspan="8" class="plainlist" style="line-height: 150%; padding:0px 3px 2px 3px; background:#EEE; border-top: 1px solid #888; font-size: 90%;" | {{hidden begin|title=Related articles|ta1=center|ta2=center}}
 
|colspan="8" class="plainlist" style="line-height: 150%; padding:0px 3px 2px 3px; background:#EEE; border-top: 1px solid #888; font-size: 90%;" | {{hidden begin|title=Related articles|ta1=center|ta2=center}}

Latest revision as of 12:09, 15 May 2015

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
50px 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.