Template:Badge/doc

From Miranda NG
< Template:Badge
Revision as of 21:15, 11 December 2017 by Goraf (talk | contribs) (+source)
Jump to navigation Jump to search

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.

Source

Code taken from Mediawiki - Template:Badge

Template parameters

ParameterDescriptionTypeStatus
Contentscontent

The badge's content

Contentrequired
Alignmentalign

How to align the badge, either left, right or middle/center

Stringrequired
Background colorbg-color

A CSS color string

Default
#E7EFF5
Stringoptional
Border styleborder

A CSS border style string

Default
border: 1px solid #A1CEF5
Stringoptional
Extra stylestyle

Extra CSS for the badge's style tag.

Default
10px
Stringoptional