Template:S-Bahn-Zürich/doc

From Wikipedia, the free encyclopedia

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 WinterthurBaumaRüti ZH
{{S-Bahn-Zürich|26|x||x}} S26
{{S-Bahn-Zürich|26|x|x|x}} S26 WinterthurBaumaRüti ZH
{{S-Bahn-Zürich|26||x}} WinterthurBaumaRüti ZH
{{S-Bahn-Zürich|26|||x}}
{{S-Bahn-Zürich|26||x|x}} WinterthurBaumaRüti ZH

Valid parameters[edit]

2
S2
Zürich FlughafenOerlikonZürich HBThalwilPfäffikon SZZiegelbrü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ückeZürich HBEffretikonWetzikon

Extended from Hardbrücke to Bülach during rush hour, operating non-stop from Glattbrugg.
4
S4
Zürich HBAdliswilLangnau-Gattikon ( – Sihlwald )

Hourly trains operate between Langnau-Gattikon and Sihlwald.
5
S5
ZugAffoltern am AlbisZürich HBUsterWetzikonRapperswilPfäffikon SZ

Stops between Stadelhofen and Wetzikon only in Uster.
6
S6
Baden AGRegensdorf-WattHardbrückeZürich HBUetikon
7
S7
WinterthurKlotenHardbrückeZürich HBMeilenRapperswil

Operates non stop between Stadelhofen and Meilen, Winterthur and Effretikon, stops in Kemptthal as of 9:20 PM.
8
S8
WinterthurWallisellenOerlikonZürich HBThalwilPfäffikon SZ (– Ziegelbrücke)

Operates non stop between Winterthur and Effretikon; first and last services extended to Ziegelbrücke.
9
S9
(Schaffhausen –) RafzHardbrückeZürich HBUster

Operates every 30 minutes between Schaffhausen and Rafz only during rush hour, otherwise every hours.
10
S10
Zürich HBZürich TriemliUetliberg
11
S11
AarauLenzburgDietikonZürich HBZürich StettbachWinterthurSeuzach / Sennhof-Kyburg (– Wila)

Operates non stop between Stettbach and Winterthur; the lines to Seuzach and Sennhof-Kybourg are operated alternately at hourly intervals; supplementary trains to Wila.
12
S12
Brugg AGZürich HBZürich StettbachWinterthurSchaffhausen / 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ädenswilSamstagernEinsiedeln
14
S14
Affoltern am AlbisZürich HBOerlikonUsterWetzikonHinwil

Operates non stop between Zürich Altstetten and Zürich HB.
15
S15
NiederweningenHardbrückeZürich HBUsterWetzikonRapperswil

Stops between Stadelhofen and Wetzikon only in Uster.
16
S16
Zürich FlughafenHardbrückeZürich HBHerrliberg-Feldmeilen (– Meilen)

Extended in the evening to Meilen.
17
S17
DietikonBremgartenBremgarten WestWohlen
18
S18
Zürich StadelhofenZürich RehalpForchEsslingen
19
S19
( KoblenzBaden – ) DietikonZürich HBOerlikonEffretikon ( – Pfäffikon ZH )
21
S21
Regensdorf-WattHardbrückeZü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 HBZürich StadelhofenWinterthurFrauenfeldRomanshorn

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 / WeinfeldenWinterthurZürich FlughafenWipkingenZürich HBThalwilZug

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 HBPfäffikon SZZiegelbrückeGlarusLinthal
26
S26
WinterthurBaumaRüti ZH
29
S29
WinterthurStein am Rhein
30
S30
WinterthurFrauenfeldWeinfelden (– RomanshornRorschach)
33
S33
WinterthurAndelfingenSchaffhausen
35
S35
WinterthurWil SG
40
S40
RapperswilPfäffikon SZSamstagernEinsiedeln
41
S41
WinterthurBülach
42
S42
Zürich HBOthmarsingenMuri 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: