Widget

Button

From MusicTechWiki


Widget to create a button.

To make the button above the following was used:

{{#widget:Button
|url=https://example.com
|text=Example . 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:Button
|url=https://example.com
|text=Example dot Com
|type=success "default type=success"
}}

Examples of Colors available:

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

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

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

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