Jump to content

Template:Clickable button/doc: Difference between revisions

From wikiNonStop
m Reverted edits by 151.189.113.100 (talk) to last version by Krinkle
 
m 1 revision imported: Initial
 
(No difference)

Latest revision as of 05:49, 28 December 2024

Example

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}}]]. Or better use {{Clickable button 2 }} which adds links automatically)

Templatedata

Creates a OOUI styled button.

Template parameters

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

See also