Template:Button
Jump to navigation
Jump to search
Template documentation follows |
---|
Note: the template above may sometimes be partially or fully invisible. |
Visit Template:Button/doc to edit this documentation. (How does this work?) |
This is the Infobox for buttons.
Usage
Please use this code.
{{Button |image = |articlename = |name = |bgcolor = |boxcolor = |fontcolor = }}
Example
Example:
{{Button |image = Ticket6.jpg |articlename = Speed Camera |name = Camera |bgcolor = #BACDD8 |boxcolor = #BACDD8 |fontcolor = #FFF }}
Result:
Syntax Guide
A quick reference on how to use each field:
- image
- The image used for the button. Only time the file name, not the extensions e.g. thumb, file: etc.
- articlename
- The page name e.g. Events or :Category:Events if linking to a category
- name
- Alternative to page name if, for example, the page name is a category.
- bgcolor
- The default is brown (#BACDD8). Use either a color name OR a hex color with the "#" symbol.
- boxcolor
- Default is light blue.
- fontcolor
- Default is white. This changes the text color.