Template:Rail color box/doc

Usage
This template is intended to be used within station and line infoboxes to show a small color box and a link to the associated line or service name.

The following examples demonstrate the template's usage:

The inline parameter allows to appear inline with text.

For systems where multiple colors are used to designate different lines, the appropriate color will be selected based on the combination of the system and line parameters.