Template:Hatnote templates
Revision as of 16:02, 22 September 2022 by Gwyneth Llewelyn (talk | contribs) (Shamelessly copied from wikipedia.org)
This documentation is transcluded from Template:Hatnote templates/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state = parameter may be used:
- |state = collapsed:
{{Hatnote templates|state=collapsed}}
to show the template collapsed, i.e., hidden apart from its title bar - |state = expanded:
{{Hatnote templates|state=expanded}}
to show the template expanded, i.e., fully visible - |state = autocollapse:
{{Hatnote templates|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
.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Hatnote templates
{
"params": {
"state": {}
}
}