Template:Clickable-button/doc

From Gulf States Flood Help
Revision as of 15:42, 13 December 2024 by WikiAdmin (talk | contribs) (Created page with "{{documentation subpage}} == Example == {{Clickable button|color=white}} → <nowiki>{{Clickable button|color=white}}</nowiki> {{Clickable button|color=red}} → <nowiki>{{Clickable button|color=red}}</nowiki> {{Clickable button|color=blue}} → <nowiki>{{Clickable button|color=blue}}</nowiki> {{Clickable button|text}} → <nowiki>{{Clickable button|text}}</nowiki> (for links. To add links, transclude this template inside wikilinks after the pip...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information

Example

Template:Clickable button → {{Clickable button|color=white}}

Template:Clickable button → {{Clickable button|color=red}}

Template:Clickable button → {{Clickable button|color=blue}}

[[target|Template:Clickable button]] → [[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 Template:Tl 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