Template:Rail color/doc

From 1F616EMO Survival Server Wiki
Revision as of 05:38, 8 February 2024 by 1F616EMO (talk | contribs) (1 revision imported: Pages related to Module:Adjacent stations)

Template:Sidebar Adjacent stations

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

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

Variables

  • 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

{{Rail color|Amtrak}}Lua error: expandTemplate: template "Amtrak color" does not exist.