Difference between revisions of "Template:Bernie Sanders/doc"

From blackwiki
Jump to navigation Jump to search
imported>Wow
imported>Paine Ellsworth
(add categories)
 
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]]) -->
 +
 
==Sanders-related navigation templates==
 
==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:
 
Articles about [[Bernie Sanders]] are organized into several themes. Because of the large number of articles involved, full navigation is split among another navbox:
Line 13: Line 14:
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
{{DEFAULTSORT:Sanders, Bernie}}
 
{{DEFAULTSORT:Sanders, Bernie}}
<!-- Categories for specific templates using this common documentation page should be placed at the bottom of each relevant template -->
+
[[Category:United States senator navigational boxes]]
 +
[[Category:Bernie Sanders|τ]]
 +
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 23:21, 21 July 2020

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.