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

From blackwiki
Jump to navigation Jump to search
imported>Squiver
imported>Edokter
m (Reverted edits by Squiver (talk) to last version by Mr. Stradivarius)
Line 1: Line 1:
{| class="vertical-navbox {{#if:{{{transcluded|}}} |collapsible {{{state|}}}}}" style="font-size:90%; clear:right; float:right; margin:0.3em 0 0.6em 0.6em; {{#if:{{{transcluded|}}} |width:210px;}} border:1px solid #777; border-collapse:collapse; background:white; line-height:160%;"
+
{| 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="{{#if:{{{transcluded|}}} |padding-left:25px |font-size:110%;padding:3px 3px 0}}; background:#fec; border-bottom:1px solid #777;"| {{#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>'''
<!--- ANCIENT --->
 
|colspan="8" align="center" style="font-size:100%; background:#eeffe8; padding:0 5px; text-align:center; line-height:150%; color:#777;"| '''<small>ANCIENT</small>'''
 
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#eeffe8; padding:0 5px; color:#888; border-bottom:1px solid #c3c4db;"| '''[[List of Neolithic cultures of China|Neolithic]]''' c. 8500 – c. 2100 BC{{#if:{{{BC|}}}||E}}
+
| 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%; background:#eeffe8; padding:0 5px; color:#888; border-bottom:1px solid #c3c4db;"| '''[[Xia dynasty]]''' c. 2100 – c. 1600 BC{{#if:{{{BC|}}}||E}}<!--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%; background:#eeffe8; padding:0 5px; color:#888; border-bottom:1px solid #c3c4db;"| '''[[Shang dynasty]]''' c. 1600 – c. 1046 BC{{#if:{{{BC|}}}||E}}
+
| 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%; background:#eeffe8; padding:0 5px; color:#888;"| '''[[Zhou dynasty]]''' c. 1045 – 256 BC{{#if:{{{BC|}}}||E}}
+
| 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%; background:#eeffe8; padding:0 5px;"| &nbsp;'''[[Western Zhou]]'''
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;'''[[Western Zhou]]'''
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#eeffe8; padding:0 5px; line-height:150%;"| &nbsp;'''[[Zhou dynasty#Eastern Zhou|Eastern Zhou]]'''
+
| colspan="8" style="line-height: 150%; font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;'''[[Zhou dynasty#Eastern Zhou|Eastern Zhou]]'''
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#eeffe8; padding:0 5px; line-height:140%;"| &nbsp;&nbsp;&nbsp;[[Spring and Autumn period|Spring and Autumn]]  
+
| colspan="8" style="line-height: 140%; font-size: 90%; padding: 0 5px 0 5px; background: #eeffe8"| &nbsp;&nbsp;&nbsp;[[Spring and Autumn period|Spring and Autumn]]  
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#eeffe8; padding:0 5px; border-bottom:1px solid #888;"| &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>'''
<!--- IMPERIAL --->
 
|colspan="8" align="center" style="font-size:100%; background:#fffde9; padding:0 5px; line-height:150%; color:#777;"| '''<small>IMPERIAL</small>'''
 
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px; color:#888; border-bottom:1px solid #dbd9c5;"| '''[[Qin dynasty]]''' 221–206 BC{{#if:{{{BC|}}}||E}}
+
| 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%; background:#fffde9; padding:0 5px; color:#888;"| '''[[Han dynasty]]''' 206 BC{{#if:{{{BC|}}}||E}} – 220 {{#if:{{{BC|}}}|AD|CE}}
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Han dynasty]]''' 206 {{#if: {{{BC|}}}|BC|BCE}} – 220 {{#if: {{{BC|}}}|AD|CE}}
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px;"| &nbsp; '''[[Western Han]]'''
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Western Han]]'''
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px;"| &nbsp; '''[[Xin dynasty]]'''
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Xin dynasty]]'''
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px; border-bottom:1px solid #dbd9c5;"| &nbsp; '''[[Eastern Han]]'''
+
| colspan="8" style="font-size: 90%;border-bottom: 1px solid #dbd9c5; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Eastern Han]]'''
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px; color:#888;"| '''[[Three Kingdoms]]''' 220–280
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Three Kingdoms]]''' 220–280
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px 2px; line-height:150%; color:#888; border-bottom:1px solid #dbd9c5;"| &nbsp; '''[[Cao Wei|Wei]]''', '''[[Shu Han|Shu]]''' and '''[[Eastern Wu|Wu]]'''
+
| colspan="8" style="line-height: 150%; font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 2px 5px; background: #fffde9; color:#888"|&nbsp; '''[[Cao Wei|Wei]]''', '''[[Shu Han|Shu]]''' and '''[[Eastern Wu|Wu]]'''
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px; color:#888;"| '''[[Jin dynasty (265–420)|Jin dynasty]]''' 265–420
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Jin dynasty (265–420)|Jin dynasty]]''' 265–420
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px;"| &nbsp; '''[[Western Jin dynasty|Western Jin]]'''
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9"|&nbsp; '''[[Western Jin dynasty|Western Jin]]'''
 
|-
 
|-
|colspan="1" style="font-size:90%; background:#fffde9; padding:0 5px; border-bottom:1px solid #dbd9c5;"| &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:1px solid #dbd9c5; border-right:none; background:#fffde9; padding:0 5px; 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="font-size:90%; background:#fffde9; padding:2px 5px; line-height:150%; color:#888; border-bottom:1px solid #dbd9c5;"| '''[[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
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px; color:#888; border-bottom:1px solid #dbd9c5;"| '''[[Sui dynasty]]''' 581–618
+
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Sui dynasty]]''' 581–618
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px; color:#888;"| '''[[Tang dynasty]]''' 618–907
+
| colspan="8" style="font-size: 90%; padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Tang dynasty]]''' 618–907
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fffde9; padding:0 5px 2px; line-height:150%; color:#888; border-bottom:1px solid #dbd9c5;"| &nbsp; ('''[[Wu Zetian|Second Zhou]]''' 690–705)
+
| colspan="8" style="line-height: 150%; font-size: 90%; border-bottom: 1px solid #dbd9c5; padding: 0 5px 2px 5px; background: #fffde9; color:#888"|&nbsp; ('''[[Wu Zetian|Second Zhou]]''' 690–705)
 
|-
 
|-
|colspan="1" style="font-size:90%; background:#fffde9; padding:2px 5px 0; line-height:150%; color:#888; border-bottom:1px solid #dbd9c5;"| '''[[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; background:#fffde9; padding:0 5px; 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="font-size:90%; background:#fffde9; padding:2px 5px 0; line-height:150%; 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; background:#fffde9; padding:0 5px;"|  
+
| colspan="3" style="font-size: 90%;border-left: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9" |
 
|-
 
|-
|colspan="1" style="font-size:90%; background:#fffde9; padding:0 5px;"| &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-left:1px solid #dbd9c5; background:#fffde9; padding:0 5px; border-bottom:1px solid #dbd9c5;"|  
+
| 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-left:1px solid #dbd9c5; border-top:1px solid #dbd9c5; background:#fffde9; padding:0 5px;"| '''[[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%; background:#fffde9; padding:0 5px; border-bottom:1px solid #dbd9c5;"| &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-left:1px solid #dbd9c5; background:#fffde9; padding:0 5px; border-bottom:1px solid #dbd9c5;"| '''[[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-left:1px solid #dbd9c5; background:#fffde9; padding:0 5px; border-bottom:1px solid #dbd9c5;"|  
+
| 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; background:#fffde9; padding:0 5px; 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
 
|-
 
|-
|colspan="8" style="font-size:90%; border-bottom:1px solid #dbd9c5; background:#fffde9; padding:0 5px; color:#888;"| '''[[Ming dynasty]]''' 1368–1644
+
| colspan="8" style="font-size: 90%; border-bottom: 1px solid #dbd9c5;padding: 0 5px 0 5px; background: #fffde9; color:#888" | '''[[Ming dynasty]]''' 1368–1644
 
|-
 
|-
|colspan="8" style="font-size:90%; border-bottom:1px solid #888; background:#fffde9; padding:0 5px; 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>'''
<!--- MODERN --->
 
|colspan="8" align="center" style="font-size:100%; background:#fff0f6; padding:0 5px; line-height:150%; color:#777;"| '''<small>MODERN</small>'''
 
 
|-
 
|-
|colspan="8" style="font-size:90%; background:#fff0f6; padding:0 5px; 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="font-size:90%; border-top:1px solid #dbd9c5; background:#fff0f6; padding:2px 5px 0; line-height:140%; color:#888;"| '''[[History of the People's Republic of China|People's Republic<br/>of China]]'''<br/>1949–{{smaller|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="font-size:90%; border-left:1px solid #dbcebe; background:#fff0f6; padding:2px 5px; line-height:140%; color:#888;"| '''[[Taiwan after World War II|Republic of<br/>China on Taiwan]]'''<br/>1949–{{smaller|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="font-size:90%; border-top:1px solid #888; background:#eee; padding:0 3px 2px; line-height:150%;"| {{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}}
 
* [[Chinese historiography]]
 
* [[Chinese historiography]]
 
* [[Timeline of Chinese history]]
 
* [[Timeline of Chinese history]]
Line 98: Line 92:
 
* [[Military history of China (pre-1911)|Military history]]
 
* [[Military history of China (pre-1911)|Military history]]
 
* [[Naval history of China|Naval history]]
 
* [[Naval history of China|Naval history]]
{{Hidden end}}
+
{{hidden end}}
 
|-
 
|-
|colspan="8" align="center" style="font-size:80%; border-top:1px solid #777; background:#fec; padding:2px 2px 3px; line-height:125%;"| {{navbar|History of China}}  
+
| colspan="8" style="line-height: 125%; font-size: 80%; padding: 2px 2px 2px 3px; border-top: 1px solid #777; background: #FEC" align="center"|{{navbar|History of China}}  
 
|}<noinclude>
 
|}<noinclude>
{{Documentation}}
+
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:05, 10 February 2015

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.