Jump to content

Template:Religion in Scotland/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

If this template is used without any parameters in the format, {{Religion in Scotland}}, the navbox displays as displayed above.

If the parameter |sidebar= is set to any value, then the template displays as a sidebar across the length of the page on its right, depending on the use of the parameters in § Additional parameters below. This is the format to use as a sidebar at the right-hand side of an article.

For example:

{{Religion in Scotland|sidebar=yes}}

would display as a sidebar to the right of the screen:

If, as in the latter case above, |sidebar= is set to any value, then the § Additional parameters section would not apply and the visibility parameters would be ignored. If |sidebar= is not used, then these parameters function as described.

Additional parameters

[edit]

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Religion in Scotland|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Religion in Scotland|state=expanded}} will show the template expanded, i.e. fully visible.

See also

[edit]