Difference between revisions of "Template:Bernie Sanders"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(include state= parameter + categories to /doc page)
imported>Paine Ellsworth
m (remove)
Line 9: Line 9:
 
* [[United States House of Representatives|U.S. Representative]] [[List of United States Representatives from Vermont|from Vermont's]] [[Vermont's at-large congressional district|at-large district]] (1991–2007)
 
* [[United States House of Representatives|U.S. Representative]] [[List of United States Representatives from Vermont|from Vermont's]] [[Vermont's at-large congressional district|at-large district]] (1991–2007)
 
* [[List of mayors of Burlington, Vermont|Mayor of Burlington]] (1981–1989)
 
* [[List of mayors of Burlington, Vermont|Mayor of Burlington]] (1981–1989)
|state = {{{state|autocollapse}}}
 
  
 
|image = [[File:Bernie Sanders.jpg|80px|link=|alt=]]
 
|image = [[File:Bernie Sanders.jpg|80px|link=|alt=]]

Revision as of 23:23, 21 July 2020

Template documentation[view] [edit] [history] [purge]

Sanders-related navigation templates

Articles about Bernie Sanders are organized into several themes. Because of the large number of articles involved, full navigation is split among another navbox:

Duplication of contents across this should be avoided.

There is also a navigation sidebar, {{Bernie Sanders series}}, which should only include a selection of the most relevant articles.

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Bernie Sanders|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Bernie Sanders|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Bernie Sanders|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.