Revision as of 01:22, 5 September 2024 view sourceJackdude101 (talk | contribs)Extended confirmed users, Rollbackers, Template editors16,475 edits Flix and Utrecht added.← Previous edit | Latest revision as of 14:54, 25 December 2024 view source Jonesey95 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Mass message senders, Template editors370,750 edits Fix Linter errors. Fix invalid image options. | ||
(18 intermediate revisions by 8 users not shown) | |||
Line 11: | Line 11: | ||
| adelaide ={{#switch: {{lc: {{{2}}} }} | | adelaide ={{#switch: {{lc: {{{2}}} }} | ||
| rail =] | |||
| bus =] | | bus =] | ||
| rail =] | |||
| belair =] | |||
| gawler =] | |||
| grange =] | |||
| outer harbor =] | |||
| port dock =] | |||
| seaford =] | |||
| flinders =] | |||
| tram =] | | tram =] | ||
| glenelg =] | | glenelg =] | ||
| belair =] | |||
| flinders =] | |||
| gawler =] | |||
| grange =] | |||
| outer harbor =] | |||
| seaford =] | |||
| tonsley =] | |||
}} | }} | ||
Line 41: | Line 41: | ||
| amsterdam ={{#switch: {{lc: {{{2}}} }} | | amsterdam ={{#switch: {{lc: {{{2}}} }} | ||
| gvb =] | | gvb =] | ||
| metro =] | | metro =] | ||
| 50 =] | | 50 =] | ||
| 51 =] | | 51 =] | ||
Line 48: | Line 48: | ||
| 54 =] | | 54 =] | ||
}} | }} | ||
| asturias ={{#switch: {{lc: {{{2}}} }} | |||
| renfe =] | |||
| c | cercanias | cercanías =] | |||
| c-1 =] | |||
| c-2 =] | |||
| c-3 =] | |||
| c-4 =] | |||
| c-5 =] | |||
| c-5a =] | |||
| c-6 =] | |||
| c-7 =] | |||
| c-8 =] | |||
}} | |||
| athens ={{rail icon|{{#switch:{{lc:{{{2}}}}} | | athens ={{rail icon|{{#switch:{{lc:{{{2}}}}} | ||
Line 468: | Line 482: | ||
| brown = ] | | brown = ] | ||
| ats =] | | ats =] | ||
}} | |||
| chongqing ={{#switch: {{lc: {{{2}}} }} | |||
| metro | crt = <!-- ] image deleted, commented out per TPER 2021-07-25 --> | |||
| csr =] | |||
| #default ={{Rail color box|Chongqing Rail Transit|{{lc: {{{2|}}}}}|route|type={{{3|}}}}} | |||
| 3a ={{#switch: {{lc: {{{3}}} }} | |||
| na ={{RouteBox|Airport|Line 3 (Chongqing Rail Transit)#Airport branch|#{{rail color|Chongqing Rail Transit|na}}}} | |||
| #default ={{Rail color box|Chongqing Rail Transit|3|route|type=a}} | |||
}} | |||
| 6i ={{#switch: {{lc: {{{3}}} }} | |||
| na ={{RouteBox|Int'l Expo|Line 6 (Chongqing Rail Transit)#International Expo branch|#{{rail color|Chongqing Rail Transit|na}}}} | |||
| #default ={{Rail color box|Chongqing Rail Transit|6|route|type=i}} | |||
}} | |||
| s ={{#switch: {{lc: {{{4}}} }} | |||
| na ={{RouteBox|S{{{3}}}|Line S{{{3}}} (Chongqing Suburban Railway)|#{{rail color|Chongqing Rail Transit|na}}}} | |||
| #default ={{RouteBox|S{{{3}}}|Line S{{{3}}} (Chongqing Suburban Railway)|#{{rail color|Chongqing Rail Transit|s{{{3}}}}}}} | |||
}} | |||
}} | }} | ||
Line 1,035: | Line 1,031: | ||
| kaohsiung ={{#switch: {{lc: {{{2}}} }} | | kaohsiung ={{#switch: {{lc: {{{2}}} }} | ||
| metro |
| metro = {{ric|Kaohsiung Metro|link={{{link|}}}|alt={{{alt|}}}}} | ||
| |
| red | r ={{ric|Kaohsiung Metro|r|link={{{link|}}}}} | ||
| |
| orange | o ={{ric|Kaohsiung Metro|o|link={{{link|}}}}} | ||
| |
| circular | c ={{ric|Kaohsiung Metro|c|link={{{link|}}}}} | ||
| |
| yellow | y ={{ric|Kaohsiung Metro|y|link={{{link|}}}}} | ||
| #default ={{ric|Kaohsiung Metro|{{{2 |
| #default ={{ric|Kaohsiung Metro|{{{2|}}}|link={{{link|}}}}} | ||
}} | }} | ||
Line 1,262: | Line 1,258: | ||
| c ={{RouteBox|C|Line C (Mecca Metro)|#DC241F}} | | c ={{RouteBox|C|Line C (Mecca Metro)|#DC241F}} | ||
| d ={{RouteBox|D|Line D (Mecca Metro)|#0354A6}} | | d ={{RouteBox|D|Line D (Mecca Metro)|#0354A6}} | ||
| s | shuttle ={{RouteBox|S|Al Mashaaer Al Mugaddassah Metro |
| s | shuttle ={{RouteBox|S|Al Mashaaer Al Mugaddassah Metro line|#FFC0CB|#000000}} | ||
}} | }} | ||
Line 1,274: | Line 1,270: | ||
| mexicocity ={{#switch: {{lc: {{{2}}} }} | | mexicocity ={{#switch: {{lc: {{{2}}} }} | ||
| mcm =] | | mcm =] | ||
| tl =] | | tl =] | ||
| fs =] | | fs =] | ||
| #default =] | | #default =] | ||
Line 1,395: | Line 1,391: | ||
| neworleans ={{#switch: {{lc: {{{2}}} }} | | neworleans ={{#switch: {{lc: {{{2}}} }} | ||
| #default = {{ric|NORTA|{{lc: {{{2}}} }}}} | | #default = {{ric|NORTA|{{lc: {{{2}}} }}}} | ||
}} | |||
| newtaipei ={{#switch: {{lc: {{{2}}} }} | |||
| metro = {{ric|New Taipei Metro|link={{{link|}}}|alt={{{alt|}}}}} | |||
| danhai | v = {{ric|New Taipei Metro|v|link={{{link|}}}}} | |||
| ankeng | k = {{ric|New Taipei Metro|k|link={{{link|}}}}} | |||
| circular | y = {{ric|New Taipei Metro|y|link={{{link|}}}}} | |||
| sanying | lb = {{ric|New Taipei Metro|lb|link={{{link|}}}}} | |||
| shenkeng | s = {{ric|New Taipei Metro|s|link={{{link|}}}}} | |||
| wugu–taishan | f = {{ric|New Taipei Metro|f|link={{{link|}}}}} | |||
| #default = {{ric|New Taipei Metro|{{{2|}}}|link={{{link|}}}}} | |||
}} | }} | ||
Line 1,701: | Line 1,708: | ||
| rotterdam ={{#switch: {{lc: {{{2}}} }} | | rotterdam ={{#switch: {{lc: {{{2}}} }} | ||
| ret =] | | ret =] | ||
| metro =] | | metro =] | ||
| a ={{RouteBox|A|{{{link|Rotterdam Metro line A}}}|#00AA50}} | | a ={{RouteBox|A|{{{link|Rotterdam Metro line A}}}|#00AA50}} | ||
| b ={{RouteBox|B|{{{link|Rotterdam Metro line B}}}|#FFD301|black}} | | b ={{RouteBox|B|{{{link|Rotterdam Metro line B}}}|#FFD301|black}} | ||
Line 1,731: | Line 1,738: | ||
| green | g =] | | green | g =] | ||
| silver | s =] | | silver | s =] | ||
}}{{#if:{{{3|{{{showtext|}}}}}}| ] | }}{{#if:{{{3|{{{showtext|}}}}}}| ] | ||
}} | }} | ||
Line 1,963: | Line 1,970: | ||
| stockholm ={{#switch: {{lc: {{{2}}} }} | | stockholm ={{#switch: {{lc: {{{2}}} }} | ||
| commuter =] | | commuter =] | ||
| 40 | 41 | 42 | 43 | 44 | 48 | j40 | j41 | j42 | j43 | j44 | j48 ={{RouteBox|{{{2}}}|Stockholm commuter rail|#27417A}} | | 40 | 41 | 42 | 43 | 44 | 48 | j40 | j41 | j42 | j43 | j44 | j48 ={{RouteBox|{{{2}}}|Stockholm commuter rail|#27417A}} | ||
| metro =] | | metro =] | ||
Line 1,998: | Line 2,005: | ||
| t1 | north | shore | western =] | | t1 | north | shore | western =] | ||
| t2 | inner | leppington =] | | t2 | inner | leppington =] | ||
| t3 | bankstown =] | | t3 | bankstown =] | ||
| t4 | eastern | illawarra =] | | t4 | eastern | illawarra =] | ||
| t5 | cumberland =] | | t5 | cumberland =] | ||
Line 2,038: | Line 2,045: | ||
| taichung ={{#switch: {{lc: {{{2}}} }} | | taichung ={{#switch: {{lc: {{{2}}} }} | ||
| |
| metro = {{RouteBox|{{{2}}}|Taichung Metro|#0b03fc}} | ||
| |
| #default ={{ric|Taichung Metro|{{{2|}}}|link={{{link|}}}}} | ||
| o ={{RouteBox|O|{{{link|Orange Line (Taichung Metro)}}}|#{{rail color|Taichung Metro|o}}|#000}} | |||
| r ={{RouteBox|R|{{{link|Red Line (Taichung)}}}|#{{rail color|Taichung Metro|r}}}} | |||
| #default ={{RouteBox|{{{2}}}|{{{2}}} Line (Taichung Metro)|#{{rail color|Taichung Metro|{{{2}}}}}}} | |||
}} | }} | ||
Line 2,052: | Line 2,056: | ||
| taipei ={{#switch: {{lc: {{{2}}} }} | | taipei ={{#switch: {{lc: {{{2}}} }} | ||
| metro |
| metro = {{ric|Taipei Metro|link={{{link|}}}|alt={{{alt|}}}}} | ||
| |
| wenhu | br = {{ric|Taipei Metro|br|link={{{link|}}}}} | ||
| |
| tamsui–xinyi | r = {{ric|Taipei Metro|r|link={{{link|}}}}} | ||
| |
| songshan–xindian | g = {{ric|Taipei Metro|g|link={{{link|}}}}} | ||
| |
| zhonghe–xinlu | o = {{ric|Taipei Metro|o|link={{{link|}}}}} | ||
| |
| bannan | bl = {{ric|Taipei Metro|bl|link={{{link|}}}}} | ||
| maokong | m = ] | |||
| 7 | lg = {{ric|Taipei Metro|lg|link={{{link|}}}}} | |||
| |
| xinbeitou = {{ric|Taipei Metro|xinbeitou|link={{{link|}}}}} | ||
| |
| xiaobitan = {{ric|Taipei Metro|xiaobitan|link={{{link|}}}}} | ||
| wanda–zhonghe–shulin | lg = {{ric|Taipei Metro|lg|link={{{link|}}}}} | |||
| maokong | maokong gondola = {{RouteBox|Maokong Gondola|Maokong Gondola|#{{rail color|TRTS|Maokong}}}} | |||
| minsheng–xizhi | sb = {{ric|Taipei Metro|sb|link={{{link|}}}}} | |||
| #default = {{ric|Taipei Metro|{{{2|}}}|link={{{link|}}}}} | | #default = {{ric|Taipei Metro|{{{2|}}}|link={{{link|}}}}} | ||
}} | |||
| new taipei ={{#switch: {{lc: {{{2}}} }} | |||
| danhai | v = {{ric|New Taipei Metro|v|link={{{link|}}}}} | |||
| ankeng | k = {{ric|New Taipei Metro|k|link={{{link|}}}}} | |||
| circular | y = {{ric|New Taipei Metro|y|link={{{link|}}}}} | |||
| shenkeng | s = {{ric|New Taipei Metro|s|link={{{link|}}}}} | |||
| sanying | lb = {{ric|New Taipei Metro|lb|link={{{link|}}}}} | |||
| #default = {{ric|New Taipei Metro|{{{2|}}}|link={{{link|}}}}} | |||
}} | }} | ||
| taoyuan ={{#switch: {{lc: {{{2}}} }} | | taoyuan ={{#switch: {{lc: {{{2}}} }} | ||
| metro = {{ric|Taoyuan Metro|link={{{link|}}}|alt={{{alt|}}}}} | | metro = {{ric|Taoyuan Metro|link={{{link|}}}|alt={{{alt|}}}}} | ||
| airport | |
| airport | a = {{ric|Taoyuan Metro|a|link={{{link|}}}}} | ||
| |
| blue | b = {{ric|Taoyuan Metro|b|link={{{link|}}}}} | ||
| green | g = {{ric|Taoyuan Metro|g|link={{{link|}}}}} | |||
| orange | o = {{ric|Taoyuan Metro|o|link={{{link|}}}}} | |||
| brown | br = {{ric|Taoyuan Metro|br|link={{{link|}}}}} | |||
| red | r = {{ric|Taoyuan Metro|r|link={{{link|}}}}} | |||
| #default ={{ric|Taoyuan Metro|{{{2|}}}|link={{{link|}}}}} | | #default ={{ric|Taoyuan Metro|{{{2|}}}|link={{{link|}}}}} | ||
}} | }} | ||
| tbilisi = {{#switch: {{lc: {{{2}}} }} | | tbilisi = {{#switch: {{lc: {{{2}}} }} | ||
| metro = ] | | metro = ] | ||
}} | }} | ||
| tehran ={{#switch: {{lc: {{{2}}} }} | | tehran ={{#switch: {{lc: {{{2}}} }} | ||
| metro =] | | metro =] | ||
Line 2,096: | Line 2,098: | ||
| thessaloniki | thessalonika ={{#switch: {{lc: {{{2}}} }} | | thessaloniki | thessalonika ={{#switch: {{lc: {{{2}}} }} | ||
| |
| m =] | ||
| |
| m1 | 1 =] | ||
| |
| m2 | 2 =] | ||
| |
| m3 | 3 =] | ||
| ose | r =] | |||
| p =] | |||
| pr =] | | pr =] | ||
| Π1 | ∏1 | π1 | p1 =] | | Π1 | ∏1 | π1 | p1 =] | ||
Line 2,105: | Line 2,109: | ||
| Π3 | ∏3 | π3 | p3 ={{#if:{{{link|Proastiakos Thessaloniki}}}|*(%d*)*$|%1|plain=false}}/17*100 round 0}}%;padding-left:2px;padding-right:2px;" title="{{{alt|{{{link|Proastiakos Thessaloniki Line Π3}}}}}}">Π3</span>]]|<span style="background-color:#{{rcr|Proastiakos Thessaloniki|3}};color:white;font-weight:bold;font-size:{{#expr:{{#invoke:string|replace|{{{size|x15}}}|^*(%d*)*$|%1|plain=false}}/17*100 round 0}}%;padding-left:2px;padding-right:2px;" title="{{{alt|{{{link|Proastiakos Thessaloniki Line Π3}}}}}}">Π3</span>}} | | Π3 | ∏3 | π3 | p3 ={{#if:{{{link|Proastiakos Thessaloniki}}}|*(%d*)*$|%1|plain=false}}/17*100 round 0}}%;padding-left:2px;padding-right:2px;" title="{{{alt|{{{link|Proastiakos Thessaloniki Line Π3}}}}}}">Π3</span>]]|<span style="background-color:#{{rcr|Proastiakos Thessaloniki|3}};color:white;font-weight:bold;font-size:{{#expr:{{#invoke:string|replace|{{{size|x15}}}|^*(%d*)*$|%1|plain=false}}/17*100 round 0}}%;padding-left:2px;padding-right:2px;" title="{{{alt|{{{link|Proastiakos Thessaloniki Line Π3}}}}}}">Π3</span>}} | ||
| a =] | | a =] | ||
| ktel = <span style="background-color:#f59f27;border-radius:2px;font-weight:bold;font-size:80%;padding-left:2px;padding-right:2px;" title="{{{alt|{{{link|KTEL}}}}}}">]</span> | |||
| arch = ] | |||
}} | }} | ||
| tianjin ={{#switch: {{lc: {{{ |
| tianjin ={{#switch: {{lc: {{{2}}} }} | ||
| metro =] | |||
| na ={{#switch: {{lc: {{{2}}} }} | |||
| #default = {{rail icon|Tianjin Metro|{{lc:{{{2}}}}}|size={{{size|x16}}}px}} | |||
| t | teda ={{RouteBox|TEDA|TEDA Modern Guided Rail Tram|#{{rail color|Tianjin Metro|na}}}} | |||
| s9 | jj | jinji ={{RouteBox|Huaimi|{{{link|Tianjin–Jizhou railway}}}|#{{rail color|Tianjin Metro|na}}}} | |||
}} | |||
| #default ={{#switch: {{lc: {{{2}}} }} | |||
| metro =] | |||
| bmt =] | |||
| 2 | 13 | b2 ={{RouteBox|{{{2}}}|Line {{{2}}} (Tianjin Metro)|#{{rail color|Tianjin Metro|{{{2}}}}}|#000}} | |||
| t | teda ={{RouteBox|TEDA|TEDA Modern Guided Rail Tram|#{{rail color|Tianjin Metro|t}}}} | |||
| s9 | jj | jinji ={{RouteBox|Jinji|{{{link|Tianjin–Jizhou railway}}}|#{{rail color|CRH|Tianjin–Jizhou}}}} | |||
| #default ={{RouteBox|{{{2}}}|Line {{{2}}} (Tianjin Metro)|#{{rail color|Tianjin Metro|{{{2}}}}}}} | |||
}} | |||
}} | }} | ||
Line 2,540: | Line 2,535: | ||
| at ={{#switch: {{lc: {{{2}}} }} | | at ={{#switch: {{lc: {{{2}}} }} | ||
| öbb | obb =] | | öbb | obb =] | ||
| westbahn =] | | westbahn =] | ||
}} | }} | ||
| be ={{#switch: {{lc: {{{2}}} }} | | be ={{#switch: {{lc: {{{2}}} }} | ||
| eul =] | | eul =] | ||
| rail =] | | rail =] | ||
}} | }} | ||
Line 2,621: | Line 2,616: | ||
| il | israel ={{#switch: {{lc: {{{2}}} }} | | il | israel ={{#switch: {{lc: {{{2}}} }} | ||
| bus =] | |||
| carmelit =] | | carmelit =] | ||
| egged |
| egged =] | ||
| rail = ] | | rail = ] | ||
| |
| railw = ] | ||
| jerusalem light rail =] | |||
| tel aviv light rail | dankal =] | |||
}} | }} | ||
Line 2,883: | Line 2,881: | ||
| tw ={{#switch: {{lc: {{{2}}} }} | | tw ={{#switch: {{lc: {{{2}}} }} | ||
| tra | rail =] | | tra | rail =] | ||
| thsr =] | | thsr =] | ||
| |
| cbrt =] | ||
| cbrt =] | |||
| danhai =] | |||
| gondola =] | |||
| kmrt =] | |||
| trts =] | |||
| tym =] | |||
}} | }} | ||
Latest revision as of 14:54, 25 December 2024
Add→{{rail-interchange}}
Template documentation[view] [edit] [history] [purge]This template is used on approximately 39,000 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 f (where, how) → to brand, link, icon(s) allowing the whole of Misplaced Pages 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
Please avoid adding these icons within the prose of articles: per Misplaced Pages's Manual of Style for icons, "Icons should not be used in the article body... This breaks up the continuity of the text, distracting the reader".
In addition, icons used in this way are primarily decorative, e.g. "aesthetics are in the eye of the beholder: one reader's harmless decoration may be another reader's distraction": While the icons provide visual cues in certain circumstances, writing in prose will usually suffice. Instead, provide a link to the services directly.
Generic
The following symbols can be used to denote interchange:
Symbol | Usage |
---|---|
Code: | |
Code: {{rint|air|base}} or {{rint|airbase}} Alternative icon: {{rint|airbase|ex}} Use: Military air base Link: Military air base | |
Code: {{rint|air|field}} or {{rint|airfield}} Use: Small airport or private airfield Link: Aerodrome | |
Code: | |
Code: | |
Code: {{rint|bus|rapid}} or …|bus|brt}} Use: Interchange with Bus Rapid Transit services Link: Bus rapid transit | |
Code: {{rint|bus|trolleybus}} or …|bus|trolley}} or …|bus|tb}} or {{rint|trolley}} or …|trolleybus}} Use: Interchange with local trolleybus services Link: Trolleybus | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: {{rint|tram}} or …|light rail}} Alternative icon: {{rint|tram|1}} Use: Interchange with tram or light rail services Link: Tram or Light rail | |
Code: | |
Code: | |
Code: | |
Code: {{rint|heritage|rail}} Alternative icon: {{rint|heritage|rail|ex}} Use: Interchange with a heritage railway line Link: Heritage railway | |
Code: | |
Code: {{rint|bicycle}} or {{rint|bike}} Use: Bicycle facilities Link: Bicycle | |
Code: {{rint|park}} or {{rint|parking}} Alternative icon: {{rint|park|1}} or {{rint|parking|1}} Use: Parking Link: Parking | |
Code: | |
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.
- Argentina
- Armenia
- Austria
- Australia
- Belarus
- Belgium
- Brazil
- Bulgaria
- Canada
- Chile
- Mainland China and Hong Kong
- Czech Republic
- Denmark
- France
- Germany
- Greece
- Hungary
- India
- Indonesia
- Ireland
- Israel
- Italy
- Japan
- Malaysia
- Mexico
- The Netherlands
- Norway
- The Philippines
- Poland
- Portugal
- Qatar
- Romania
- Russia
- Saudi Arabia
- Singapore
- Slovakia
- South Korea
- Spain
- Sweden
- Switzerland
- Taiwan
- Thailand
- Turkey
- Ukraine
- United Arab Emirates
- United Kingdom
- United States
Please only use free content images. In most cases, using non-free logos in this manner will not comply with Misplaced Pages'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 Misplaced Pages to be updated when a transport network switches operator, changes name or updates their logo.
|
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Category: