Difference between revisions of "Template:China topics"

From blackwiki
Jump to navigation Jump to search
imported>Visik
(reduce spacing gaps - affecting other templates below)
imported>Visik
(general fix)
Line 22: Line 22:
 
  |state  = collapsed
 
  |state  = collapsed
 
  |titlestyle = background:lavender; font-size:smaller;<!--(for [show/hide])-->
 
  |titlestyle = background:lavender; font-size:smaller;<!--(for [show/hide])-->
  |title  = <span style="font-size:116%;">[[Geography of the People's Republic of China|Geography]]{{·}} [[Environment of China|Natural environment]]</span>
+
  |title  = <span style="font-size:116%;">[[Geography of the People's Republic of China|Geography]]{{·w}} [[Environment of China|Natural environment]]</span>
 
  |navbar = plain
 
  |navbar = plain
 
  |groupstyle = width:7.5em; background:lavender;
 
  |groupstyle = width:7.5em; background:lavender;
Line 97: Line 97:
 
}}<noinclude>
 
}}<noinclude>
 
<br/>{{collapsible option}}
 
<br/>{{collapsible option}}
 +
 
[[ru:Шаблон:КНР в темах]]
 
[[ru:Шаблон:КНР в темах]]
 
[[zh:Template:CHINA]]
 
[[zh:Template:CHINA]]

Revision as of 05:33, 11 June 2010


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.

ru:Шаблон:КНР в темах zh:Template:CHINA