Jump to content

Template:Clickable button 2/doc: Difference between revisions

BMZtRoRvaMjD91v4 (talk | contribs)
Created page with "{{Documentation subpage}} {{template shortcut|CLB2|Click}} {{lua|Module:Clickable button 2}} {{used in system}} This template styles a link like a button, using the mediawiki.ui.button module. This expands the clickable area and tap target for the link. It can be used in the following ways, *'''Code: '''<code><nowiki>{{Clickable button 2|Main Page}}</nowiki></code> **'''Result: '''{{Clickable button 2|Main Page}} *'''Code: '''<code><nowiki>{{Clickable button 2|Main Pag..."
 
BMZtRoRvaMjD91v4 (talk | contribs)
No edit summary
Line 46: Line 46:
"description": "Defines the visual type of the button",
"description": "Defines the visual type of the button",
"example": "mw-ui-progressive, mw-ui-constructive, mw-ui-destructive"
"example": "mw-ui-progressive, mw-ui-constructive, mw-ui-destructive"
},
"color": {
"type": "string",
"description": "Alias of class",
"example": "red, green, blue"
},
},
"style": {
"style": {