Widget:ExternalLinkButton

From Open Energy Information

Bootstrap styled button for launching links in a new browser tab (_blank)

Use Widget:LinkButton for launching a link in the same target/browser tab.

Parameters Include:
  • action - url to link to
  • value - button text
  • class - add additional css classes, separate multiple classes with spaces (i.e.- btn-primary)
  • style - add style elements, cannot change button color with this (optional)
Examples

Default Button

Visit FWA

{{#Widget:ExternalLinkButton | action=http://www.thefwa.com | value=Visit FWA}}



Primary Button

Visit FWA

{{#Widget:ExternalLinkButton | action=http://www.thefwa.com | value=Visit FWA | class=btn-primary}}