More actions
Per edit request, merge duplicates |
m 1 revision imported |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 99: | Line 99: | ||
| dhaka ={{#switch: {{lc: {{{2}}} }} | | dhaka ={{#switch: {{lc: {{{2}}} }} | ||
| 1 ={{RouteBox|MRT Line 1|MRT Line 1 (Dhaka Metro)|# | | 1 ={{RouteBox|MRT Line 1|MRT Line 1 (Dhaka Metro)|#DA291C|WHITE|bold=yes}} | ||
| 2 ={{RouteBox|MRT Line 2|MRT Line 2 (Dhaka Metro)|# | | 2 ={{RouteBox|MRT Line 2|MRT Line 2 (Dhaka Metro)|#8031A7|WHITE|bold=yes}} | ||
| 4 ={{RouteBox|MRT Line 4|MRT Line 4 (Dhaka Metro)|#003DA5|WHITE|bold=yes}} | |||
| 4 ={{RouteBox|MRT Line 4|MRT Line 4 (Dhaka Metro)|# | | 5n ={{RouteBox|MRT Line 5N|MRT Line 5 (Northern Route)|#00B5E2|BLACK|bold=yes}} | ||
| 5n ={{RouteBox|MRT Line 5N|MRT Line 5 (Northern Route)|# | | 5s ={{RouteBox|MRT Line 5S|MRT Line 5 (Southern Route)|#FF8200|BLACK|bold=yes}} | ||
| 5s ={{RouteBox|MRT Line 5S|MRT Line 5 (Southern Route)|# | | 6 ={{RouteBox|MRT Line 6|MRT Line 6 (Dhaka Metro)|#006747|WHITE|bold=yes}} | ||
| 6 ={{RouteBox|MRT Line 6|MRT Line 6 (Dhaka Metro)|# | |||
}} | }} | ||
Line 136: | Line 135: | ||
}} | }} | ||
| bart =[[File:Bart-logo.svg|{{{size|18}}}px|link={{{link|Bay Area Rapid Transit}}}|alt={{{alt|{{{link|Bay Area Rapid Transit}}}}}}]] | | bart = {{#switch: {{lc: {{{2}}} }} | ||
| b | blue = {{RouteBox|B|Blue Line (BART)|#{{Rail color|BART|Blue}}|White}} | |||
| g | green = {{RouteBox|G|Green Line (BART)|#{{Rail color|BART|Green}}|White}} | |||
| oak = {{RouteBox|OAK|Oakland Airport Connector|#{{Rail color|BART|OAK}}|Black}} | |||
| o | orange = {{RouteBox|O|Orange Line (BART)|#{{Rail color|BART|Orange}}|Black}} | |||
| r | red = {{RouteBox|R|Red Line (BART)|#{{Rail color|BART|Red}}|White}} | |||
| p | purple = {{RouteBox|P|Purple Line (BART)|#{{Rail color|BART|Purple}}|White}} | |||
| y | yellow = {{RouteBox|Y|Yellow Line (BART)|#{{Rail color|BART|Yellow}}|Black}} | |||
| ebart = {{RouteBox|eBART|eBART|#{{Rail color|BART|Yellow}}|Black}} | |||
| #default =[[File:Bart-logo.svg|{{{size|18}}}px|link={{{link|Bay Area Rapid Transit}}}|alt={{{alt|{{{link|Bay Area Rapid Transit}}}}}}]] | |||
}} | |||
| basel = {{#switch: {{lc: {{{2}}} }} | | basel = {{#switch: {{lc: {{{2}}} }} | ||
Line 647: | Line 656: | ||
| tranbia =[[File:Euskotren Tranbia Logo.svg|{{{size|14}}}px|link={{{link|Euskotren Tranbia}}}|alt={{{alt|{{{link|Euskotren Tranbia}}}}}}]] | | tranbia =[[File:Euskotren Tranbia Logo.svg|{{{size|14}}}px|link={{{link|Euskotren Tranbia}}}|alt={{{alt|{{{link|Euskotren Tranbia}}}}}}]] | ||
| autobusa =[[File:Euskotren Autobusa Logo.svg|{{{size|14}}}px|link={{{link|Euskotren Autobusa}}}|alt={{{alt|{{{link|Euskotren Autobusa}}}}}}]] | | autobusa =[[File:Euskotren Autobusa Logo.svg|{{{size|14}}}px|link={{{link|Euskotren Autobusa}}}|alt={{{alt|{{{link|Euskotren Autobusa}}}}}}]] | ||
}} | |||
| everett = {{#switch: {{lc: {{{2}}} }} | |||
| blue =[[File:Swift Blue Line icon.svg|{{{size|16}}}px|link={{{link|Swift Blue Line}}}]] | |||
| green =[[File:Swift Green Line icon.svg|{{{size|16}}}px|link={{{link|Swift Green Line}}}]] | |||
| orange =[[File:Swift Orange Line icon.svg|{{{size|16}}}px|link={{{link|Swift Orange Line}}}]] | |||
| gold =[[File:Swift Gold Line icon.svg|{{{size|16}}}px|link={{{link|Swift Gold Line}}}]] | |||
}} | }} | ||
Line 713: | Line 729: | ||
| 1 =[[File:L1 Metro de Granada.svg|{{{size|14}}}px|link={{{link|Granada Metro}}}]] | | 1 =[[File:L1 Metro de Granada.svg|{{{size|14}}}px|link={{{link|Granada Metro}}}]] | ||
}} | }} | ||
| graz = {{#switch: {{lc: {{{2}}} }} | |||
| 1 | 3 | 4 | 5 | 6 | 7 = [[File:Linie {{{2|}}} Graz.png|16px|link=Straßenbahn Graz|Straßenbahn Graz]] | |||
| 23 = [[File:23 Graz.png|26px|link=Straßenbahn Graz|Straßenbahn Graz]] | |||
| s1 | s7 | s61 = [[File:{{{2|}}} Steiermark.svg|32px|link=S-Bahn Steiermark|S-Bahn Steiermark]] | |||
}} | |||
| greece = {{#switch: {{lc: {{{2}}} }} | | greece = {{#switch: {{lc: {{{2}}} }} | ||
Line 1,104: | Line 1,126: | ||
| london ={{#switch: {{lc: {{{2}}} }} | | london ={{#switch: {{lc: {{{2}}} }} | ||
| bus =[[File: | | bus =[[File:Buses roundel (no text).svg|{{{size|10}}}px|link={{{link|London Buses}}}|alt={{{alt|{{{link|London Buses}}}}}}]] | ||
| crossrail =[[File:Elizabeth line roundel (no text).svg|{{{size|10}}}px|link={{{link|Elizabeth line}}}|alt={{{alt|{{{link|Elizabeth line}}}}}}]] | | crossrail =[[File:Elizabeth line roundel (no text).svg|{{{size|10}}}px|link={{{link|Elizabeth line}}}|alt={{{alt|{{{link|Elizabeth line}}}}}}]] | ||
| crossrail2 =[[File:Crossrail2.svg|{{{size|10}}}px|link={{{link|Crossrail 2}}}|alt={{{alt|{{{link|Crossrail 2}}}}}}]] | | crossrail2 =[[File:Crossrail2.svg|{{{size|10}}}px|link={{{link|Crossrail 2}}}|alt={{{alt|{{{link|Crossrail 2}}}}}}]] | ||
Line 1,513: | Line 1,535: | ||
| transwa ={{ric|Transwa|size={{{size|}}}|link={{{link|}}}|alt={{{alt|}}}}} | | transwa ={{ric|Transwa|size={{{size|}}}|link={{{link|}}}|alt={{{alt|}}}}} | ||
| #default ={{ric|Transperth|{{{2|}}}|size={{{size|}}}|link={{{link|}}}|alt={{{alt|}}}}} | | #default ={{ric|Transperth|{{{2|}}}|size={{{size|}}}|link={{{link|}}}|alt={{{alt|}}}}} | ||
}} | |||
| phoenix | valleymetro ={{#switch: {{lc: {{{2}}} }} | |||
| tempe | streetcar =[[File:Logo Tempe Streetcar.svg|{{{size|20}}}px|link=Tempe Streetcar]] | |||
| rail =[[File:Valley Metro logo simplified.svg|{{{size|20}}}px|link=Valley Metro Rail]] | |||
| #default =[[File:Valley Metro logo simplified.svg|{{{size|20}}}px|link=Valley Metro]] | |||
}} | }} | ||
Line 1,610: | Line 1,638: | ||
| 2l ={{RouteBox|2|Line 2 (Rio LRT)|#008000}} | | 2l ={{RouteBox|2|Line 2 (Rio LRT)|#008000}} | ||
| 3l ={{RouteBox|3|Line 3 (Rio LRT)|#F1C232|black}} | | 3l ={{RouteBox|3|Line 3 (Rio LRT)|#F1C232|black}} | ||
| 4l ={{RouteBox|4|Line 4 (Rio LRT)|#FF8500}} | |||
}} | }} | ||
Line 1,644: | Line 1,673: | ||
| sprinter =[[File:NCTD SPRINTER Icon (2019).svg|{{{size|16}}}px|link={{{link|Sprinter (rail service)}}}]] | | sprinter =[[File:NCTD SPRINTER Icon (2019).svg|{{{size|16}}}px|link={{{link|Sprinter (rail service)}}}]] | ||
| trolley =[[File:MTS_Trolley_icon.svg|{{{size|16}}}px|link={{{link|San Diego Trolley}}}]] | | trolley =[[File:MTS_Trolley_icon.svg|{{{size|16}}}px|link={{{link|San Diego Trolley}}}]] | ||
| blue | b =[[File:San Diego Trolley | | blue | b =[[File:Logo Blue Line (San Diego Trolley).svg|{{{size|16}}}px|link={{{link|Blue Line (San Diego Trolley)}}}]] | ||
| orange | o =[[File:San Diego Trolley | | orange | o =[[File:Logo Orange Line (San Diego Trolley).svg|{{{size|16}}}px|link={{{link|Orange Line (San Diego Trolley)}}}]] | ||
| green | g =[[File:San Diego Trolley | | green | g =[[File:Logo Green Line (San Diego Trolley).svg|{{{size|16}}}px|link={{{link|Green Line (San Diego Trolley)}}}]] | ||
| silver | s =[[File:San Diego Trolley | | silver | s =[[File:Logo Silver Line (San Diego Trolley).svg|{{{size|16}}}px|link={{{link|Silver Line (San Diego Trolley)}}}]] | ||
}}{{#if:{{{3|{{{showtext|}}}}}}| [[{{#switch:{{#invoke:ustring|sub|\{{lc:{{{2}}}}}|1|1}}|b=Blue|g=Green|o=Orange|s=Silver}} Line (San Diego Trolley)|{{#switch:{{#invoke:ustring|sub|\{{lc:{{{2}}}}}|1|1}}|b=Blue|g=Green|o=Orange|s=Silver}} Line]] | }}{{#if:{{{3|{{{showtext|}}}}}}| [[{{#switch:{{#invoke:ustring|sub|\{{lc:{{{2}}}}}|1|1}}|b=Blue|g=Green|o=Orange|s=Silver}} Line (San Diego Trolley)|{{#switch:{{#invoke:ustring|sub|\{{lc:{{{2}}}}}|1|1}}|b=Blue|g=Green|o=Orange|s=Silver}} Line]] | ||
}} | }} | ||
Line 1,737: | Line 1,766: | ||
| n line | n | north | line n =[[File:Line N (Sound Transit) icon.svg|{{{size|16}}}px|link=N Line (Sound Transit)]] | | n line | n | north | line n =[[File:Line N (Sound Transit) icon.svg|{{{size|16}}}px|link=N Line (Sound Transit)]] | ||
| s line | s | south | line s =[[File:Line S (Sound Transit) icon.svg|{{{size|16}}}px|link=S Line (Sound Transit)]] | | s line | s | south | line s =[[File:Line S (Sound Transit) icon.svg|{{{size|16}}}px|link=S Line (Sound Transit)]] | ||
| a | b | c | d | e | f | g | h =[[File:{{{2}}} Line | | a | b | c | d | e | f | g | h =[[File:RapidRide {{{2}}} Line icon.svg|{{{size|16}}}px|link={{{link|RapidRide {{{2}}} Line}}}]] | ||
| stride =[[File:Sound Transit logo simplified.svg|{{{size|16}}}px|link={{{link|Stride (bus rapid transit)}}}|alt={{{alt|{{{link|Stride (bus rapid transit)}}}}}}]] | | stride =[[File:Sound Transit logo simplified.svg|{{{size|16}}}px|link={{{link|Stride (bus rapid transit)}}}|alt={{{alt|{{{link|Stride (bus rapid transit)}}}}}}]] | ||
| s1 | stride s1 =[[File:Line S1 (Sound Transit) icon.svg|{{{size|16}}}px|link=Stride S1 Line]] | | s1 | stride s1 =[[File:Line S1 (Sound Transit) icon.svg|{{{size|16}}}px|link=Stride S1 Line]] | ||
Line 2,465: | Line 2,494: | ||
| metro =[[File:BSicon SUBWAY-CHN.svg|{{{size|x16}}}px|link={{{link|Urban rail transit in China}}}|alt={{{alt|{{{link|Urban rail transit in China}}}}}}]] | | metro =[[File:BSicon SUBWAY-CHN.svg|{{{size|x16}}}px|link={{{link|Urban rail transit in China}}}|alt={{{alt|{{{link|Urban rail transit in China}}}}}}]] | ||
| prdir =[[File:PRDIR logo without text.svg|{{{size|x16}}}px|link={{{link|Pearl River Delta Metropolitan Region intercity railway}}}|alt={{{alt|{{{link|PRDIR}}}}}}]] | | prdir =[[File:PRDIR logo without text.svg|{{{size|x16}}}px|link={{{link|Pearl River Delta Metropolitan Region intercity railway}}}|alt={{{alt|{{{link|PRDIR}}}}}}]] | ||
| mono =[[File:BSicon CHN | | mono =[[File:BSicon Mono-CHN.svg|{{{size|x16}}}px|link={{{link|Urban rail transit in China}}}|alt={{{alt|{{{link|Urban rail transit in China}}}}}}]] | ||
}} | }} | ||
Line 2,699: | Line 2,728: | ||
| railhsr =[[File:BSicon exLDER.svg|{{{size|17}}}px|link={{{link|Kuala Lumpur–Singapore High Speed Rail}}}|alt={{{alt|{{{link|Kuala Lumpur–Singapore High Speed Rail}}}}}}]] | | railhsr =[[File:BSicon exLDER.svg|{{{size|17}}}px|link={{{link|Kuala Lumpur–Singapore High Speed Rail}}}|alt={{{alt|{{{link|Kuala Lumpur–Singapore High Speed Rail}}}}}}]] | ||
| ferrypk =[[File:BSicon BOOT.svg|{{{size|18}}}px|link={{{link|Port Klang International Passenger Terminal}}}|alt={{{alt|{{{link|Port Klang International Passenger Terminal}}}}}}]] | | ferrypk =[[File:BSicon BOOT.svg|{{{size|18}}}px|link={{{link|Port Klang International Passenger Terminal}}}|alt={{{alt|{{{link|Port Klang International Passenger Terminal}}}}}}]] | ||
| ferrypg =[[File:BSicon BOOT.svg|{{{size|18}}}px|link={{{link| | | ferrypg =[[File:BSicon BOOT.svg|{{{size|18}}}px|link={{{link|Penang ferry service}}}|alt={{{alt|{{{link|Penang ferry service}}}}}}]] | ||
| air ={{#switch: {{lc: {{{3}}} }} | | air ={{#switch: {{lc: {{{3}}} }} | ||
| klia =[[File:BSicon FLUG.svg|{{{size|15}}}px|link={{{link|Kuala Lumpur International Airport}}}|alt={{{alt|{{{link|Kuala Lumpur International Airport}}}}}}]] | | klia =[[File:BSicon FLUG.svg|{{{size|15}}}px|link={{{link|Kuala Lumpur International Airport}}}|alt={{{alt|{{{link|Kuala Lumpur International Airport}}}}}}]] |
Latest revision as of 15:24, 9 April 2024
Add→{{rail-interchange}}
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
The {{rail-interchange|…}}
template is an abstraction layer to cope with rebranding and renaming of transport systems. The template maps Template:Math 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):
{{rail-interchange|buenosaires|A|size=10}}
| |
{{rail-interchange|buenosaires|A}}
| |
{{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 |
---|---|
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Template:Rail-interchange/generic Template:Rail-interchange/generic Template:Rail-interchange/generic | |
Code: | |
Code: | |
Code: | |
Code: | |
Specific by country
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
- {{Rail icon}} (abbreviated {{ric}}) for a similar template that uses subpages of {{Adjacent stations}}.
TemplateData
TemplateData
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Rail-interchange in articles based on its 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.
|