Template:Badge/doc: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(initial copy)
 
(+source)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<includeonly>
== Source ==
<!-- Categories go at the bottom of this page-->
Code taken from [https://www.mediawiki.org/wiki/Template:Badge Mediawiki - Template:Badge]
 
<templatedata>
<templatedata>
{
{
Line 46: Line 47:
}
}
</templatedata>
</templatedata>
 
<includeonly>
<!-- Categories go here -->
<!-- Categories go here -->


</includeonly>
</includeonly>

Revision as of 21:15, 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