Template:Rail-interchange/doc

Template page

The {{rail-interchange|…}} template is an abstraction layer to cope with rebranding and renaming of transport systems. The template maps <span class="texhtml " {{#if: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.

Usage

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

File:Línea A (SBASE) bullet.svg {{rail-interchange|buenosaires|A|size=10}}
File:Línea A (SBASE) bullet.svg {{rail-interchange|buenosaires|A}}
File: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

Template:Rail-interchange/doc/usage

Generic

The following symbols can be used to denote interchange:

Symbol Usage

Template:Rail-interchange/generic

File:BSicon FIGHTER.svg

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

File:BSicon exFIGHTER.svg
File:Airplane GA Black.svg

Code: {{rint|air|field}} or {{rint|airfield}}
Use: Small airport or private airfield
Link: Aerodrome Template:Rail-interchange/generic Template:Rail-interchange/generic

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 Template:Rail-interchange/generic Template:Rail-interchange/generic Template:Rail-interchange/generic Template:Rail-interchange/generic

File:BSicon TRAM1.svg

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

File:BSicon TRAM.svg

Template:Rail-interchange/generic Template:Rail-interchange/generic Template:Rail-interchange/generic

File:BSicon lDAMPF.svg

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

File:BSicon exlDAMPF.svg
File:BSicon BRILL.svg

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

File:BSicon PCC.svg
File:BSicon BICYCLE.svg

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

File:BSicon PARKING.svg

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

File:Centro other car parking large.svg

Template:Rail-interchange/generic

Specific by country

This list:

Variants exist for a number of different places around the world to display symbols which are specific to a country or city - for example, the London Underground logo on London specific articles. Note that these are the names of the main location involved, and not the brand used by the current franchise operator (which can change frequently). If the logo should change, it can be easily updated within this template.

Please only use free content images. In most cases, using non-free logos in this manner will not comply with Wikipedia's non-free content policy.

See also

TemplateData

TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Location or operator1

no description

Stringrequired
Line, route or service2

no description

Stringoptional
Modifier3

controls options for specific systems

Stringoptional
Modifier4

controls options for specific systems

Stringoptional
Sizesize

width of icon, in pixels

Numberoptional
Linklink

alternative Wikilink target for icon

Stringoptional
Alternative textalt

overrides default text

Stringoptional
Title caseTitle case

no description

Unknownoptional
lineline

no description

Unknownoptional
iconicon

no description

Unknownoptional
showtextshowtext

no description

Unknownoptional
texttext

no description

Unknownoptional
smallsmall

no description

Unknownoptional