Template:Color label

From Space Station 14 Wiki
Revision as of 14:32, 9 August 2024 by Aliser (talk | contribs) (Created page with "<includeonly><span> <span style="background-color: {{{1}}};"></span> <span>{{{2}}}</span> </span></includeonly><noinclude> {{docs}} <templatedata> { "params": { "1": { "label": "Color", "description": "A valid CSS color.", "example": "red", "type": "line", "required": true }, "2": { "label": "Label", "description": "A label.", "example": "Cool green", "type": "line", "required": true } }, "description": "Produces a little square...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
view or edit this documentation about template documentation

Examples

Hex color (gold): {{{2}}}

Predefined color (red): {{{2}}}

RGB color (orange) with a custom name: Sunset

Produces a little square with given color and a label.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color1

A valid CSS color.

Example
red
Linerequired
Label2

A label.

Example
Cool green
Linerequired