Template:Button/doc

From Arknights Terra Wiki
Jump to navigation Jump to search

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.