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

From blackwiki
Jump to navigation Jump to search
imported>Wow
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==S...')
 
imported>Wow
Line 7: Line 7:
  
 
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.
 +
 +
{{collapsible option}}{{br}}For the navigation sidebar {{tl|Bernie Sanders series}}, the {{para|state}} parameter has no effect; however, the {{para|expanded}} parameter can have the following values to expand their respective sections on specific pages:
 +
*{{para|expanded|Campaigns}} (for the '''Presidential campaigns''' section)
  
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||

Revision as of 04:08, 13 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 several navboxes:

Duplication of contents across each of those 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.

For the navigation sidebar {{Bernie Sanders series}}, the |state= parameter has no effect; however, the |expanded= parameter can have the following values to expand their respective sections on specific pages:

  • |expanded=Campaigns (for the Presidential campaigns section)