Difference between revisions of "Template:Clickable Button"

From Craftland Minecraft Aether Server
Jump to: navigation, search
(Created page with "<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}" role="button" aria-disabl...")
 
m
 
Line 1: Line 1:
 
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{1|Button text}}}</span>
 
<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-constructive | white = | blue = mw-ui-progressive}}" role="button" aria-disabled="false">{{{1|Button text}}}</span>
<noinclude>
+
 
<templatedata>
+
{{Clickable Button|color=blue|Example Blue|url=http://en.wikipedia.org}}
{
+
"params": {
+
"1": {
+
"label": "Label",
+
"required": true
+
},
+
"color": {
+
"label": "Color of the button",
+
"description": "Can be blue (progressive), red (destructive), green (constructive) or white",
+
"suggested": true
+
}
+
},
+
"description": "Creates a OOui styled button."
+
}
+
</templatedata>
+
</noinclude>
+

Latest revision as of 14:36, 5 May 2018

Button text

Example Blue

Template loop detected: Template:Clickable Button