Difference between revisions of "Template:CCPLeaders"

From blackwiki
Jump to navigation Jump to search
imported>The Account 1
(Official post titles are "General Secretary" and "Chairman".)
Line 5: Line 5:
 
|listclass = hlist
 
|listclass = hlist
 
|image = [[File:Danghui.svg|50px|border|Emblem of Communist Party of China]]
 
|image = [[File:Danghui.svg|50px|border|Emblem of Communist Party of China]]
|list1 =
+
 
 +
|group1 = [[General Secretary of the Communist Party of China|General Secretaries]]
 +
|list1 =  
 
* [[Chen Duxiu]]
 
* [[Chen Duxiu]]
 
* [[Xiang Zhongfa]]
 
* [[Xiang Zhongfa]]
Line 11: Line 13:
 
* [[Bo Gu]]
 
* [[Bo Gu]]
 
* [[Zhang Wentian]]
 
* [[Zhang Wentian]]
* [[Mao Zedong]]
 
* [[Hua Guofeng]]
 
 
* [[Hu Yaobang]]
 
* [[Hu Yaobang]]
 
* [[Zhao Ziyang]]
 
* [[Zhao Ziyang]]
Line 18: 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>

Revision as of 04:50, 6 March 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.