Template:Badge/doc

From Miranda NG
Jump to: navigation, 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

Parameters

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Badge

Template parameters

ParameterDescriptionTypeStatus
Contentscontent

The badge's content

Default
empty
Example
empty
Auto value
empty
Contentrequired
Alignmentalign

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

Default
empty
Example
empty
Auto value
empty
Stringrequired
Background colorbg-color

A CSS color string

Default
#E7EFF5
Example
empty
Auto value
empty
Stringoptional
Border styleborder

A CSS border style string

Default
border: 1px solid #A1CEF5
Example
empty
Auto value
empty
Stringoptional
Extra stylestyle

Extra CSS for the badge's style tag.

Default
10px
Example
empty
Auto value
empty
Stringoptional