Template:Clickable button

From Not a Wiki
Revision as of 23:46, 26 July 2023 by Fifo F (talk | contribs) (From mw:Template:Clickable button)
(diff) ← Previous revision | Latest revision (diff) | Next revision → (diff)

Button text

Usage

Creates a OOUI styled button.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Labeltext 1

no description

Contentrequired
Color of the buttoncolor

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

Stringsuggested

Examples

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

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

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

text → [[target|{{Clickable button|text}}]] (for links. To add links, transclude this template inside wikilinks after the pipebar: [[target title|{{Clickable button|text}}]].