Difference between revisions of "Template:Maoism sidebar"

From blackwiki
Jump to navigation Jump to search
imported>S1d6arrett23
imported>Гармонический Мир
(Extra decoration)
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 = background:transparent;border-top:1px solid #aaa;text-align:center;
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|list1name = concepts
 
|list1name = concepts
Line 113: Line 113:
 
<!-- Alphabetical. -->
 
<!-- Alphabetical. -->
 
|belowclass = plainlist
 
|belowclass = plainlist
|belowstyle = font-weight:normal; border-top:1px solid #CC0000; border-bottom:none;
 
 
|below =
 
|below =
 
* {{portal-inline|China|size=tiny}}
 
* {{portal-inline|China|size=tiny}}
Line 119: Line 118:
 
* {{portal-inline|Socialism|size=tiny}}
 
* {{portal-inline|Socialism|size=tiny}}
 
* {{portal-inline|Politics|size=tiny}}
 
* {{portal-inline|Politics|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 12:13, 10 September 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.