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

From blackwiki
Jump to navigation Jump to search
imported>Wow
imported>Wow
Line 2: Line 2:
 
<!-- 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 several navboxes:
+
Articles about [[Bernie Sanders]] are organized into several themes. Because of the large number of articles involved, full navigation is split among another navbox:
 
* {{tl|Bernie Sanders}} as a generic biography template
 
* {{tl|Bernie Sanders}} as a generic biography template
Duplication of contents across each of those should be avoided.
+
Duplication of contents across this should be avoided.
  
 
There is also a navigation sidebar, {{tl|Bernie Sanders series}}, which should only include a selection of the most relevant articles.
 
There is also a navigation sidebar, {{tl|Bernie Sanders series}}, which should only include a selection of the most relevant articles.

Revision as of 20:50, 21 March 2019

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.