Template:Badge/doc
Jump to navigation
Jump to search
| 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 uses TemplateStyles: |
<translate> Tracked in [[<tvar name=1>phabricator:</tvar>|Phabricator]]</translate>
<translate> Task <tvar name=1>T188443</tvar></translate>
<translate> Task <tvar name=1>T188443</tvar></translate>
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Badge
This template creates a badge with a light background. It can be used e.g. in page status indicators.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Contents | content | The badge's content | Content | required |
| Extra style | style | Extra CSS for the badge's style tag. | String | optional |
| Extra class | class | Extra CSS classes | String | optional |