Difference between revisions of "Template:China topics"

From blackwiki
Jump to navigation Jump to search
imported>BolinhasFofas
(flagicon added)
imported>Thompsontough
m (tidied up the history section a bit)
Line 13: Line 13:
 
  |navbar = plain
 
  |navbar = plain
 
  |liststyle = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
 
  |liststyle = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
  |list1 = {{nowrap begin}} [[China]]{{·w}} [[History of China]] ([[Timeline of Chinese history|timeline]]){{·w}} [[History of the Republic of China]]{{·w}} [[History of the People's Republic of China (1949–1976)|History of the People's Republic of China 1949-1976]]{{·w}} [[History of the People's Republic of China (1976–1989)|1976-1989]]{{·w}} [[History of the People's Republic of China (1989–2002)|1989-2002]]{{·w}} [[History of the People's Republic of China (2002–present)|since 2002]] {{nowrap end}}
+
  |list1 = {{nowrap begin}}[[History of China|China]] ([[Timeline of Chinese history|timeline]]){{·w}} [[History of the Republic of China|Republic of China]]{{·w}} [[History of the People's Republic of China|People's Republic of China]]{{·w}} [[History of the People's Republic of China (1949–1976)|1949-1976]]{{·w}} [[History of the People's Republic of China (1976–1989)|1976-1989]]{{·w}} [[History of the People's Republic of China (1989–2002)|1989-2002]]{{·w}} [[History of the People's Republic of China (2002–present)|since 2002]] {{nowrap end}}
 
  }}
 
  }}
  

Revision as of 19:19, 26 September 2008


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{China topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{China topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{China topics|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.