Template:Badge/doc: Difference between revisions
Jump to navigation
Jump to search
(initial copy) |
(+{{TemplateDataHeader}}) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== Source == | |||
Code taken from [https://www.mediawiki.org/wiki/Template:Badge Mediawiki - Template:Badge] | |||
== Parameters == | |||
{{TemplateDataHeader}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 46: | Line 49: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly> | |||
<!-- Categories go here --> | <!-- Categories go here --> | ||
[[Category:Mbox and messagebox templates]] | |||
</includeonly> | </includeonly> |
Latest revision as of 23:30, 11 December 2017
This is a documentation subpage for Template:Badge . |
Source
Code taken from Mediawiki - Template:Badge
Parameters
This is the TemplateData documentation for this template used by VisualEditor and other tools.
TemplateData for Badge
Parameter | Description | Type | Status | |
---|---|---|---|---|
Contents | content | The badge's content | Content | required |
Alignment | align | How to align the badge, either left, right or middle/center | String | required |
Background color | bg-color | A CSS color string
| String | optional |
Border style | border | A CSS border style string
| String | optional |
Extra style | style | Extra CSS for the badge's style tag.
| String | optional |