Template:Clickable button

From No Subject - Encyclopedia of Psychoanalysis
Revision as of 15:06, 27 December 2020 by Riot Hero (talk | contribs) (Created page with "<span class="mw-ui-button {{#switch: {{{color|white}}} | red = mw-ui-destructive | green = mw-ui-progressive | white = | blue = mw-ui-progressive}}" role="button" aria-disable...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Button text

Template documentation[view] [edit] [history] [purge]

Example

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

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

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

Templatedata

<templatedata> { "params": { "1": { "label": "Label", "required": true }, "color": { "label": "Color of the button", "description": "Can be blue (progressive), red (destructive) or white", "suggested": true } }, "description": "Creates a OOUI styled button." } </templatedata>