Template:Button

From Endfield Talos Wiki
Jump to navigation Jump to search

This template is used to display a semi-customizable text button with a hyperlink (can be disabled), which is only used on certain templates due to transclusion issues.

Usage

Simply add {{Button}}.

Syntax

Variable Parameters
{{{1}}} The button's text and hyperlink.
{{{2}}} Change the button's displayed text to the given one while keeping the hyperlink.
bgcolor Change the button's color to the specified color (can be X11 names or RGB codes).
The default color is white.
color Change the text's color to the specified color (can be X11 names or RGB codes).
The default color is black.
font Change the text's font to the specified font name.
nolink Set this to "true" to remove the hyperlink, making {{{2}}} no longer necessary.