Modèle:Button

Aller à : navigation, rechercher
Language.png Cette page n'est pas encore traduite (ou pas complètement)

Cet article a besoin d'être traduit. Merci de participer au travail si vous en avez le temps et la compétence.
Si vous cherchez quelque chose à faire, regardez les autres Pages à traduire.

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