Template:Rail-interchange: Difference between revisions
adding Sydney lines (TPER) |
|||
Line 1,941: | Line 1,941: | ||
| monorail | mono =[[File:Sydney metro logo.svg|{{{size|17}}}px|link={{{link|Sydney Monorail}}}]] |
| monorail | mono =[[File:Sydney metro logo.svg|{{{size|17}}}px|link={{{link|Sydney Monorail}}}]] |
||
| train =[[File:TfNSW T.svg|{{{size|19}}}px|link={{{link|Railways in Sydney}}}]] |
| train =[[File:TfNSW T.svg|{{{size|19}}}px|link={{{link|Railways in Sydney}}}]] |
||
| t1 | north | shore | western =[[North Shore & Western Line |
| t1 | north | shore | western =[[File:TfNSW T1.svg|{{{size|16}}}px|link={{{link|North Shore & Western Line}}}]] |
||
| t2 | inner | leppington |
| t2 | inner | leppington =[[File:TfNSW T2.svg|{{{size|16}}}px|link={{{link|Inner West & Leppington Line}}}]] |
||
| t3 | bankstown =[[ |
| t3 | bankstown =[[File:TfNSW T3.svg|{{{size|16}}}px|link={{{link|Bankstown Line}}}]] |
||
| t4 | eastern | illawarra =[[Eastern Suburbs & Illawarra Line |
| t4 | eastern | illawarra =[[File:TfNSW T4.svg|{{{size|16}}}px|link={{{link|Eastern Suburbs & Illawarra Line}}}]] |
||
| t5 | cumberland =[[ |
| t5 | cumberland =[[File:TfNSW T5.svg|{{{size|16}}}px|link={{{link|Cumberland Line}}}]] |
||
| t6 | lidcombe-bankstown =[[File:TfNSW T6 (2024).svg|{{{size|16}}}px|link={{{link|Lidcombe & Bankstown Line}}}]] |
|||
⚫ | |||
| t7 | olympic =[[ |
| t7 | olympic =[[File:TfNSW T7.svg|{{{size|16}}}px|link={{{link|Olympic Park Line}}}]] |
||
| t8 | airport | south = |
| t8 | airport | south =[[File:TfNSW T8.svg|{{{size|16}}}px|link={{{link|Airport & South Line}}}]] |
||
| t9 | northern =[[File:TfNSW T9.svg|{{{size|16}}}px|link={{{link|Northern Line (Sydney)}}}]] |
|||
| t9 | northern = [[Northern Line (Sydney)|<span style = "color:#{{rail color|Sydney Trains|T9}};font-size:125%;line-height:100%">■</span>]] |
|||
| carlingford =[[File:TfNSW T6 (2013–2020).svg|{{{size|16}}}px|link={{{link|Carlingford Line}}}]] |
|||
| south west =[[South West Rail Link|<span style="color:#{{rail color|Sydney Trains|South West}};font-size:125%;line-height:100%">■</span>]] |
| south west =[[South West Rail Link|<span style="color:#{{rail color|Sydney Trains|South West}};font-size:125%;line-height:100%">■</span>]] |
||
| metro =[[File:TfNSW M.svg|{{{size|19}}}px|link={{{link|Sydney Metro}}}]] |
| metro =[[File:TfNSW M.svg|{{{size|19}}}px|link={{{link|Sydney Metro}}}]] |
||
| nswtrainlink | regional train | countrylink | cl = |
| nswtrainlink | regional train | countrylink | cl =[[File:TfNSW T.svg|{{{size|19}}}px|link={{{link|NSW TrainLink}}}]] |
||
| blue =[[Blue Mountains Line|<span style="color:#{{rail color|NSW TrainLink|BMT}};font-size:125%;line-height:100%">■</span>]] |
| blue =[[Blue Mountains Line|<span style="color:#{{rail color|NSW TrainLink|BMT}};font-size:125%;line-height:100%">■</span>]] |
||
| hunter =[[Hunter Line|<span style="color:#{{rail color|NSW TrainLink|HUN}};font-size:125%;line-height:100%">■</span>]] |
| hunter =[[Hunter Line|<span style="color:#{{rail color|NSW TrainLink|HUN}};font-size:125%;line-height:100%">■</span>]] |
||
Line 1,959: | Line 1,960: | ||
| highlands =[[Southern Highlands Line|<span style="color:#{{rail color|NSW TrainLink|SHL}};font-size:125%;line-height:100%">■</span>]] |
| highlands =[[Southern Highlands Line|<span style="color:#{{rail color|NSW TrainLink|SHL}};font-size:125%;line-height:100%">■</span>]] |
||
| light rail =[[File:TfNSW L.svg|{{{size|19}}}px|link={{{link|Light rail in Sydney}}}]] |
| light rail =[[File:TfNSW L.svg|{{{size|19}}}px|link={{{link|Light rail in Sydney}}}]] |
||
| l1 | dulwich hill | lightrail | light =[[ |
| l1 | dulwich hill | lightrail | light =[[File:TfNSW L1.svg|{{{size|16}}}px|link={{{link|Dulwich Hill Line}}}]] |
||
| l2 | cbd | southeast =[[CBD and South East Light Rail |
| l2 | cbd | southeast | randwick =[[File:TfNSW L2.svg|{{{size|16}}}px|link={{{link|CBD and South East Light Rail}}}]] |
||
| l3 | kingsford =[[File:TfNSW L3.svg|{{{size|16}}}px|link={{{link|CBD and South East Light Rail}}}]] |
|||
⚫ | |||
| coach = [[File:TfNSW C.svg|{{{size|19}}}px|link={{{link|NSW TrainLink#Coach services}}}]] |
| coach = [[File:TfNSW C.svg|{{{size|19}}}px|link={{{link|NSW TrainLink#Coach services}}}]] |
||
}} |
}} |
Revision as of 12:35, 30 April 2024
Add→{{rail-interchange}}
This template is used on approximately 38,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 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
Please avoid adding these icons within the prose of articles: per Wikipedia'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: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
Code: | |
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.
- 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
- 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 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.
|