Difference between revisions of "Template:Maoism sidebar/doc"

From blackwiki
Jump to navigation Jump to search
imported>Bsherr
(creating documentation subpage, recategorizing)
 
imported>Timrollpickering
m (rename cat per Wikipedia:Categories for discussion/Log/2020 April 27, replaced: "Part of a series on" sidebar templates → Sidebar templates by topic)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 +
 
== Usage ==
 
== Usage ==
{{collapsible lists option |listnames=Basic, Tendency, Maoists, International, Parties, Books, Related}}
+
{{collapsible lists option|listnames=concepts, variants, people, works, history, related}}
  
===Alternative template===
+
=== Alternative template ===
 
{{tl|Maoism}} exists as an alternative version of this template. Any content changes made here should be made there also.
 
{{tl|Maoism}} exists as an alternative version of this template. Any content changes made here should be made there also.
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
Line 10: Line 11:
 
[[Category:Communism templates]]
 
[[Category:Communism templates]]
 
[[Category:Socialism templates]]
 
[[Category:Socialism templates]]
[[Category:"Part of a series on" sidebar templates‎]]
+
[[Category:Sidebar templates by topic‎]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 18:44, 6 May 2020

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.