Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Rail color/doc: Difference between revisions

Template page
No edit summary
 
 
(One intermediate revision by the same user not shown)
Line 19: Line 19:


== Examples ==
== Examples ==
{{tlx|Rail color|Amtrak|_show_result=y}}
{{tlx|Rail color|1F616EMO Railway|_show_result=y}}


<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
[[Category:Rail transport templates]]
[[Category:Rail transport templates]]
}}</includeonly>
}}</includeonly>

Latest revision as of 23:46, 20 April 2024

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|1F616EMO Railway}}