MediaWiki/Bootstrap/Button: Unterschied zwischen den Versionen

Aus Foxwiki
Wechseln zu:Navigation, Suche
Keine Bearbeitungszusammenfassung
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
== Button ==
== Button ==
; Code
; bootstrap_button
<syntaxhighlight lang="html" highlight="" line copy>
{{#bootstrap_button: primary | color=primary}}
<button type="button" class="btn btn-primary">Primary</button>
{{#bootstrap_button: secondary | color=secondary}}
<button type="button" class="btn btn-secondary">Secondary</button>
{{#bootstrap_button: danger | color=danger}}
<button type="button" class="btn btn-success">Success</button>
{{#bootstrap_button: warning | color=warning}}
<button type="button" class="btn btn-danger">Danger</button>
{{#bootstrap_button: info | color=info}}
<button type="button" class="btn btn-warning">Warning</button>
{{#bootstrap_button: light | color=light}}
<button type="button" class="btn btn-info">Info</button>
{{#bootstrap_button: dark | color=dark}}
<button type="button" class="btn btn-light">Light</button>
{{#bootstrap_button: link | color=link}}
<button type="button" class="btn btn-dark">Dark</button>


<button type="button" class="btn btn-link">Link</button>
</syntaxhighlight>
; bootstrap_button:
{{#bootstrap_button: Chameleon | color=primary}}
{{#bootstrap_button: Medik | color=secondary | text=Medik Skin }}
{{#bootstrap_button: Tweeki | color=info | text=Tweeki Skin }}


; Code
; Code
<syntaxhighlight lang="html" highlight="" line copy>
<syntaxhighlight lang="html" highlight="" line copy>
{{#bootstrap_button: Chameleon | color=primary}}
{{#bootstrap_button: primary | color=primary}}
{{#bootstrap_button: Medik | color=secondary | text=Medik Skin }}
{{#bootstrap_button: secondary | color=secondary}}
{{#bootstrap_button: Tweeki | color=info | text=Tweeki Skin }}
{{#bootstrap_button: danger | color=danger}}
{{#bootstrap_button: warning | color=warning}}
{{#bootstrap_button: info | color=info}}
{{#bootstrap_button: light | color=light}}
{{#bootstrap_button: dark | color=dark}}
{{#bootstrap_button: link | color=link}}
</syntaxhighlight>
</syntaxhighlight>
[[Kategorie:MediaWiki/Bootstrap]]

Aktuelle Version vom 7. August 2026, 12:13 Uhr

Button

bootstrap_button

primary secondary danger warning info light dark link


Code
{{#bootstrap_button: primary | color=primary}}
{{#bootstrap_button: secondary | color=secondary}}
{{#bootstrap_button: danger | color=danger}}
{{#bootstrap_button: warning | color=warning}}
{{#bootstrap_button: info | color=info}}
{{#bootstrap_button: light | color=light}}
{{#bootstrap_button: dark | color=dark}}
{{#bootstrap_button: link | color=link}}