Template:Button

From Art Handling
Revision as of 18:40, 26 March 2020 by Jpadfield (talk | contribs) (Created page with "<includeonly>{{#if: {{{page|}}}| {{{page}}}{{!}}{{ButtonSpan | text={{{text|}}} | style={{{style|}}} | colour={{{colour|}}} | font-size={{{font-size|}}} | font-style={{{font...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template allows you to display a clickable button.

Template Code
 {{Button
| page = Internal wiki-page link (OPTIONAL: Checked first.) 
| link = External Web link (OPTIONAL: Only considered if '''page''' is not entered.)
| text = Button Text
| style = big, medium, small, biground, mediumround or smallround
| colour = black, gray, white, orange, red, blue, rosy, green or pink
| font-size = 120%, 12em, 14px, etc. (OPTIONAL) 
| font-style = normal, italic, oblique, initial or inherit (OPTIONAL) 
| font-weight = normal, bold, bolder, lighter, number, initial or inherit (OPTIONAL) 
| button-width = 100%, 22em, 140px, etc. (OPTIONAL)
}}
Template Examples
 {{Button
| page=Main Page
| text=Main Page
| style=biground
| colour=orange
| font-size=120%
| font-weight=bold
}}
Main Page
 {{Button
| link = http://research.ng-london.org.uk
| text = Research Wiki
| style=big
| colour=red
| font-size=120%
| font-weight=bold}}
Research Wiki
 {{Button
|page=MediaWiki:Common.css
|text=Common CSS
|style=smallround
|colour=rosy}}
Common CSS
 {{Button
|page=Main Page
|text=Lets Go Home
|style=medium
|colour=white
|button-width=350px}}
Lets Go Home