模板:Rail-interchange

Add→{{rail-interchange}}

[káng] [gāi] [sṳ̄] [purge] Documentation icon 模板其說明文檔

模板:High-use The {{rail-interchange|…}} template is an abstraction layer to cope with rebranding and renaming of transport systems. The template maps f (where, how) → to brand, link, icon(s) allowing the whole of Wikipedia to be easily updated when a transport network switches operator, changes name or updates their logo.

Avoid brandname, operator or sponsor names when choosing the location/link pair.

Iōng-hoat修改

The optional named parameter |size= will override the default height of the icon (between 10 and 20 pixels):

Línea A (SBASE) bullet.svg {{rail-interchange|buenosaires|A|size=10}}
Línea A (SBASE) bullet.svg {{rail-interchange|buenosaires|A}}
Línea A (SBASE) bullet.svg {{rail-interchange|buenosaires|A|size=20}}

The value for |size= must be an integer and should not be any larger than the display height of the diagram icons themselves (20 pixels in most diagrams).

The icons' wikilink and alternate text can be overridden by adding the optional parameters |link=newlink and |alt=othertext. Note that if only the |link= parameter is changed then the |alt= parameter will change from the default to the new link text. (However, the |alt= parameter can be changed without affecting the link target.)

In prose修改

模板:Rail-interchange/doc/usage

Generic修改

The following symbols can be used to denote interchange:

Symbol Usage
Airport interchange

Code: {{rint|air}}
Use: Airport station
Link: List of airports

Airbase

Code: {{rint|air|base}} or {{rint|airbase}}
Alternative icon: {{rint|airbase|ex}}
Use: Military air base
Link: Military air base

Airbase
Private airfield

Code: {{rint|air|field}} or {{rint|airfield}}
Use: Small airport or private airfield
Link: Aerodrome

Heliport

Code: {{rint|heliport}}
Use: Heliport
Link: Heliport

Bus interchange

Code: {{rint|bus}}
Alternative icon: {{rint|bus|1}}
Use: Interchange with local bus services
Link: Bus

Bus interchange
Bus rapid transit

Code: {{rint|bus|rapid}} or …|bus|brt}}
Use: Interchange with Bus Rapid Transit services
Link: Bus rapid transit

Trolleybus

Code: {{rint|bus|trolleybus}} or …|bus|trolley}} or …|bus|tb}}
or {{rint|trolley}} or …|trolleybus}}
Use: Interchange with local trolleybus services
Link: Trolleybus

Mainline rail interchange

Code: {{rint|rail}}
Alternative icon: {{rint|rail|1}}
Use: Interchange with mainline rail services
Link: none

Mainline rail interchange
Express train

Code: {{rint|express}}
Use: Interchange with express rail services
Link: Express train

Metro interchange

Code: {{rint|metro}}
Use: Interchange with rapid transit services
Link: Rapid transit

Monorail

Code: {{rint|mono}}
Use: Interchange with monorail line
Link: Monorail

Tram interchange

Code: {{rint|tram}} or …|light rail}}
Alternative icon: {{rint|tram|1}}
Use: Interchange with tram or light rail services
Link: Tram or Light rail

Tram interchange
ferry/water interchange

Code: {{rint|ferry}}
Use: Interchange with a passenger ferry or water bus service
Link: Ferry

Funicular

Code: {{rint|incline}}
Use: Interchange with a funicular
Link: Funicular

Cable car

Code: {{rint|cable}}
Use: Interchange with an aerial cable car
Link: Aerial lift

Heritage railway

Code: {{rint|heritage|rail}}
Alternative icon: {{rint|heritage|rail|ex}}
Use: Interchange with a heritage railway line
Link: Heritage railway

Heritage railway
Heritage streetcar

Code: {{rint|heritage|tram}}
Use: Interchange with a heritage tram or streetcar line
Link: Heritage streetcar

Bicycle facilities

Code: {{rint|bicycle}} or {{rint|bike}}
Use: Bicycle facilities
Link: Bicycle

Parking

Code: {{rint|park}} or {{rint|parking}}
Alternative icon: {{rint|park|1}} or {{rint|parking|1}}
Use: Parking
Link: Parking

Parking
Handicapped/disabled access

Code: {{rint|wheelchair}}
Alternative icon: {{rint|wheelchair|1}}
Use: Handicapped/disabled access
Link: Accessibility#Transportation

Handicapped/disabled access

Kok-ka Te̍k-pia̍t Sio̍k-sèng修改

模板:Right

Sè-kài kok-tē, bô-lūn sī kok-ka he̍k-chiá sī siâⁿ-chhī, lóng ū in ka-kī ê tih-lō͘ phiau-chì. Phì-lūn-kóng kap London ū koan-hē ê tiâu-bo̍k ē-ēng-tit sú-iōng London Tē-hā-thih ê phiau-chì. Ài chù-ì, chia-ê miâ-chheng ài siá tih-lō͘ chú-iàu ê só͘-chāi-tē, m̄-sī iâⁿ-ūn-siong ê phín-pâi (che tiāⁿ-tiāⁿ ē kái-miâ). Chún-kóng phiau-chì su-iàu kái, ē-sái thàu-kòe chit ê pang-bô͘ keng-sin.

TemplateData修改

模板:Collapse top

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Rail-interchange

This template is an abstraction layer to cope with rebranding and renaming of transport systems. It easily allows the whole of Wikipedia to be updated when a transport network switches operator, changes name or updates their logo.

[管理 TemplateData]

模板參數

此模板以參數行內格式為優先。

參數描述類型狀態
Location or operator1

沒有描述

字串必填
Line, route or service2

沒有描述

字串選填
Modifier3

controls options for specific systems

字串選填
Modifier4

controls options for specific systems

字串選填
Sizesize

width of icon, in pixels

數值選填
Linklink

alternative Wikilink target for icon

字串選填
Alternative textalt

overrides default text

字串選填
Title caseTitle case

沒有描述

不明選填
lineline

沒有描述

不明選填
iconicon

沒有描述

不明選填
showtextshowtext

沒有描述

不明選填
texttext

沒有描述

不明選填
smallsmall

沒有描述

不明選填

模板:Collapse bottom

模板:Sandbox other