Content added Content deleted
(Added note about phab:T110555) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{doc-sub}} |
|||
{{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. |
||
Examples: |
Examples: |
||
:<code><nowiki>{{Clickable button|This is a button}}</nowiki></code> |
:<code><nowiki>{{Clickable button|This is a button}}</nowiki></code> |
||
produces {{Clickable button|This is a button}}<br/> |
produces {{Clickable button|This is a button}}<br/> |
||
Line 30: | Line 30: | ||
==Notes== |
==Notes== |
||
{{reflist|group=note}} |
{{reflist|group=note}} |
||
{{Button templates}} |
|||
<includeonly> |
<includeonly> |
||
<!-- Categories and interwikis go here: --> |
<!-- Categories and interwikis go here: --> |
||
[[Category: |
[[Category:Button templates]] |
||
[[Category:Wikipedia button templates]] |
|||
</includeonly> |
</includeonly> |
Latest revision as of 00:43, 28 March 2020
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. |
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