Difference between revisions of "Template:Clickable button/doc"
Jump to navigation
Jump to search
imported>TheDJ (hmm. we should fix this. These colors are not set in stone and can be skin dependent. They don't have colors, but are progressive and/or destructive.) |
imported>Matt Fitzpatrick (removed {{used in system}} tag, this template appears to have 0 transclusions in MediaWiki namespace Special:WhatLinksHere/Template:Clickable button) |
||
| Line 1: | Line 1: | ||
| − | |||
{{template shortcut|CLB|clickb}} | {{template shortcut|CLB|clickb}} | ||
This template creates a clickable button. There are two editable parameters. The first one, an unnamed one, is used to create the text of the button. It can support wikilinks. | This template creates a clickable button. There are two editable parameters. The first one, an unnamed one, is used to create the text of the button. It can support wikilinks. | ||
Revision as of 20:33, 13 October 2017
This template creates a clickable button. There are two editable parameters. The first one, an unnamed one, is used to create the text of the button. It can support wikilinks.
Examples:
{{Clickable button|This is a button}}
produces
{{Clickable button|[[Talk:Main page|Main page talk page]]}}
produces
The other one, named "color", allows you to change the color of the button. You can select between three colors: white (default), blue and red.
To change the color of a button, you have to add the color parameter followed by the color name, like this: {{clickable button|Text|color=blue}}.
Examples:
- white (default):
- blue aka. progressive:[note 1]
- red aka. destructive:
Notes