Difference between revisions of "Module:Hatnote templates"
Jump to navigation
Jump to search
test>Uanfala (move templates for use in article sections (rather than in lede) into a separate group; reorganise the rest) |
test>Uanfala (*{{tl|For outline}} is used only in sections) |
||
| Line 64: | Line 64: | ||
*{{tl|See also}} | *{{tl|See also}} | ||
*{{tl|See also if exists}} | *{{tl|See also if exists}} | ||
| − | + | *{{tl|For outline}} | |
| group7 = Special | | group7 = Special | ||
| list7 = | | list7 = | ||
| − | |||
*{{tl|Broader}} | *{{tl|Broader}} | ||
*{{tl|See introduction}} | *{{tl|See introduction}} | ||
Revision as of 00:51, 18 April 2020
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 for VisualEditor
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| State | state | no description | Unknown | optional |
See also
| The above documentation is transcluded from Module:Hatnote templates/doc. (edit | history) Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this module. |