Template:Clickable button/doc: Difference between revisions

From DATA4PT WIKI
Jump to navigation Jump to search
No edit summary
 
Line 6: Line 6:


{{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 ==

Latest revision as of 18:41, 28 October 2020

Example

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

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

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

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