You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Badge/doc

From Wikitech-static
Jump to navigation Jump to search

Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Badge

<templatedata> { "description": "This template creates a badge with a light background. It can be used e.g. in page status indicators.", "format": "inline", "params": { "content": { "label": "Contents", "description": "The badge's content", "required": true, "type": "content" }, "style": { "label": "Extra style", "description": "Extra CSS for the badge's style tag.", "type": "string" }, "class": { "label": "Extra class", "description": "Extra CSS classes", "type": "string" } } } </templatedata>

See also