Template:Mw button/sandbox
Appearance
![]() | This is the template sandbox page for Template:Mw button (diff). See also the companion subpage for test cases. |
Classes
[edit]normal:
progressive:
destructive:
Creates a non-clickable button
Parameter | Description | Type | Status | |
---|---|---|---|---|
Display text | 1 text | The button's text
| String | optional |
Class | 2 class | Class to apply to the button
| Unbalanced wikitext | optional |
Style | 3 style | CSS style to apply to the button
| Unbalanced wikitext | optional |
Usage
[edit]Use 1=
or text=
to set the button text. Use class=
or 2=
to set the button class (default progressive).