The wikis are now using the new authentication system.
If you did not migrate your account yet, visit https://idp-portal-info.suse.com/

Template:Button

Jump to: navigation, search

Description

Button component from Bootstrap 4. You can transform a link to a button with this template.

Parameters

  • {{{1}}} - text or link
  • {{{class}}} - HTML class
  • {{{style}}} - HTML style

Examples

With text

This is usually useless because it doesn't have any action.

{{Button|Click me}}

Click me

With link

{{Button|[[Main Page|Go to home page]]}}

Go to home page

Theme classes

{{Button|class=btn-primary|[[Main Page|Go to home page]]}}
{{Button|class=btn-secondary|[[Main Page|Go to home page]]}}
{{Button|class=btn-success|[[Main Page|Go to home page]]}}
{{Button|class=btn-danger|[[Main Page|Go to home page]]}}
{{Button|class=btn-warning|[[Main Page|Go to home page]]}}
{{Button|class=btn-info|[[Main Page|Go to home page]]}}
{{Button|class=btn-dark|[[Main Page|Go to home page]]}}
{{Button|class=btn-light|[[Main Page|Go to home page]]}}
{{Button|class=btn-link|[[Main Page|Go to home page]]}}

Go to home page Go to home page Go to home page Go to home page Go to home page Go to home page Go to home page Go to home page Go to home page