Difference between revisions of "Template:CCPLeaders"

From blackwiki
Jump to navigation Jump to search
imported>Zanhe
(chronological order)
imported>Saturdayopen
(Undid revision 979526722 by Saturdayopen (talk))
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = CCPLeaders
 
|name  = CCPLeaders
|title = [[List of general secretaries and chairmen of the Communist Party of China|Leaders of the Communist Party of China]]
+
|title = [[File:Flag_of_the_Chinese_Communist_Party.svg|25px]] [[List of general secretaries and chairmen of the Communist Party of China|Leaders of the Communist Party of China]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 +
|image = [[File:Danghui.svg|50px|border|Emblem of Communist Party of China]]
  
 +
|group1 = [[General Secretary of the Communist Party of China|General Secretaries]]
 +
|list1  =
 
* [[Chen Duxiu]]
 
* [[Chen Duxiu]]
 
* [[Xiang Zhongfa]]
 
* [[Xiang Zhongfa]]
Line 10: Line 13:
 
* [[Bo Gu]]
 
* [[Bo Gu]]
 
* [[Zhang Wentian]]
 
* [[Zhang Wentian]]
* [[Mao Zedong]]
 
* [[Hua Guofeng]]
 
 
* [[Hu Yaobang]]
 
* [[Hu Yaobang]]
 
* [[Zhao Ziyang]]
 
* [[Zhao Ziyang]]
Line 17: Line 18:
 
* [[Hu Jintao]]
 
* [[Hu Jintao]]
 
* [[Xi Jinping]]
 
* [[Xi Jinping]]
 +
 +
|group2 = [[Chairman of the Communist Party of China|Chairmen]]
 +
|list2 =
 +
* [[Chen Duxiu]]
 +
* [[Mao Zedong]]
 +
* [[Hua Guofeng]]
 +
* [[Hu Yaobang]]
  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 07:49, 21 September 2020

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.