Difference between revisions of "Template:Marxism sidebar"

From blackwiki
Jump to navigation Jump to search
imported>Гармонический Мир
Line 5: Line 5:
 
|title = [[Marxism]]
 
|title = [[Marxism]]
 
|image = [[File:Marx and Engels.jpg|180px<!-- No larger than 180px, please. -->|Karl Marx and Friedrich Engels]]
 
|image = [[File:Marx and Engels.jpg|180px<!-- No larger than 180px, please. -->|Karl Marx and Friedrich Engels]]
|listtitlestyle = text-align:center;
+
|listtitlestyle = background:transparent;border-top:1px solid #aaa;text-align:center;
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|expanded = {{{expanded|{{{1|}}}}}}
 
<!------------------------ Works. -------------------------->
 
<!------------------------ Works. -------------------------->

Revision as of 03:07, 17 August 2019

This template includes collapsible lists.

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