Template:LACMTA icon
Revision as of 00:30, 19 January 2018 by imported>Primefac (Protected "Template:LACMTA icon": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
Script error: No such module "LACMTA".
| 30px | This template uses Lua: |
This template displays colored "dot icons" for the current (and future) lines of the Los Angeles County Metropolitan Transportation Authority Metro Rail system.
With the optional parameter |showtext=yes, the image link is expanded to an image plus text link.
Usage
| Input* | Output* |
|---|---|
{{LACMTA icon|A|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|B|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|C|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|D|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|E|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|G|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|J|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|K|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|L|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|harbor|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|regional|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|el monte|showtext=yes}}
|
Script error: No such module "LACMTA". |
*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
| Input* | Output* |
|---|---|
{{LACMTA icon|A|showtext=yes}}
|
Script error: No such module "LACMTA". |
{{LACMTA icon|A}}
|
Script error: No such module "LACMTA". |
See also
- {{LACMTA icon strip}} To display multiple icons in a row: Script error: No such module "LACMTA".Script error: No such module "LACMTA".Script error: No such module "LACMTA".Script error: No such module "LACMTA".Script error: No such module "LACMTA".Script error: No such module "LACMTA".Script error: No such module "LACMTA".Script error: No such module "LACMTA".
- {{LACMTA link logo}} To show the Metro logo and name: 18px Metro (LACMTA)
- {{LACMTA color}} To display/use the precise HEX color code of a line. (A Line, B Line, C Line, etc.)
| The above documentation is transcluded from Template:LACMTA icon/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |