Template:Badge/doc
Appearance
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: |
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 |
Badge templates
[edit]- Template:Shortcut, promote short redirect pages.
- Template:Ptag, promote Phabricator tags and workboards.
- Template:Tracked, badge rendering a prominent link to a Phabricator task.