Template:MC/Clickable button
Template page
More actions
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]
Template:Documentation header Template:Lua
This template styles a link like a button, using the Template:Cd module. This expands the clickable area and tab target for the link.
Usage
{{Clickable button
|Target page
|Label to display (optional - defaults to target page)
|class=
|style=
}}
Examples
| Template code | Generates |
|---|---|
| Normal usage: {{Clickable button|Main Page}} |
Template:Clickable button |
| Piped usage: {{Clickable button|Main Page|Cover page}} |
Template:Clickable button |
| External usage: {{Clickable button|Main Page|url=https://en.wikipedia.org}} |
Template:Clickable button |
| Destructive usage: {{Clickable button|Version history/Pre-classic|The Cave Game|class=mw-ui-destructive}}}} |
Template:Clickable button |
| Progressive usage: {{Clickable button|Version history/Pre-classic|The Cave Game|class=mw-ui-progressive}}}} |
Template:Clickable button |
es:Plantilla:Clickable button it:Template:Pulsante cliccabile nl:Sjabloon:Clickable button pt:Predefinição:Clickable button th:แม่แบบ:Clickable button
uk:Шаблон:КнопкаThe above text is transcluded from Template:MC/Clickable button/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Clickable button/doc. (View all subpages of this page.)
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Clickable button/doc. (View all subpages of this page.)