Difference between revisions of "Template:Maoism sidebar"

From blackwiki
Jump to navigation Jump to search
imported>MarioGom
Line 2: Line 2:
 
|name = Maoism sidebar
 
|name = Maoism sidebar
 
|pretitle = Part of a [[:Category:Maoism|series]] on
 
|pretitle = Part of a [[:Category:Maoism|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 = padding-bottom:0;font-size:140%<!-- No larger, please, otherwise template's overall width compromised. -->;font-weight:medium;color:white;
|title = [[Maoism|{{color|gold|Maoism}}]]
+
|title = [[Maoism]]
 
|imagestyle = padding:0.4em 0 0.4em;
 
|imagestyle = padding:0.4em 0 0.4em;
 
|image = [[File:Maoflag1.svg|100px|link=Mao Zedong]]
 
|image = [[File:Maoflag1.svg|100px|link=Mao Zedong]]
|headingstyle = background:#CC0000;color:white;padding-top:0;
+
|listtitlestyle = border-top:1px solid #cc0000;background:transparent;text-align:center;
|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 16:46, 16 August 2019

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.