Template:Badge: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
mNo edit summary |
||
Line 5: | Line 5: | ||
| center= margin: 0.5em auto; | | center= margin: 0.5em auto; | ||
}} background-color: {{{bg-color|#E7EFF5}}}; {{{border|border: 1px solid #A1CEF5}}}; padding: 5px 8px; {{border-radius|10px}} {{{style|}}}; text-align: center;">{{{content}}}</div><noinclude> | }} background-color: {{{bg-color|#E7EFF5}}}; {{{border|border: 1px solid #A1CEF5}}}; padding: 5px 8px; {{border-radius|10px}} {{{style|}}}; text-align: center;">{{{content}}}</div><noinclude> | ||
{{ | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 04:36, 10 August 2018
{{{content}}}
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 |
The above documentation is transcluded from Template:Badge/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |