Template:Button
Jump to navigation
Jump to search
Go on
- Description
- This creates a blue button by default.
- It is a simplified version of the Clickable button 2 in Wikipedia.
- Syntax
- There are several variables for customization.
- background= <plain background colour of button>
- gradient= <gradient background colour of button, override background= >
- link= <internal link redirected by the button>
- elink= <external link redirected by the button, must start with http://>
- text= <text shown in button>
- Example
- Normal example
{{button|link=Wikia Templates|text=Templates Wikia}}
gives Templates Wikia
{{button|elink=http://www.google.com|text=Google}}
gives Google
- Plain blue color preset
{{button|blue|link=Wikia Templates|text=Templates Wikia}}
gives Templates Wikia
- Plain red color preset
{{button|red|link=Wikia Templates|text=Templates Wikia}}
gives Templates Wikia
- Customisable gradient color
{{button|gradient=#DA5751, #911AAB|link=Wikia Templates|text=Templates Wikia}}
gives Templates Wikia
- Customisable plain color
{{button|background=#911AAB|gradient=none|link=Wikia Templates|text=Templates Wikia}}
gives Templates Wikia