لوا خطا ماڈیول:Lua_banner میں 103 سطر پر: attempt to index field 'edit' (a nil value)۔

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.

استعمال

ترمیم
ان پٹ* آؤٹ پٹ*
{{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}}      Harbor Transitway 
{{LACMTA icon|regional|showtext=yes}}      Regional Connector Transit Corridor 
{{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

ترمیم
Input* Output*
{{LACMTA icon|A|showtext=yes}}      
{{LACMTA icon|A}}      

See also

ترمیم