Difference between revisions of "Template:Communist parties"

From blackwiki
Jump to navigation Jump to search
imported>Thespoondragon
m
Line 2: Line 2:
 
|name = Communist parties
 
|name = Communist parties
 
|title = [[List of communist parties|{{color|#ffd700|Communist parties}}]]
 
|title = [[List of communist parties|{{color|#ffd700|Communist parties}}]]
|titlestyle = background:#C00;color:#ffd700;
+
|titlestyle = background:#DD0000;color:#ffd700;
 
|image=[[File:Hammer and sickle red on transparent.svg|90px|Hammer and sickle]]
 
|image=[[File:Hammer and sickle red on transparent.svg|90px|Hammer and sickle]]
 
|imagestyle = padding:0.6em 0 0.9em;
 
|imagestyle = padding:0.6em 0 0.9em;
|listtitlestyle = border:1px solid #ffd700;background:#C00;text-align:center;color:#ffd700;
+
|listtitlestyle = border:1px solid #ffd700;background:#DD0000;text-align:center;color:#ffd700;
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|expanded = {{{expanded|{{{1|}}}}}}
  

Revision as of 07:34, 9 November 2018

This template lists currently existing communist parties, with a few historical ones of note added.

Usage

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Communist parties |expanded=all}} or, if enabled, {{Communist parties |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Communist parties |expanded=listname}} or, if enabled, {{Communist parties |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "Africa", "Americas", "Asia", "Europe", "Oceania" or "Related"