Template:S-Bahn-Zürich/sandbox
![]() | This is the template sandbox page for Template:S-Bahn-Zürich (diff). |
This template is used to display a colored icon with a link and other information for Zürich S-Bahn lines.
The first parameter is the line number. The optional second, third and fourth parameters control what is displayed.
- The second parameter is for the line icon. It can be omitted if only the icon is needed.
- The third parameter is for the routing.
- The fourth icon is for service notes.
- Any character(s) can be used as the arguments for parameters two through four.
See the examples below.
Usage
[edit]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.
Examples
[edit]Code | Result |
---|---|
{{S-Bahn-Zürich|26}} |
S26 |
{{S-Bahn-Zürich|26|x}} |
S26 |
{{S-Bahn-Zürich|26|x|x}} |
S26 Winterthur – Bauma – Rüti ZH |
{{S-Bahn-Zürich|26|x||x}} |
S26 |
{{S-Bahn-Zürich|26|x|x|x}} |
S26 Winterthur – Bauma – Rüti ZH |
{{S-Bahn-Zürich|26||x}} |
Winterthur – Bauma – Rüti ZH |
{{S-Bahn-Zürich|26|||x}} |
|
{{S-Bahn-Zürich|26||x|x}} |
Winterthur – Bauma – Rüti ZH |
Valid parameters
[edit]2 S2 |
Zürich Flughafen – Oerlikon – Zürich HB – Thalwil – Pfäffikon SZ – Ziegelbrücke (– Unterterzen) |
---|---|
Stops between Zürich Enge and Ziegelbrücke only in Thalwil, Horgen, Wädenswil, Richterswil, Pfäffikon SZ, Altendorf, Lachen and Siebnen-Wangen. Weekend services extended non-stop from Ziegelbrücke to Unterterzen at hourly intervals. | |
3 S3 |
(Bülach –) Hardbrücke – Zürich HB – Effretikon – Wetzikon |
Extended from Hardbrücke to Bülach during rush hour, operating non-stop from Glattbrugg. | |
4 S4 |
Zürich HB – Adliswil – Langnau-Gattikon ( – Sihlwald ) |
Hourly trains operate between Langnau-Gattikon and Sihlwald. | |
5 S5 |
Zug – Affoltern am Albis – Zürich HB – Uster – Wetzikon – Rapperswil – Pfäffikon SZ |
Stops between Stadelhofen and Wetzikon only in Uster. | |
6 S6 |
Baden AG – Regensdorf-Watt – Hardbrücke – Zürich HB – Uetikon |
7 S7 |
Winterthur – Kloten – Hardbrücke – Zürich HB – Meilen – Rapperswil |
Operates non stop between Stadelhofen and Meilen, Winterthur and Effretikon, stops in Kemptthal as of 9:20 PM. | |
8 S8 |
Winterthur – Wallisellen – Oerlikon – Zürich HB – Thalwil – Pfäffikon SZ (– Ziegelbrücke) |
Operates non stop between Winterthur and Effretikon; first and last services extended to Ziegelbrücke. | |
9 S9 |
(Schaffhausen –) Rafz – Hardbrücke – Zürich HB – Uster |
Operates every 30 minutes between Schaffhausen and Rafz only during rush hour, otherwise every hours. | |
10 S10 |
Zürich HB – Zürich Triemli – Uetliberg |
11 S11 |
Aarau – Lenzburg – Dietikon – Zürich HB – Zürich Stettbach – Winterthur – Seuzach / Sennhof-Kyburg (– Wila) |
Operates non stop between Stettbach and Winterthur; the lines to Seuzach and Sennhof-Kyburg are operated alternately at hourly intervals; supplementary trains to Wila. | |
12 S12 |
Brugg AG – Zürich HB – Zürich Stettbach – Winterthur – Schaffhausen / Wil SG |
Operates non stop between Stettbach and Winterthur; the lines to Schaffhausen and Wil SG are operated alternately at hourly intervals. | |
13 S13 |
Wädenswil – Samstagern – Einsiedeln |
14 S14 |
Affoltern am Albis – Zürich HB – Oerlikon – Uster – Wetzikon – Hinwil |
Operates non stop between Zürich Altstetten and Zürich HB. | |
15 S15 |
Niederweningen – Hardbrücke – Zürich HB – Uster – Wetzikon – Rapperswil |
Stops between Stadelhofen and Wetzikon only in Uster. | |
16 S16 |
Zürich Flughafen – Hardbrücke – Zürich HB – Herrliberg-Feldmeilen (– Meilen) |
Extended in the evening to Meilen. | |
17 S17 |
Dietikon – Bremgarten – Bremgarten West – Wohlen |
18 S18 |
Zürich Stadelhofen – Zürich Rehalp – Forch – Esslingen |
19 S19 |
( Koblenz – Baden – ) Dietikon – Zürich HB – Oerlikon – Effretikon ( – Pfäffikon ZH ) |
21 S21 |
Regensdorf-Watt – Hardbrücke – Zürich HB |
Operates only during rush hour; non-stop between Oerlikon and Regensdorf-Watt; morning services to Zürich HB and evening services to Regensdorf-Wall also stop in Zürich Affoltern. | |
23 S23 |
Zürich HB – Zürich Stadelhofen – Winterthur – Frauenfeld – Romanshorn |
Operates only during rush hour; morning services to Zürich and evening services to Romanshorn; stops between Stadelhofen and Amriswil only in Winterthur, Frauenfeld, Weinfelden and Sulgen. | |
24 S24 |
Thayngen / Weinfelden – Winterthur – Zürich Flughafen – Wipkingen – Zürich HB – Thalwil – Zug |
Services stop in Kemptthal until 9:20 PM; the lines to Thayngen and Weinfelden are operated alternately at hourly intervals; stops between Neuhausen and Winterthur only in Andelfingen. | |
25 S25 |
Zürich HB – Pfäffikon SZ – Ziegelbrücke – Glarus – Linthal |
26 S26 |
Winterthur – Bauma – Rüti ZH |
29 S29 |
Winterthur – Stein am Rhein |
30 S30 |
Winterthur – Frauenfeld – Weinfelden (– Romanshorn – Rorschach) |
33 S33 |
Winterthur – Andelfingen – Schaffhausen |
35 S35 |
Winterthur – Wil SG |
40 S40 |
Rapperswil – Pfäffikon SZ – Samstagern – Einsiedeln |
41 S41 |
Winterthur – Bülach |
42 S42 |
Zürich HB – Othmarsingen – Muri AG |
Operates only during rush hour; stops between Mägenwil and Zürich HB only in Dietikon and Altstetten. Serves Mägenwil only in the direction of Muri AG and Othmarsingen only in the direction of Zürich HB. |
Template Editing
[edit]The template information can be found in the following sub-pages: