Template:Badge/doc

From Miranda NG
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

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

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