Mal:Rail-interchange
Add→{{rail-interchange}}
| Denne malen brukes på et stort antall sider. Det anbefales at endringer testes i en sandkasse før de legges inn. Diskuter gjerne også endringer på diskusjonssiden først. |
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
Mal:Rail-interchange/doc/usage
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.
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.
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.
| Parameter | Beskrivelse | Type | Status | |
|---|---|---|---|---|
| Location or operator | 1 | ingen beskrivelse | Streng | påkrevd |
| Line, route or service | 2 | ingen beskrivelse | Streng | valgfri |
| Modifier | 3 | controls options for specific systems | Streng | valgfri |
| Modifier | 4 | controls options for specific systems | Streng | valgfri |
| Size | size | width of icon, in pixels | Tall | valgfri |
| Link | link | alternative Wikilink target for icon | Streng | valgfri |
| Alternative text | alt | overrides default text | Streng | valgfri |
| Title case | Title case | ingen beskrivelse | Ukjent | valgfri |
| line | line | ingen beskrivelse | Ukjent | valgfri |
| icon | icon | ingen beskrivelse | Ukjent | valgfri |
| showtext | showtext | ingen beskrivelse | Ukjent | valgfri |
| text | text | ingen beskrivelse | Ukjent | valgfri |
| small | small | ingen beskrivelse | Ukjent | valgfri |
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.