Template:Rail-interchange/sandbox: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 972: | Line 972: | ||
| skytrain =[[File:Jakarta Skytrain.svg|{{{size|20}}}px|link={{{link|Soekarno–Hatta Airport Skytrain}}}]] |
| skytrain =[[File:Jakarta Skytrain.svg|{{{size|20}}}px|link={{{link|Soekarno–Hatta Airport Skytrain}}}]] |
||
| tj =[[File:BSicon BUS3.svg|{{{size|16}}}px|link={{{link|TransJakarta}}}]] |
| tj =[[File:BSicon BUS3.svg|{{{size|16}}}px|link={{{link|TransJakarta}}}]] |
||
| tjk1 =[[File:TransJakarta BRT Corridor 1 Icon.png|{{{size|16}}}px|link={{{link| Corridor 1}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
|||
| tjk2 =[[File:TransJakarta BRT Corridor 2 Icon.png|{{{size|16}}}px|link={{{link| |
| tjk2 =[[File:TransJakarta BRT Corridor 2 Icon.png|{{{size|16}}}px|link={{{link| Corridor 2}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| tjk2a =[[File:Transjakarta BRT Route 2A Icon.png|{{{size|16}}}px|link={{{link| |
| tjk2a =[[File:Transjakarta BRT Route 2A Icon.png|{{{size|16}}}px|link={{{link| Corridor 2}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| tjk2c =[[File:Transjakarta BRT Route 2C Icon.png|{{{size|16}}}px|link={{{link| |
| tjk2c =[[File:Transjakarta BRT Route 2C Icon.png|{{{size|16}}}px|link={{{link| Corridor 2}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File:TransJakarta .|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor 3}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| Corridor 3}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor 4}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: .|{{{size|16}}}px|link={{{link| Corridor 4}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor 5}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| Corridor 5}}}|alt={{{alt|{{{link| Transjakarta}}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: .|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor 6}}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link|List of }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: .|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor 9}}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: .|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File:TransJakarta BRT Corridor Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File:Transjakarta BRT Route Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File: BRT Icon.png|{{{size|16}}}px|link={{{link| # }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| |
| =[[File:TransJakarta BRT Corridor Icon.png|{{{size|16}}}px|link={{{link| Corridor }}}|alt={{{alt|{{{link| }}}}}}]] |
||
| tjk13b =[[File:Transjakarta BRT Route 13B Icon.png|{{{size|16}}}px|link={{{link|List of TransJakarta corridors#Corridor 13}}}|alt={{{alt|{{{link|Koridor 13 Transjakarta}}}}}}]] |
|||
| tjk13c =[[File:Transjakarta BRT Route 13C Icon.png|{{{size|16}}}px|link={{{link|List of TransJakarta corridors#Corridor 13}}}|alt={{{alt|{{{link|Koridor 13 Transjakarta}}}}}}]] |
|||
| tjk13d =[[File:Transjakarta BRT Route 13D Icon.png|{{{size|16}}}px|link={{{link|List of TransJakarta corridors#Corridor 13}}}|alt={{{alt|{{{link|Koridor 13 Transjakarta}}}}}}]] |
|||
| tjkl13e =[[File:Transjakarta BRT Route L13E Icon.png|{{{size|16}}}px|link={{{link|List of TransJakarta corridors#Corridor 13}}}|alt={{{alt|{{{link|Koridor 13 Transjakarta}}}}}}]] |
|||
| tjk14 =[[File:TransJakarta BRT Corridor 14 Icon.png|{{{size|16}}}px|link={{{link|List of TransJakarta corridors#Corridor 14}}}|alt={{{alt|{{{link|Koridor 14 Transjakarta}}}}}}]] |
|||
| tjk15 =[[File:TransJakarta roundel 15.svg|{{{size|16}}}px|link={{{link|List of TransJakarta corridors#Corridor 15}}}|alt={{{alt|{{{link|Koridor 15 Transjakarta}}}}}}]] |
|||
}} |
}} |
||
Revision as of 07:30, 20 June 2024
Add→{{rail-interchange}}
![]() | This is the template sandbox page for Template:Rail-interchange (diff). See also the companion subpage for test cases. |
![]() | 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
- 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 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.
|