Template:History of Ireland sidebar/doc
This is a documentation subpage for Template:History of Ireland sidebar. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]If this template is used without any parameters in the format,
{{History of Ireland sidebar}}
, the sidebar displays down the right-hand side of the page as displayed above.
If the parameter |bar=
is set to any value, then the template displays as a bar or box across the width of the page, depending on the use of the parameters in § Additional parameters below. This is the format to use as a navbox at the bottom of an article.
- For example:
{{History of Ireland sidebar|bar=yes}}
- would display as:
If, as in the latter case above, |bar=
is used, then the § Additional parameters section applies and the visibility parameters function as described. If |bar=
is not used, then those parameters are ignored.
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:
{{History of Ireland sidebar|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{History of Ireland sidebar|state=expanded}}
will show the template expanded, i.e. fully visible.