Template:Rail color box is intended to be used within station and line infoboxes, diagrams, navboxes and tables to show a small color box and a link to the associated line or service name. Its use should be avoided within body text.

Template parameters
Parameter Description
system or 1 An identifier to specify which system's color and line article name convention should be used. Either Module:Adjacent stations/system or Template:system color must exist, e.g. Template:RE-BB color or Module:Adjacent stations/Taipei Metro
line or 2 The line or service to be linked.
inline or 3 An optional parameter to create a color box and link suitable for use inline with other text:
Value Description Example Example
yes Inline color box with link लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
small Line strip with link लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
dot Small circle with link लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
square Small square with link लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
link Linked box लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
ldot Linked small circle लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
lsquare Linked small square लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
box Box with link omitted. लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
route Box with text लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
broute Bordered box with text लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
croute Box with text and border radius लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
xroute Transparent box with text and border radius लुआ त्रुटि: expandTemplate: template "RTD color" does not exist। लुआ त्रुटि: expandTemplate: template "Washington Metro color" does not exist।
type This adds " – type" to the end, where type is the parameter value (which may be changed by a module subpage), and also passes the value to the data template or module. Typically a service or branch of the line.
note An optional note with more information added at the end.

For systems where multiple colors are used to designate different lines, the appropriate color will be selected based on the combination of the system and line parameters. The same is done for systems where types or services have their own colors. Some options, such as setting the text color, border color, and the short name for the latter three, require the use of a module subpage. Each line can have its own values, as can each type. The table keys for line and type tables are the same: ["border color"], ["text color"] and ["short name"]. Note that the ["background color"] key is not used by this template.

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for रेल रंग बॉक्स

Template which generates colored boxes to indicate rail lines, optionally with a link to the line's article.

साँचे के पैरामीटर्स

इस साँचे के लिए पैरामीटरों के इनलाइन प्रारूपण को प्राथमिकता दी जाती है।

पैरामीटरविवरणप्रकारस्थिति
System1 system

कोई विवरण नहीं

स्ट्रिंगआवश्यक
Line2 line

कोई विवरण नहीं

स्ट्रिंगसुझावित
Inline display type3 inline

कोई विवरण नहीं

स्ट्रिंगसुझावित
Type (branch/service)type

कोई विवरण नहीं

स्ट्रिंगवैकल्पिक
Notenote

कोई विवरण नहीं

स्ट्रिंगवैकल्पिक
  • {{Rail color box|system=Amtrak|line=Southwest Chief}} and {{Rail color box|Amtrak|Southwest Chief}} produce .
  • {{Rail color box|SEPTA|Wilmington/Newark|note=(rush hour service only)}} produces लुआ त्रुटि: expandTemplate: template "SEPTA color" does not exist।.

Lists of available systems are at Category:Rail transport color templates and Special:PrefixIndex/Module:Adjacent stations/.

Abbreviation System
AMT Agence métropolitaine de transport
BART Bay Area Rapid Transit
CTA Chicago Transit Authority
DART Dallas Area Rapid Transit
HBLR Hudson–Bergen Light Rail
KAT Kenosha Transit
LACMTA Los Angeles Metro Rail
LIRR Long Island Rail Road
MARC MARC Train
MARTA Metropolitan Atlanta Rapid Transit Authority
MBTA MBTA Commuter Rail
METROMN Metro (Minnesota)
MNRR Metro-North Railroad
MUNI Muni Metro
NJT NJ Transit
NMRX New Mexico Rail Runner Express
NYCRR New York Central Railroad
PATCO Port Authority Transit Corporation
PATH Port Authority Trans-Hudson
PLR Pittsburgh Light Rail
RIRTR Rochester Subway
RTD Denver Regional Transportation District
SCAX Metrolink (California)
SCVTA Santa Clara Valley Transportation Authority light rail
SEPTA Southeastern Pennsylvania Transportation Authority
SFRTA Tri-Rail
STLLR Sound Transit Link light rail
SNDX Sounder commuter rail
STML St Louis MetroLink
TMTC MAX Light Rail
VMR Valley Metro Rail
VREX Virginia Railway Express
WMATA Washington Metropolitan Area Transit Authority

साँचा:Color box templates