Template:Clickable button/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{documentation subpage}} == Example == {{Clickable button|color=white}} → <nowiki>{{Clickable button|color=white}}</nowiki> {{Clickable button|color=red}} → <nowiki>{{C...") |
|||
Line 7: | Line 7: | ||
{{Clickable button|color=blue}} → <nowiki>{{Clickable button|color=blue}}</nowiki> | {{Clickable button|color=blue}} → <nowiki>{{Clickable button|color=blue}}</nowiki> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"color": { | |||
"label": "Color of the button", | |||
"description": "Can be blue (progressive), red (destructive) or white", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"color" | |||
] | |||
} | |||
</templatedata> | |||
== Templatedata == | == Templatedata == |
Revision as of 18:39, 28 October 2020
Template:Documentation subpage
Example
→ {{Clickable button|color=white}}
→ {{Clickable button|color=red}}
→ {{Clickable button|color=blue}}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Color of the button | color | Can be blue (progressive), red (destructive) or white | Unknown | suggested |
Templatedata
Creates a OOUI styled button.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Label | 1 | no description | Unknown | required |
Color of the button | color | Can be blue (progressive), red (destructive) or white | Unknown | suggested |