Jump to content

ထႅမ်းပလဵတ်ႉ:Rail color box/doc

လုၵ်ႉတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢၼ်လွတ်ႈလႅဝ်းထၢင်ႇႁၢင်ႈ ၼၼ်ႉမႃး

This template 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.

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:BJS 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 colorbox and link suitable for use inline with other text
Valid arguments are yes, small, link, box, route, xroute and croute
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/services have their own colors.

The template can be abbreviated as {{rcb}}. All examples use this abbreviated form.

{{rcb|system=Amtrak|line=Southwest Chief}} and {{rcb|Amtrak|Southwest Chief}} produce

{{rcb|SEPTA|Wilmington/Newark|note=(rush hour service only)}} produces လွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "SEPTA color" does not exist.

The optional parameter |inline= (or the third unnamed parameter) allows different display options for inline text.

yesလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.     Green Lineinline color box with link
smallလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.  Green Linesmaller color box with link
dotလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist. Green Linesmall circle with link
squareလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist. Green Linesmall square with link
linkလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.    linked box
ldotလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.linked circle
lsquareလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.linked square
boxလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.    box with link omitted
routeလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.Greenbox with background color
crouteလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.Greenbox with background color and border radius
xrouteလွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "RTD color" does not exist.Greenbox with colored text and border radius

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.

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

AbbreviationSystem
AMTAgence métropolitaine de transport
BARTBay Area Rapid Transit
CTAChicago Transit Authority
DARTDallas Area Rapid Transit
HBLRHudson–Bergen Light Rail
KATKenosha Transit
LACMTALos Angeles County Metro Rail
LIRRLong Island Rail Road
MARCMARC Train
MARTAMetropolitan Atlanta Rapid Transit Authority
MBTAMBTA Commuter Rail
METROMNMetro (Minnesota)
MNRRMetro-North Railroad
MUNIMuni Metro
NJTNJ Transit
NMRXNew Mexico Rail Runner Express
NYCRRNew York Central Railroad
PATCOPort Authority Transit Corporation
PATHPort Authority Trans-Hudson
PLRPittsburgh Light Rail
RIRTRRochester Subway
RTDDenver Regional Transportation District
SCAXMetrolink (California)
SCVTASanta Clara Valley Transportation Authority light rail
SEPTASoutheastern Pennsylvania Transportation Authority
SFRTATri-Rail
STLLRSound Transit Link light rail
SNDXSounder commuter rail
STMLSt Louis MetroLink
TMTCMAX Light Rail
VMRValley Metro Rail
VREXVirginia Railway Express
WMATAWashington Metropolitan Area Transit Authority
TemplateDescriptionExample
{{Color box}}a small color box with black borders and text color     or  ORANGE 
{{Color box striped}}a striped version     
{{RouteBox}}a borderless version with text color and wikilinks ORANGE 
{{Colorbull}}a colored bullet with wikilinks
{{Legend2}}another borderless version  
{{Color sample}}a small color box with black borders
{{Swatch inline}}orange
{{Background color}}orange
{{Rail color box}}a version with more display options
(part of Module:Adjacent stations)
, လွင်ႈၽိတ်းပိူင်ႈ Lua: expandTemplate: template "San Diego Trolley color" does not exist., etc.
{{Diagonal split color box}}a small color box split diagonally
   
   
, etc.
{{Motor type}}A small color box corresponding to the motor typeထႅမ်းပလဵတ်ႉ:Motor type/mild hybrid, etc.
ၶေႃႈမုၼ်းၸိူဝ်းၽၢႆႇတႂ်ႈၼႆႉ ပဵၼ် တူဝ်ထတ်းတႃႁၼ်(VisualEditor) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃးၼၼ်ႉ ယိူင်းဢၢၼ်း တႃႇဢဝ် ၶိူင်ႈၸိူဝ်းၼၼ်ႉ ၸႂ်ႉလႆႈတီႈ ဝီႇၶီႇၽီးတီးယႃးတႆးသေ ၸင်ႇလႆႈဢဝ် ပိူင် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ (TemplateData) ဢၼ်မီးတီႈ ဝီႇၶီႇၽီးတီးယႃး ဢိင်းၵလဵတ်ႈၼၼ်ႉ ႁဵတ်းဝႆႉပဵၼ် တီႈမၢႆတီႈတွင်းယဝ်ႉ။ ႁူမ်ႈဝႃႈ ပႆႇၸႂ်ႉၶိူင်ႈၸိူဝ်းၼၼ်ႉသေတႃႉ ပေႃးပဵၼ် ၵူၼ်းႁူႉလွင်ႈတႅမ်ႈပရူဝ်ႇၵရႅမ်ႇ (computer programming) ဢိတ်းဢွတ်းၵေႃႈ ႁႂ်ႈပေႃးႁၼ်လႆႈၸႅင်ႈလႅင်းလီၼႆသေ ၸၢင်ႈဢဝ်ၸႂ်ႉလႆႈ သၽေႃးတီႈၵႅပ်ႈမၼ်းလႆႈယူႇ။

Rail color box

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

Template parameters

This template prefers inline formatting of parameters.

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
System1 system

no description

Stringrequired
Line2 line

no description

Stringsuggested
Inline display type3 inline

no description

Stringsuggested
Type (branch/service)type

no description

Stringoptional
Notenote

no description

Stringoptional