Difference between revisions of "Template:CCPLeaders"

From blackwiki
Jump to navigation Jump to search
imported>GoingBatty
(added {{main other}} to prevent categorization of user sandbox pages)
imported>Izno
(fix span)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = CCPLeaders
 
|name  = CCPLeaders
|title = [[List of general secretaries and chairmen of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">General Secretaries and Chairmen]] of the [[Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Communist Party of China</span>]]
+
|title = [[List of general secretaries and chairmen of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">General Secretaries and Chairmen</span>]] of the [[Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Communist Party of China</span>]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 7: Line 7:
 
|image = [[Image:Flag of the Chinese Communist Party.svg|100px]]
 
|image = [[Image:Flag of the Chinese Communist Party.svg|100px]]
 
|groupstyle = background:#DE2910; color:#FFDE00; <!--ditto-->
 
|groupstyle = background:#DE2910; color:#FFDE00; <!--ditto-->
|group1 = [[Chairman of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Chairmen]]
+
|group1 = [[Chairman of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Chairmen</span>]]
 
|list1 =  
 
|list1 =  
 
* [[Chen Duxiu]]
 
* [[Chen Duxiu]]
Line 14: Line 14:
 
* [[Hu Yaobang]]
 
* [[Hu Yaobang]]
  
|group2 = [[General Secretary of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">General Secretaries]]
+
|group2 = [[General Secretary of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">General Secretaries</span>]]
 
|list2  =  
 
|list2  =  
 
* [[Chen Duxiu]]
 
* [[Chen Duxiu]]

Revision as of 14:20, 2 October 2017


Initial visibility: currently defaults to autocollapse

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

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