This template is used to style text as a badge.
Usage
{{Badge|Gollum}} gives
Gollum
{{Badge|Gollum|color=#666}} gives
Gollum
{{Badge|Gollum|bg=#d0817d}} gives
Gollum
{{Badge|Gollum|bg=#d0817d|color=#222}} gives
Gollum
TemplateData
Style text as a badge
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | Text in the badge | String | required |
| Background color | bg | Background color of the badge (HEX/RGB(A)/HSL(A)) | String | optional |
| Color | color | Color of the text on the badge
| String | optional |
| HTML class | class | Additional HTML class | String | optional |