Difference between revisions of "Template:Jimmy Carter/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) --> ==C...')
 
imported>Wow
 
Line 7: Line 7:
  
 
There is also a navigation sidebar, {{tl|Jimmy Carter series}}, which should only include a selection of the most relevant articles.
 
There is also a navigation sidebar, {{tl|Jimmy Carter series}}, which should only include a selection of the most relevant articles.
 +
 +
{{collapsible option}}{{br}}For the navigation sidebar {{tl|Jimmy Carter 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||

Latest revision as of 04:06, 13 March 2019

Carter-related navigation templates

Articles about Jimmy Carter are organized into several themes. Because of the large number of articles involved, full navigation is split among several navboxes:

  • {{Jimmy Carter}} as a generic presidential biography template

Duplication of contents across each of those should be avoided.

There is also a navigation sidebar, {{Jimmy Carter 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: {{Jimmy Carter|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Jimmy Carter|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Jimmy Carter|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 {{Jimmy Carter 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)