Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Text in the badge

Stringrequired
Background colorbg

Background color of the badge (HEX/RGB(A)/HSL(A))

Stringoptional
Colorcolor

Color of the text on the badge

Example
#000
Stringoptional
HTML classclass

Additional HTML class

Stringoptional