Template:Clickable button/doc: Difference between revisions

From DATA4PT WIKI
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

Button text → {{Clickable button|color=white}}

Button text → {{Clickable button|color=red}}

Button text → {{Clickable button|color=blue}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Color of the buttoncolor

Can be blue (progressive), red (destructive) or white

Unknownsuggested

Templatedata

Creates a OOUI styled button.

Template parameters

ParameterDescriptionTypeStatus
Label1

no description

Unknownrequired
Color of the buttoncolor

Can be blue (progressive), red (destructive) or white

Unknownsuggested