Template:LACMTA color

From blackwiki
Revision as of 05:59, 18 February 2021 by imported>RickyCourtney (Add new color for K Line)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
50px Template documentation[view] [edit] [history] [purge]

For use with Template:S-line in Los Angeles County Metro Rail articles.

This template can also be used to call the color of Los Angeles County Metropolitan Transportation Authority (LACMTA) lines.

In order to call a line's color, the code #{{LACMTA color|name}} is used (where name is replaced by the route name). Note that this template is not case sensitive: i.e. {{LACMTA color|B}} produces the same result as {{LACMTA color|b}}.

{{LACMTA color|A}} Sample:   0072bc 17px A Line
{{LACMTA color|B}} Sample:   e3131b 17px B Line
{{LACMTA color|C}} Sample:   58a738 17px C Line
{{LACMTA color|D}} Sample:   a05da5 17px D Line
{{LACMTA color|E}} Sample:   5bc2e7 17px E Line
{{LACMTA color|G}} Sample:   fc4c02 17px G Line
{{LACMTA color|J}} Sample:   adb8bf 17px J Line
{{LACMTA color|K}} Sample:   e07dac 17px Crenshaw/LAX Line 
{{LACMTA color|L}} Sample:   fdb913 17px L Line
{{LACMTA color|Regional}} Sample:   604020      Regional Connector Transit Corridor (multi-line)

*Usage note: Metro changed all line names from colors to letters in late 2019. While the line letter should be used in all cases, for backwards compatibility the old line color names will continue to work (e.g. "blue" or "A"). The displayed name and color will be the same regardless of which is used.

See also

zh:Template:LACMTA color