Template:Badge/doc: Difference between revisions
Jump to navigation
Jump to search
+source |
+{{TemplateDataHeader}} |
||
| (One intermediate revision by the same user not shown) | |||
| Line 3: | Line 3: | ||
Code taken from [https://www.mediawiki.org/wiki/Template:Badge Mediawiki - Template:Badge] | Code taken from [https://www.mediawiki.org/wiki/Template:Badge Mediawiki - Template:Badge] | ||
== Parameters == | |||
{{TemplateDataHeader}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 49: | Line 51: | ||
<includeonly> | <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 |