Template:Simple button/doc

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

This template creates a simple clickable button. There are two editable parameters. The first one, an unnamed one, is used to create the text of the button. It can support wikilinks.

Examples:

{{Simple button|This is a button}}

produces This is a button

{{Simple button|[[Talk:Main page|Main page talk page]]}}

produces Main page talk page

The other one, named "color", allows you to change the color of the button. You can select between four colors: white (default), green, blue and red.

To change the color of a button, you have to add the color parameter followed by the color name, like this: {{Simple button|Text|color=blue}}.

Examples:

  • white (default):

Button text

  • blue:

Button text

  • green:

Button text

  • red:

Button text