Difference between revisions of "Template:History of Ireland/doc"
imported>Good Olfactory |
imported>Andrybak (categorization — the template can be both a sidebar and a navbox) |
||
| Line 29: | Line 29: | ||
[[Category:Northern Ireland templates]] | [[Category:Northern Ireland templates]] | ||
[[Category:Europe history sidebar templates by country|Ireland]] | [[Category:Europe history sidebar templates by country|Ireland]] | ||
| + | [[Category:Europe history navigational boxes by country|Ireland]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 22:14, 8 November 2020
| This is a documentation subpage for Template:History of Ireland. It contains usage information, categories and other content that is not part of the original template page. |
Usage
If this template is used without any parameters in the format,
{{History of Ireland}}, 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|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
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{History of Ireland|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{History of Ireland|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{History of Ireland|state=autocollapse}}
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