Difference between revisions of "Template:Clickable button/doc"
Jump to navigation
Jump to search
imported>Awesome Aasim (Used in an interface page) |
imported>Awesome Aasim m (typo) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{used in system}} |
{{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 07:35, 16 July 2017
| 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