Difference between revisions of "Template:LACMTA icon"

From blackwiki
Jump to navigation Jump to search
imported>Epicgenius
(noinclude)
imported>Martijn Hoekstra
(TfD closed as keep)
Line 1: Line 1:
<noinclude>{{Tfm/dated|page=LACMTA icon|otherpage=Rail-interchange|link=Wikipedia:Templates for discussion/Log/2015 February 19#Railway icon templates}}</noinclude> {{{{{|safesubst:}}}#switch:{{lc:{{{1}}}}}
+
{{{{{|safesubst:}}}#switch:{{lc:{{{1}}}}}
 
  | harbor transitway
 
  | harbor transitway
 
  | el monte busway = [[{{ucfirst:{{lc:{{{1}}}}}}}|{{colorbox|#{{LACMTATW color|{{ucfirst:{{lc:{{{1}}}}}}}}}}}]]&nbsp;{{#if:{{{showtext|}}}|[[{{ucfirst:{{lc:{{{1}}}}}}}]]|}}&nbsp;
 
  | el monte busway = [[{{ucfirst:{{lc:{{{1}}}}}}}|{{colorbox|#{{LACMTATW color|{{ucfirst:{{lc:{{{1}}}}}}}}}}}]]&nbsp;{{#if:{{{showtext|}}}|[[{{ucfirst:{{lc:{{{1}}}}}}}]]|}}&nbsp;

Revision as of 14:00, 1 March 2015

[[{{{1}}} Line (Los Angeles Metro)| ]]

Template documentation[view] [edit] [history] [purge]

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}}  
{{LACMTA icon|B|showtext=yes}}  
{{LACMTA icon|C|showtext=yes}}  
{{LACMTA icon|D|showtext=yes}}  
{{LACMTA icon|E|showtext=yes}}  
{{LACMTA icon|G|showtext=yes}}  
{{LACMTA icon|J|showtext=yes}}  
{{LACMTA icon|K|showtext=yes}}  
{{LACMTA icon|L|showtext=yes}}  
{{LACMTA icon|harbor|showtext=yes}}  
{{LACMTA icon|regional|showtext=yes}}  
{{LACMTA icon|el monte|showtext=yes}}  

*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}}  
{{LACMTA icon|A}}  

See also