Difference between revisions of "Module:Hatnote templates/doc"
Jump to navigation
Jump to search
test>Milker |
test>Redrose64 (move templatedata from template) |
||
| Line 2: | Line 2: | ||
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | ||
{{Collapsible option|statename=optional}} | {{Collapsible option|statename=optional}} | ||
| + | |||
| + | == TemplateData for [[mw:Extension:VisualEditor|VisualEditor]] == | ||
| + | <templatedata> | ||
| + | { | ||
| + | "params": { | ||
| + | "state": {} | ||
| + | } | ||
| + | } | ||
| + | </templatedata> | ||
== See also == | == See also == | ||
| Line 8: | Line 17: | ||
<includeonly> | <includeonly> | ||
<!-- Add categories below this line, and interwikis at Wikidata --> | <!-- Add categories below this line, and interwikis at Wikidata --> | ||
| − | [[ | + | [[Category:Disambiguation and redirection templates| ]] |
| − | [[ | + | [[Category:Documentation see also templates]] |
</includeonly> | </includeonly> | ||
Revision as of 12:42, 10 January 2020
| This is a documentation subpage for Module:Hatnote templates. It contains usage information, categories and other content that is not part of the original module page. |
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