Difference between revisions of "Template:History of England/doc"

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
m (→‎Usage: Typo fixing, replaced: the the → then the, typo(s) fixed: eg: → e.g.: using AWB)
imported>Geekdiva
m (→‎See also: Added missing bullet and an infobox.)
Line 11: Line 11:
  
 
==See also==
 
==See also==
{{tl|History of Europe templates}}
+
* [[:Category:United Kingdom templates]]
 +
 
 +
{{History of Europe templates}}
  
 
<includeonly>
 
<includeonly>

Revision as of 00:59, 26 March 2017

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 e.g.: bar=yes then 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