Template:Button
Jump to navigation
Jump to search
Template documentation Portions of the template sample may not be visible without values provided. | |||
---|---|---|---|
[View] | [Edit] | [History] | [Refresh] |
This template is used to display a semi-customizable text button with an optional hyperlink.
Usage
Simply add {{Button}}
.
Syntax
Variable | Parameters |
---|---|
{{{1}}}
|
The text. If link is set to "true", this will be the hyperlink.
|
{{{2}}}
|
If link is set to "true", this will be the displayed text.
|
bg
|
Change the background color to the specified color (can be X11 names or RGB codes). The default color is white .
|
color
|
Change the text color to the specified color (can be X11 names or RGB codes). The default color is black .
|
font
|
Change the font to the specified font name. |
size
|
Change the text size to the specified. |
link
|
Set this to "true" to add a hyperlink to the text. |