Badge extension example 1
From Bootstrap for MediaWiki
| Component | ||
|---|---|---|
| Name | Badge | |
| Description | Badge examples using the BootstrapComponents extension | |
| Provider | BootstrapComponents | |
| Reference | BootstrapComponents Extension docs - badge | |
| Styling | For all possible color styles and corresponding examples, see colors. | |
Basic badge
- Code
Some text that will be followed by a badge. {{#bootstrap_badge: 5 |color = secondary }}
- Result
Some text that will be followed by a badge. 5
Pill
- Code
Some text that will be followed by a pill badge. {{#bootstrap_badge: New |color = info |pill }}
- Result
Some text that will be followed by a pill badge. New
