Template:Clickable button/doc
< Template:Clickable button
Jump to navigation
Jump to search
Revision as of 07:35, 16 July 2017 by imported>Awesome Aasim (typo)
| 40x40px | This template is used in system messages. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes on the talk page before implementing them. |
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:[note 1]
- red:
Notes