Difference between revisions of "Template:China topics"

From blackwiki
Jump to navigation Jump to search
imported>Bonthefox3
imported>Bonthefox3
Line 1: Line 1:
{{Navbox Communism
+
{{Navbox
 
| leaf = yes
 
| leaf = yes
 
| nobottomborder = yes
 
| nobottomborder = yes
Line 10: Line 10:
  
 
| history =
 
| history =
  {{Navbox Communism |child |state=plain
+
  {{Navbox |child |state=plain
 
   |basestyle = text-align:center;
 
   |basestyle = text-align:center;
 
   |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
 
   |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
Line 63: Line 63:
 
*** [[Southwest China|Southwest]]
 
*** [[Southwest China|Southwest]]
  
  {{Navbox Communism |child |state=plain
+
  {{Navbox |child |state=plain
  
 
   |basestyle = text-align:center;
 
   |basestyle = text-align:center;
Line 140: Line 140:
  
 
| politics =
 
| politics =
  {{Navbox Communism |child |
+
  {{Navbox |child |
 
  |basestyle = text-align:center;
 
  |basestyle = text-align:center;
 
  |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
 
  |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
Line 223: Line 223:
 
* [[List of World Heritage Sites in China|World Heritage Sites]]
 
* [[List of World Heritage Sites in China|World Heritage Sites]]
 
* [[Chinese literature|Literature]]
 
* [[Chinese literature|Literature]]
{{Navbox Communism |child |state=plain
+
{{Navbox |child |state=plain
 
   |basestyle = text-align:center;
 
   |basestyle = text-align:center;
 
   |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}
 
   |groupstyle = padding-left:0.5em;padding-right:0.5em;font-weight:normal;{{{subgroupstyle|}}}

Revision as of 17:29, 18 January 2020

Initial visibility: currently defaults to collapsed

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 collapsed.