Template:LACMTA icon/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:LACMTA icon. It may contain usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template displays colored "dot icons" for the current (and future) lines of Los Angeles Metro's Metro Rail system.
With the optional parameter |showtext=yes, the image link is expanded to an image plus text link.
Usage
[edit source]| Input* | Output* |
|---|---|
{{LACMTA icon|A|showtext=yes}}
|
|
{{LACMTA icon|B|showtext=yes}}
|
|
{{LACMTA icon|C|showtext=yes}}
|
|
{{LACMTA icon|D|showtext=yes}}
|
File:LACMTA Circle D Line.svg D Line |
{{LACMTA icon|E|showtext=yes}}
|
File:LACMTA Circle E Line.svg E Line |
{{LACMTA icon|G|showtext=yes}}
|
File:LACMTA Square G Line.svg G Line |
{{LACMTA icon|J|showtext=yes}}
|
File:LACMTA Square J Line.svg J Line |
{{LACMTA icon|K|showtext=yes}}
|
File:LACMTA Circle K Line.svg K Line |
{{LACMTA icon|L|showtext=yes}}
|
File:LACMTA Circle L Line.svg L Line |
{{LACMTA icon|harbor|showtext=yes}}
|
Harbor Transitway |
{{LACMTA icon|regional|showtext=yes}}
|
Regional Connector |
{{LACMTA icon|el monte|showtext=yes}}
|
El Monte Busway |
*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 color names will continue to work with this template (e.g. "blue" or "A"). The displayed name and icon will be the same regardless of which is used.
"showtext" switch example
[edit source]| Input* | Output* |
|---|---|
{{LACMTA icon|A|showtext=yes}}
|
|
{{LACMTA icon|A}}
|
See also
[edit source]- {{LACMTA icon strip}} To display multiple icons in a row:


D LineE LineG LineJ LineK LineL Line - {{LACMTA link logo}} To show the Metro logo and name: File:LAMetroLogo.svg Los Angeles Metro
- {{Rail color}} For the precise HEX color code of a line:
{{Rail color|Los Angeles Metro Rail|A}}