Pojdi na vsebino

Predloga:Rail color/dok

Iz Wikipedije, proste enciklopedije

Template:Rail color returns an RGB hex code value from a subpage of Module:Adjacent stations or from a helper template of {{S-line}}.

Usage

[uredi kodo]

Module:Adjacent stations/system or Template:system color must exist for this template to work.

Variables

[uredi kodo]
  • system is the name of the system or an abbreviation.
  • line is the line name, if any.
  • branch is the name of the branch or service, if any.

Examples

[uredi kodo]

{{Rail color|Amtrak}} → 00537E