Template:Rail color doc/doc

< Template:Rail color doc


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

{{System name colo(u)r|Line}}

Sample: White grey checkerboard.svg hexval

{{System name col(u)or|Line|Branch}}

Sample: White grey checkerboard.svg hexval

Usage

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

{| class="wikitable"
{{Color template doc|system=system|line=line|branch=branch}}
|}

The |branch= argument is optional.

Example

When used on the page Template:National Rail colour/doc, the code {{Rail color doc|system=National Rail colour|line=Eurostar}} produces

{{National Rail colour|Eurostar}} Sample:   483d8b

See also