Difference between revisions of "Template:Badge"

From RobotX
Jump to navigation Jump to search
Mediawiki>Krinkle
({{subst:border-radius}} - no longer useful)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 23:18, 30 November 2019

{{{content}}}
Template documentation[view] [edit] [history] [purge]

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