Difference between revisions of "Template:Libertarianism sidebar"

From blackwiki
Jump to navigation Jump to search
imported>Colonies Chris
(minor fixes)
Line 2: Line 2:
 
|name = Libertarianism sidebar
 
|name = Libertarianism sidebar
 
|pretitle = Part of [[:Category:Libertarianism|a series]] on
 
|pretitle = Part of [[:Category:Libertarianism|a series]] on
|titlestyle = line-height:1.0em;font-size:200%;font-weight:normal;
+
|titlestyle = {{#ifeq:{{{1|}}}|sidebar|font-size:200%;font-weight:normal;|background:#d4af37;}}
 +
|groupstyle = background:#d4af37;<!-- only used by navbox -->
 
|title = [[Libertarianism]]
 
|title = [[Libertarianism]]
 
|imagestyle = padding-top:0.6em;
 
|imagestyle = padding-top:0.6em;
 +
|listtitlestyle = border-top:1px solid #d4af37;background:transparent;text-align:center;<!-- only used by sidebar -->
 +
|listclass = {{#ifeq:{{{1|}}}|sidebar|plainlist|hlist}}
 +
|belowstyle = {{#ifeq:{{{1|}}}|sidebar|padding-top:0.15em; border-color:#d4af37|background:#d4af37;}}
 +
|belowclass = {{#ifeq:{{{1|}}}|sidebar|plainlist|hlist}}
 
|listclass = hlist
 
|listclass = hlist
 
|expanded = {{{expanded|{{{1|}}}}}}
 
|expanded = {{{expanded|{{{1|}}}}}}

Revision as of 23:38, 28 September 2015

Template documentation

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Libertarianism sidebar |expanded=all}} or, if enabled, {{Libertarianism 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:
  •  {{Libertarianism sidebar |expanded=listname}} or, if enabled, {{Libertarianism sidebar |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "origins", "concepts", "schools", "topics" or "related"
  • For example, {{Libertarianism sidebar |expanded=origins}} or, if enabled, {{Libertarianism sidebar |origins}}