Template:Badge/doc: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(+source)
(+Category:Mbox and messagebox templates)
Line 49: Line 49:
<includeonly>
<includeonly>
<!-- Categories go here -->
<!-- Categories go here -->
 
[[Category:Mbox and messagebox templates]]
</includeonly>
</includeonly>

Revision as of 22:03, 11 December 2017

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