Template:Badge
Appearance
This template displays a badge with colored background.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| color | 1 | Number of the background color, see list on the template page
| Number | suggested |
| text | 2 | Text displayed on the badge | Content | required |
| language | lang | MediaWiki language code of the badge text, used to mark the text language machine-readably
| Line | optional |
Example
| code | output |
|---|---|
{{badge|1|Hello}} |
Hello |
{{badge|2|Hello}} |
Hello |
{{badge|3|Hello}} |
Hello |
{{badge|4|Hello}} |
Hello |
{{badge|5|Hello}} |
Hello |
{{badge|6|Hello}} |
Hello |
{{badge|0|Hello}} |
Hello |