Official Tower Defense Simulator Wiki
Succumb to the dark sun! Like many before you.
2,706
articles

Missing Text


Template Documentation
Portions of this template may not be visible without parameter values provided
Template CSS: styles.css

Description

This template is designed to make buttons that align with the Fandom Design principles, using the WDS Button class.

The template takes in two parameters, with the url parameter being required. Buttons with external URL will take a slightly different text color than its internal counterpart. For security reasons, the button background colors are not to be changed.

Syntax & Usage

{{Button|url = <URL>|text = <Button Text>|textcolor = <Text Color Value>}}

This template has three parameters total, though only the first one, that being url, is required.

  • url: The URL to the page. This can either be a name of a page in any namespace in the wiki, or a external URL with a HTTP or HTTPS protocol.
  • text: The text to show on the button. If it is an internal link, it will default to the url input. It will default to "Button Text" if you leave it blank on external links.
  • textcolor: The text color of the button. Defaults to white for external links and black to internal links. Accepts any HEX, RGBA and RGB colors.

Examples

{{Button|url=https://paradoxum.gg|text=Paradoxum Games}}

Paradoxum Games

Internal link, default text

{{Button|url=Snowballer}}

Snowballer

Internal link, custom text

{{Button|url=Snowballer|text=A cool tower|textcolor=orange}}

A cool tower