Difference between revisions of "Template:GUI widgets"
Jump to navigation
Jump to search
Template documentation
imported>Рассилон (Category:Software templates → Category:Software navbox templates, {{{state|autocollapsed}}} parameter, inline documentation) |
imported>Kriomet (replace "light switch" with "toggle switch") |
||
| Line 23: | Line 23: | ||
* [[Date picker]] | * [[Date picker]] | ||
* [[Grid view]] | * [[Grid view]] | ||
| − | * [[ | + | * [[Toggle switch (widget)|Toggle switch]] |
* [[List box]] | * [[List box]] | ||
* [[List builder]] | * [[List builder]] | ||
Latest revision as of 00:13, 24 December 2020
Initial visibility: currently defaults to autocollapse
To set this template's initial visibility, the |state= parameter may be used:
|state=collapsed:{{GUI widgets|state=collapsed}}to show the template collapsed, i.e., hidden apart from its title bar|state=expanded:{{GUI widgets|state=expanded}}to show the template expanded, i.e., fully visible|state=autocollapse:{{GUI widgets|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.
List of the types of widgets available in Graphical User Interfaces
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| State | state | no description
| Line | optional |
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |