SmallButton
From MusicTechWiki
This template creates a button for linking to an external website or another page on MusicTechWiki. You can use any url with:
- http
- https
or a pagename on MTW,
- Music-Theory
- Resources:Music-Theory
Parameters
This template takes 3 parameters
Parameter | Allowed | Default |
---|---|---|
{{{1}}} {{SmallButton|https://www.example.com}} or {{SmallButton|1=https://www.example.com}} or {{SmallButton|Home}} |
external website url ...or ...a MusicTechWiki Pagename |
none |
{{{2}}} {{SmallButton|https://www.example.com|Click Here}} or {{SmallButton|https://www.example.com|2=Click Here}} |
Text of Button eg. Click Here | Go Here |
color {{SmallButton|https://www.example.com|Click Here|color=blue}} | green, blue, red, grey, or gray | green |
Examples
Here are some examples of use:
- {{SmallButton|http://www.example.com|Example Button}}. External url button with text "Example Button" and default color of green.
- {{SmallButton|https://www.example.com|color=blue}}. External url button with default text and blue button.
- {{SmallButton|Home|Go Home|color=red}}. MTW page, Home, text of button is "Go Home" using a red button.
- {{SmallButton|Mixing:52A_Mixing1_-_Home|Go to 52A Mixing 1 Home|color=gray}}. MTW page, text of button is "Go to 52A Mixing 1 Home" using a gray button.