Difference between revisions of "Template:CCPLeaders"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>Saturdayopen
(Undid revision 979526722 by Saturdayopen (talk))
 
(48 intermediate revisions by 34 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name  = CCPHeads
+
|name  = CCPLeaders
|title = Heads of the [[Communist Party of China|<span style="color:#FFDE00;<!--PRC flag's yellow-->">Communist Party of China</span>]]
+
|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]]
|titlestyle = background:#DE2910; color:#FFDE00; <!--PRC flag's red and yellow, respectively-->
+
|state = {{{state|autocollapse}}}
|image = [[Image:Flag of the Chinese Communist Party.svg|50px]]
+
|listclass = hlist
|groupstyle = background:#DE2910; color:#FFDE00; <!--ditto-->
+
|image = [[File:Danghui.svg|50px|border|Emblem of Communist Party of China]]
|liststyle  = padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous whole-->
 
  
|group1 = General Secretaries
+
|group1 = [[General Secretary of the Communist Party of China|General Secretaries]]
|list1  = {{nowrap begin}} [[Chen Duxiu]]{{·w}} <small>vacant (1922-25)</small>{{·w}} [[Chen Duxiu]]{{·w}} [[Xiang Zhongfa]]{{·w}} ''[[Wang Ming]]''{{·w}} [[Qin Bangxian]]{{·w}} [[Zhang Wentian]]{{·w}} <small>vacant (1943-82)</small>{{·w}} [[Hu Yaobang]]{{·w}} [[Zhao Ziyang]]{{·w}} [[Jiang Zemin]]{{·w}} [[Hu Jintao]]{{nowrap end}}
+
|list1  =  
 +
* [[Chen Duxiu]]
 +
* [[Xiang Zhongfa]]
 +
* [[Wang Ming]] (acting)
 +
* [[Bo Gu]]
 +
* [[Zhang Wentian]]
 +
* [[Hu Yaobang]]
 +
* [[Zhao Ziyang]]
 +
* [[Jiang Zemin]]
 +
* [[Hu Jintao]]
 +
* [[Xi Jinping]]
  
|group2 = Chairmen
+
|group2 = [[Chairman of the Communist Party of China|Chairmen]]
|list2 = {{nowrap begin}} [[Mao Zedong]]{{·w}} [[Hua Guofeng]]{{·w}} [[Hu Yaobang]] {{nowrap end}}
+
|list2 =  
 +
* [[Chen Duxiu]]
 +
* [[Mao Zedong]]
 +
* [[Hua Guofeng]]
 +
* [[Hu Yaobang]]
  
|group3 = [[Central Military Commission (People's Republic of China)|<span style="color:#FFDE00;<!--PRC flag's yellow-->">CMC chairmen</span>]]
 
|list3  = {{nowrap begin}} [[Mao Zedong]]{{·w}} [[Hua Guofeng]]{{·w}} [[Deng Xiaoping]]{{·w}} [[Jiang Zemin]]{{·w}} [[Hu Jintao]]{{nowrap end}}
 
 
|belowstyle = background:#DE2910; color:#FFDE00; <!--PRC flag's red and yellow, respectively-->
 
|below = ''Italics'' indicates acting officeholder
 
 
}}<noinclude>
 
}}<noinclude>
[[Category:People's Republic of China political leader templates|{{PAGENAME}}]]
+
{{collapsible option}}
 
+
[[Category:China political leader navigational boxes]]
[[zh:Template:中共中央历任主要负责人]]
 
 
</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.