The Blackout Club Wiki
Advertisement
Template-info Documentation
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.

Usage

Unnamed parameters:

  • {{Button | TEXT }}
  • {{Button | TEXT | COLOR }}

Named parameters:

  • {{Button | 1= TEXT }}
  • {{Button | 1= TEXT | color= COLOR }}

Button with wikilink:

  • [[ WIKILINK | {{Button | TEXT }} ]]
  • [[ WIKILINK | {{Button | TEXT | color= COLOR }} ]]

Examples

Parameter: 1

Example: {{Button|This looks like a button}}

Result: This looks like a button

Example: [[The Blackout Club Wiki|{{Button|Main page}}]]

Result: Main page

Parameter: color

You can select three colors: white (default), blue (progressive) and red (destructive):

White (Default) example: {{Button|Button text|color=white}}

Result: Button text

Blue (Progressive) example: {{Button|Button text|color=blue}}

Result: Button text

Red (Destructive) example: {{Button|Button text|color=red}}

Result: Button text

Note: After the changes outlined in Phabricator task T110555 were implemented, {{Button|color=green}} produces the same output as {{Button|color=blue}}.

Advertisement