Template:Badge/doc

This template is used to style text as a badge.

Usage
gives

gives

gives

gives

TemplateData
{	"params": { "1": {			"label": "Text", "description": "Text in the badge", "type": "string", "required": true },		"bg": { "label": "Background color", "description": "Background color of the badge (HEX/RGB(A)/HSL(A))", "type": "string" },		"class": { "label": "HTML class", "description": "Additional HTML class", "type": "string" },		"inverted": { "label": "Invert color", "description": "Dark text and light background color", "example": "true", "type": "boolean", "default": "false" }	},	"description": "Style text as a badge", "paramOrder": [ "1",		"bg", "inverted", "class" ],	"format": "inline" }