Widget

SmallButton

From MusicTechWiki


Widget to create a small button.

To make the button above the following was used:

{{#widget:SmallButton
|url=https://example.com
|text=Example dot Com
}}

The button widget takes three parameters.

  1. url=
  2. text=
  3. type= Type refers to button classes in Foundation 5 CSS. They are success (green), info (blue), alert (red), secondary (gray). There are only four colors and no others currently.
{{#widget:SmallButton
|url=https://example.com
|text=Example dot Com
|type=success "default type=success"
}}

Examples of Colors available:

{{#widget:SmallButton|url=https://example.com|text=Example dot Com|type=success}}

{{#widget:SmallButton|url=https://example.com|text=Example dot Com|type=info}}

{{#widget:SmallButton|url=https://example.com|text=Example dot Com|type=alert}}

{{#widget:SmallButton|url=https://example.com|text=Example dot Com|type=secondary}}