Template:History of England/doc

From blackwiki
< Template:History of England
Revision as of 20:31, 27 October 2013 by imported>PBS (→‎See also: display the link rather than the bar)
Jump to navigation Jump to search

Usage

If this template is used with out any parameters it displays down the right-hand side of the page (as displayed above).

If a parameter bar= is set to any value then the template displays as a bar across the page. This is the format to use when the intention is to use the template at the bottom of an article.

If bar is set eg: bar=yes the the following applies and the additional parameters are interpreted as described (if bar= is not set then the following additional parameters are ignored): Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{History of England|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{History of England|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{History of England|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.

See also

{{History of Europe templates}}