Difference between revisions of "Template:Clickable button/doc"
Jump to navigation
Jump to search
imported>Auric (→top) |
imported>WOSlinker m (add {{documentation subpage}}) |
||
| Line 1: | Line 1: | ||
| + | {{documentation subpage}} | ||
{{template shortcut|CLB|clickb}} | {{template shortcut|CLB|clickb}} | ||
This template creates an area with the visual appearance of a button. This area can be placed inside a wikilink to give the link the appearance of a button, and expand its clickable size and tap target. | This template creates an area with the visual appearance of a button. This area can be placed inside a wikilink to give the link the appearance of a button, and expand its clickable size and tap target. | ||
Revision as of 10:47, 29 October 2018
| 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 an area with the visual appearance of a button. This area can be placed inside a wikilink to give the link the appearance of a button, and expand its clickable size and tap target.
There are two editable parameters. The first one, an unnamed one, sets the text inside the area.
Examples:
{{Clickable button|This looks like a button}}produces[[Talk:Main Page|{{Clickable button|Main page talk page}}]]produces
The other one, named "color", allows you to change the color of the area. You can select between three colors: white (default), blue and red.
To change the color of the area, 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