Rail Color Box/Doc

模板:High-use 模板:Sidebar Adjacent stations

  • {{rcb}}

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.

Usage

Parameters

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. Valid arguments are listed in the table below.
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.
|inline= accepted values
Parameter Description Example Example
yes Inline color box with link.  C Line
(suspended)
 Green Line
small Line strip with link. C Line
(suspended)
Green Line
dot Small circle with link. C Line
(suspended)
Green Line
square Small square with link.  C Line
(suspended)
 Green Line
link Linked box.
ldot Linked small circle.
lsquare Linked small square.
box Box with link omitted.
route Box with text. C Green
croute Box with text and border radius. C Green
xroute Transparent box with text and border radius. C Green

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

TemplateData documentation used by VisualEditor and other tools

See the monthly error report for this template.

TemplateData for Rail color box

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

          沒有描述

            字串非必填

            Examples

            System abbreviations

            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 County 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

            Variants

            模板:Color box templates


            Tags:

            Rail Color Box/Doc UsageRail Color Box/Doc ParametersRail Color Box/Doc ExamplesRail Color Box/Doc System abbreviationsRail Color Box/Doc VariantsRail Color Box/Doc

            🔥 Trending searches on Wiki Mìng-dĕ̤ng-ngṳ̄:

            San MarinoLNgò̤-lò̤-sṳ̆-ngṳ̄Ái-ī-làng24 nièngNigeriaRiyadhUŏk-nàngWoodrow WilsonLiù-uòngDâi Bók-liĕk-diĕng7 nguŏk 25 hô̤DiêngÌng-mìngGĭ-dók-dùBostonKabulNgā-diēngQ461978 nièngVladimir LeninPlatonRigaĀ-báik-lăk-hāngLṳ̆k (nguòng-só)HawaiiAfghanistanLī BĕkHṳ̆ng-ngà-léSelangorBuŏi-mā-cô̤Pulau PinangTallinnNùng-lĭkWikidataMoldovaBaraga Gông (Michigan)Báe̤k-gĭng Dâi-hŏk37 nièngDièu-siēng Buáng-dō̤ lĭk-sṳ̄Guók-cié biĕu-cūng cṳ̆-hô̤Báe̤k MalukuDavidson Gông (Tennessee)8 nguŏk 28 hô̤Lùng-lùngDó̤hDiêng-sê1974 nièng2 nguŏk 25 hô̤LinuxLev TrotskySă̤-băng-ngà-ngṳ̄糖餜箬𣗬1 nguŏk 10 hô̤男界Ŭk-līChiĕkSudanLā̤-bái-ékNguòng-cṳ̄Hāi-chiĕngGuók-cié chiông-gì1999 nièng1958 nièngChói-siĕkLiĕk-ciĕ-dĕng-sṳ̆-dĕng1918 nièngCoca-Cola🡆 More