Difference between revisions of "Template:Maoism sidebar"

From blackwiki
Jump to navigation Jump to search
Line 3: Line 3:
 
|pretitle=Part of a series on
 
|pretitle=Part of a series on
 
|titlestyle=background:#CC0000;padding-bottom:0;font-size:140%<!-- No larger, please, otherwise template's overall width compromised. -->;font-weight:medium;color:white;
 
|titlestyle=background:#CC0000;padding-bottom:0;font-size:140%<!-- No larger, please, otherwise template's overall width compromised. -->;font-weight:medium;color:white;
|title=[[Maoism|{{color|white|Maoism}}]]
+
|title=[[Maoism|{{color|gold|Maoism}}]]
 
|imagestyle=padding:0.4em 0 0.4em;
 
|imagestyle=padding:0.4em 0 0.4em;
 
|image=[[File:Maoflag1.svg|150px]]
 
|image=[[File:Maoflag1.svg|150px]]
 
|headingstyle=background:#CC0000;color:white;padding-top:0;
 
|headingstyle=background:#CC0000;color:white;padding-top:0;
|listtitlestyle=background:#CC0000;color:white;padding-top:0.1em;padding-left:0.4em;
+
|listtitlestyle=background:#CC0000;color:gold;padding-top:0.1em;padding-left:0.4em;
 
|expanded={{{expanded|{{{1|}}}}}}
 
|expanded={{{expanded|{{{1|}}}}}}
 
|list1name=Concepts
 
|list1name=Concepts

Revision as of 17:52, 26 July 2019

50px Template documentation[view] [edit] [history] [purge]

Usage

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Maoism sidebar |expanded=all}} or, if enabled, {{Maoism sidebar |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:
  •  {{Maoism sidebar |expanded=listname}} or, if enabled, {{Maoism sidebar |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • concepts, variants, people, works, history, related

Alternative template

{{Maoism}} exists as an alternative version of this template. Any content changes made here should be made there also.