Difference between revisions of "Template:Maoism sidebar"

From blackwiki
Jump to navigation Jump to search
imported>MarioGom
(bigger title as the other templates, overall with not affected)
Line 6: Line 6:
 
|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]]
|listtitlestyle = border-top:1px solid #cc0000;background:transparent;text-align:center;
+
|listtitlestyle = border-top:1px solid #CC0000;background:transparent;text-align:center;
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|list1name = Concepts
 
|list1name = Concepts
Line 110: Line 110:
 
<!-- Alphabetical. -->
 
<!-- Alphabetical. -->
 
|belowclass = plainlist
 
|belowclass = plainlist
|belowstyle = font-weight:normal
+
|belowstyle = font-weight:normal; border-top:1px solid #CC0000; border-bottom:none;
 
|below =
 
|below =
 
* {{portal-inline|Communism|size=tiny}}
 
* {{portal-inline|Communism|size=tiny}}
 
* {{portal-inline|Politics|size=tiny}}
 
* {{portal-inline|Politics|size=tiny}}
 
* {{portal-inline|Socialism|size=tiny}}
 
* {{portal-inline|Socialism|size=tiny}}
 +
|navbarstyle = border-top:1px solid #CC0000;
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->
 
</noinclude>
 
</noinclude>

Revision as of 19:30, 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.