Difference between revisions of "Template:Chinese Civil War"

From blackwiki
Jump to navigation Jump to search
imported>Fixer88
imported>Frietjes
Line 17: Line 17:
 
|col1header = Pre-1945
 
|col1header = Pre-1945
 
|col1 =
 
|col1 =
  {{Infobox
+
  {{aligned table|cols=2|nowrap1=y|col1style=padding-right:0.7em|style=line-height:1.3em
  |bodystyle = {{infobox subbox bodystyle}}  background:transparent;
+
   | 1924 | [[First United Front]]
  |labelstyle = width:5em;padding-right:1.0em;background:none;font-weight:normal;
+
   | 1927 | [[Shanghai massacre of 1927|Shanghai massacre]]<br/>[[Nanchang Uprising]]<br/>[[Autumn Harvest Uprising]]<br/>[[Guangzhou Uprising]]
  |datastyle = text-align:left;white-space:nowrap;
+
   | 1929 | [[Sino-Soviet conflict (1929)|Sino-Soviet conflict]]
   |label1=1924 |data1=[[First United Front]]
+
   | 1930&ndash;1934 | [[Encirclement Campaigns]]
   |label2=1927 |data2=[[Shanghai massacre of 1927|Shanghai massacre]]<br/>[[Nanchang Uprising]]<br/>[[Autumn Harvest Uprising]]<br/>[[Guangzhou Uprising]]
+
   | 1931&ndash;1934 | [[Chinese Soviet Republic]]
   |label3=1929 |data3=[[Sino-Soviet conflict (1929)|Sino-Soviet conflict]]
+
   | 1934&ndash;1936 | [[Long March]]
   |label4=1930&ndash;1934 |data4=[[Encirclement Campaigns]]
+
   | 1936 | [[Xi'an Incident]]
   |label5=1931&ndash;1934 |data5=[[Chinese Soviet Republic]]
+
   | 1937&ndash;1946 | [[Second United Front]]
   |label6=1934&ndash;1936 |data6=[[Long March]]
 
   |label7=1936 |data7=[[Xi'an Incident]]
 
   |label8=1937&ndash;1946 |data8=[[Second United Front]]
 
 
  }}
 
  }}
  
 
|col2header = [[Cold War|Post-1945]]
 
|col2header = [[Cold War|Post-1945]]
 
|col2 =
 
|col2 =
  {{Infobox
+
  {{aligned table|cols=2|nowrap1=y|col1style=padding-right:0.7em|style=line-height:1.3em
  |bodystyle = {{infobox subbox bodystyle}}  background:transparent;
+
   | 1945&ndash;1949 | [[Operation Beleaguer|Operation ''Beleaguer'']]
  |labelstyle = width:5em;padding-right:0.8em;background:none;font-weight:normal;
+
   | 1946&ndash;1949 | [[Chinese Communist Revolution|Revolution]]
  |datastyle = text-align:left;white-space:nowrap;
+
   | 1950&ndash;1958 | [[Kuomintang Islamic insurgency in China (1950–1958)|Kuomintang Islamic insurgency]]
   |label1=1945&ndash;1949 |data1=[[Operation Beleaguer|Operation ''Beleaguer'']]
+
   | 1955 | [[First Taiwan Strait Crisis]]
   |label2=1946&ndash;1949 |data2=[[Chinese Communist Revolution|Revolution]]
+
   | 1958 | [[Second Taiwan Strait Crisis]]
   |label3=1950&ndash;1958 |data3=[[Kuomintang Islamic insurgency in China (1950–1958)|Kuomintang Islamic insurgency]]
+
   | 1960&ndash;1961 | [[Campaign at the China–Burma Border|China&ndash;Burma Border]]
   |label4=1955 |data4=[[First Taiwan Strait Crisis]]
+
   | 1996 | [[Third Taiwan Strait Crisis]]
   |label5=1958 |data5=[[Second Taiwan Strait Crisis]]
+
   | 2005&ndash;<small>present</small> | [[2005 Pan-Blue visits to mainland China|Pan-Blue visits]]
   |label6=1960&ndash;1961 |data6=[[Campaign at the China–Burma Border|China&ndash;Burma Border]]
 
   |label7=1996 |data7=[[Third Taiwan Strait Crisis]]
 
   |label8=2005&ndash;<small>present</small> |data8=[[2005 Pan-Blue visits to mainland China|Pan-Blue visits]]
 
 
  }}
 
  }}
  

Revision as of 15:13, 17 October 2014

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Chinese Civil War|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Chinese Civil War|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Chinese Civil War|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.