Template:Color ID

From ARK Wiki
Jump to navigation Jump to search

This template adds rows to the table "Colors", which is declared by the template Cargo schema/Colors. View table.

Template-info.png Documentation

This template is to be used on the Color IDs page. It describes a single color.

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Color ID1

Example
1
Numberrequired
Color name2

Example
Red
Linerequired
sRGB hexadecimal value (without #)srgb

Example
FF0000
Linerequired
RGB floating-point valuesue

Example
0.635, 0.393, 0.301
Lineoptional
Notesnotes

Example
Some notes about this color...
Contentoptional

Examples

Example 1

Color blocks with linear and/or notes:

  • ID: 1
    Red
    sRGB:#FF0000

    Notes: Some notes about this colour.

  • ID: 2
    Blue
    sRGB:#0000FF
  • ID: 3
    Green
    sRGB:#00FF00
    Linear:0, 1, 0

    Notes: Some notes about this other colour.

  • ID: 4
    Yellow
    sRGB:#FFFF00
    Linear:1, 1, 0

Example 2

Compact color blocks (without linear and notes):

  • ID: 1
    Red
    sRGB:#FF0000
  • ID: 2
    Blue
    sRGB:#0000FF
  • ID: 3
    Green
    sRGB:#00FF00
  • ID: 4
    Yellow
    sRGB:#FFFF00