Template:Clickable button/doc: Difference between revisions
Jump to navigation
Jump to search
Template:Clickable button/doc>Krinkle No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 19:29, 31 January 2024
This is a documentation subpage for Template:Clickable button. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
Example
→ {{Clickable button|color=white}}
→ {{Clickable button|color=red}}
→ {{Clickable button|color=blue}}
→ [[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
<templatedata> { "params": { "color": { "label": "Color of the button", "description": "Can be blue (progressive), red (destructive) or white", "suggested": true, "type": "string" }, "text": { "aliases": [ "1" ], "label": "Label", "type": "content", "required": true } }, "description": "Creates a OOUI styled button.", "paramOrder": [ "text", "color" ], "format": "inline" } </templatedata>
See also
- {{Clickable button 2}} for