Difference between revisions of "Template:China topics"

From blackwiki
Jump to navigation Jump to search
imported>Bonthefox3
Line 1: Line 1:
{{Country topics
+
{{Navbox Communism
 
| country = China
 
| country = China
 
| state = {{{state<includeonly>|{{{1|collapsed}}}</includeonly>}}}
 
| state = {{{state<includeonly>|{{{1|collapsed}}}</includeonly>}}}
Line 8: Line 8:
  
 
| history =
 
| history =
  {{Navbox |child |state=plain
+
  {{Navbox Communism |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 61: Line 61:
 
*** [[Southwest China|Southwest]]
 
*** [[Southwest China|Southwest]]
  
  {{Navbox |child |state=plain
+
  {{Navbox Communism |child |state=plain
  
 
   |basestyle = text-align:center;
 
   |basestyle = text-align:center;
Line 138: Line 138:
  
 
| politics =
 
| politics =
  {{Navbox |child |
+
  {{Navbox Communism |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 221: Line 221:
 
* [[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 |child |state=plain
+
{{Navbox Communism |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:28, 18 January 2020

Template:Navbox Communism 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.