Difference between revisions of "Template:CCPLeaders"

From blackwiki
Jump to navigation Jump to search
imported>Saturdayopen
(Undid revision 979526722 by Saturdayopen (talk))
 
(14 intermediate revisions by 12 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|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Leaders]] of the [[Communist Party of China|<span style="color:#FFDE00;<!--CPC 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]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
|titlestyle = background:#DE2910; color:#FFDE00; <!--CPC flag's red and yellow, respectively-->
+
|image = [[File:Danghui.svg|50px|border|Emblem of Communist Party of China]]
|image = [[Image:Flag of the Chinese Communist Party.svg|100px]]
 
|groupstyle = background:#DE2910; color:#FFDE00; <!--ditto-->
 
  
|group1 = [[List of leaders of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Leaders]]
+
|group1 = [[General Secretary of the Communist Party of China|General Secretaries]]
|list1 =  
+
|list1 =  
* <small>Before PRC founded</small>
 
 
* [[Chen Duxiu]]
 
* [[Chen Duxiu]]
* [[Qu Qiubai]]
 
 
* [[Xiang Zhongfa]]
 
* [[Xiang Zhongfa]]
* [[Li Lisan]]
+
* [[Wang Ming]] (acting)
* [[Wang Ming]]
 
 
* [[Bo Gu]]
 
* [[Bo Gu]]
 
* [[Zhang Wentian]]
 
* [[Zhang Wentian]]
* <br/><small>After PRC founded</small>
 
* [[Mao Zedong]]
 
* [[Hua Guofeng]]
 
* [[Deng Xiaoping]]
 
* [[Jiang Zemin]]
 
* [[Hu Jintao]]
 
* [[Xi Jinping]]
 
 
|group2 = [[General Secretary of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">General Secretaries]]
 
|list2  =
 
* [[Chen Duxiu]]
 
* <small>vacant (1922–25)</small>
 
* [[Chen Duxiu]]
 
* [[Xiang Zhongfa]]
 
* [[Bo Gu]]
 
* [[Zhang Wentian]]
 
* <small>vacant (1943–82)</small>
 
 
* [[Hu Yaobang]]
 
* [[Hu Yaobang]]
 
* [[Zhao Ziyang]]
 
* [[Zhao Ziyang]]
Line 41: Line 19:
 
* [[Xi Jinping]]
 
* [[Xi Jinping]]
  
|group3 = [[Chairman of the Communist Party of China|<span style="color:#FFDE00;<!--CPC flag's yellow-->">Chairmen]]
+
|group2 = [[Chairman of the Communist Party of China|Chairmen]]
|list3 =  
+
|list2 =  
 
* [[Chen Duxiu]]
 
* [[Chen Duxiu]]
* <small>vacant (1925–43)</small>
 
 
* [[Mao Zedong]]
 
* [[Mao Zedong]]
 
* [[Hua Guofeng]]
 
* [[Hua Guofeng]]
 
* [[Hu Yaobang]]
 
* [[Hu Yaobang]]
* <small>abolished from 1982</small>
 
  
|group4 = [[Central Advisory Commission|<span style="color:#FFDE00;<!--CPC flag's yellow-->">CAC Chairmen]]
+
}}<noinclude>
|list4 =
 
* [[Deng Xiaoping]]
 
* [[Chen Yun]]
 
* <small>abolished from 1992</small>
 
}}
 
<includeonly>{{#ifeq:{{{1}}}|nocat||[[Category:General Secretaries and Chairmen of the Communist Party of China]]}}</includeonly>
 
<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:China political leader navigational boxes]]
 
[[Category:China political leader navigational boxes]]
 
 
</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.