Jump to content

User:WalnutBloom/templates/big customisable button

From Wikipedia, the free encyclopedia
This is a big customisable button template.


However, an invalid {{{colour}}} parameter was set, or no {{{bottomtext}}} parameter was set.

Documentation

[edit]

Info

[edit]

This template allows for customised versions of already existent big button templates, or completely new ones!

Parameters

[edit]

{{{toptext}}} (text above the button), {{{link}}} (the page that the button brings you to when clicked on) and {{{bottomtext}}} (text below the button) are automatically set by {{{colour}}} (the colour of the button image), but they can be overridden. Colours with automatic values are:

  • Red
  • Orange
  • Yellow
  • Lime
  • Green
  • Cyan
  • Turquoise
  • BlueSky
  • Blue
  • Fuchsia
  • Purple

Colours without automatic values are:

  • GreenYellow
  • GreenForest
  • GreenBlue
  • Pink
  • Violet
  • Black
  • Brown
  • White
  • Red 2 (unnamed; unsupported as it requires substantial {{#if:}} code rewrites)

{{{size}}} is the size of the button image, defaulting to 200 pixels.

{{{float}}} allows you to float (align) the template to the left, center or right.