Template:Badge

From Linux Web Expert

Revision as of 18:42, 30 August 2021 by imported>Krinkle
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{content}}}
Template documentation

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

  • T188443
  • Help:Page status indicators