Jump to content

Template:Color template doc/doc

From Wikipedia, the free encyclopedia


This template lists as a wikitable row a template name and up to five arguments, a color sample and its hex value.

{{system color}}

Sample: hexval

{{system color|argument_1}}

Sample: hexval

{{system color|argument_1}} or …|argument_2}}

Sample: hexval

{{system color|argument_1}} or …|argument_2}} or …|argument_3}}

Sample: hexval

{{system color|argument_1}} or …|argument_2}} or …|argument_3}} or …|argument_4}}

Sample: hexval

{{system color|argument_1}} or …|argument_2}} or …|argument_3}} or …|argument_4}} or …|argument_5}}

Sample: hexval

Usage

[edit]

The template itself is contained between table start and end markup:

{| class="wikitable"
{{Color template doc|argument_1|argument_2|…|argument_5}}
|}

argument_1 can be omitted if the color template has only one value, or it is desired to show the default color; argument_2 through argument_5 are optional. All five are valid inputs for the color template.

Examples

[edit]

For examples, see pages using this template.

See also

[edit]