Template:Badge/doc
Appearance
This is a documentation subpage for Template:Badge. It contains usage information, categories, and other content that is not part of the original template page. |
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
[edit]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 |