Template:National parks in the UK/doc

Source: Wikipedia, the free encyclopedia.

Usage

If this template is used without any parameters in the format, {{National parks in the UK}}, 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:

{{National parks in the UK|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

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:

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