Template:Clickable Button: Difference between revisions
(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...") |
(No difference)
|
Revision as of 02:20, 21 September 2023
Template:Documentation subpage
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Label | text 1 | no description | Content | required |
Color of the button | color | Can be blue (progressive), red (destructive) or white | String | suggested |