Template:Badge/doc: Difference between revisions
Jump to navigation
Jump to search
initial copy |
+source |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== Source == | |||
Code taken from [https://www.mediawiki.org/wiki/Template:Badge Mediawiki - Template:Badge] | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 46: | Line 47: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly> | |||
<!-- Categories go here --> | <!-- Categories go here --> | ||
</includeonly> | </includeonly> | ||
Revision as of 21:15, 11 December 2017
|
This is a documentation subpage for Template:Badge . |
Source
Code taken from Mediawiki - Template: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 |