Template:Color label: Difference between revisions

From Space Station 14 Wiki
No edit summary
No edit summary
 
Line 25: Line 25:
--><span class="color-label-code" style="
--><span class="color-label-code" style="
     font-family: monospace;
     font-family: monospace;
">{{{1}}}</span>
">{{{1}}}</span><!--
</span></includeonly><noinclude>
--></span></includeonly><noinclude>
{{docs|bb=
{{docs|bb=
{{uses template styles}}
{{uses template styles}}

Latest revision as of 14:49, 9 August 2024

Template documentation
view or edit this documentation about template documentation
Uses template styles
This template uses template styles found in:

Examples

Hex color (gold): #FFD700

Predefined color (red): red

RGB color (orange) with a custom name: Sunset#FFD700

Produces a little square with given color and a color code label. Can also add a custom label.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color1

A valid CSS color.

Example
red
Linerequired
Label2

A custom label.

Example
Cool green
Linesuggested