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.

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

编辑
Code Result
{{S-Bahn-Zürich|26}} S26
{{S-Bahn-Zürich|26|x}} S26
{{S-Bahn-Zürich|26|x|x}} S26 Template:S-Bahn-Zürich/Route
{{S-Bahn-Zürich|26|x||x}} S26 Template:S-Bahn-Zürich/Hinweis
{{S-Bahn-Zürich|26|x|x|x}} S26 Template:S-Bahn-Zürich/Route Template:S-Bahn-Zürich/Hinweis
{{S-Bahn-Zürich|26||x}} Template:S-Bahn-Zürich/Route
{{S-Bahn-Zürich|26|||x}} Template:S-Bahn-Zürich/Hinweis
{{S-Bahn-Zürich|26||x|x}} Template:S-Bahn-Zürich/Route Template:S-Bahn-Zürich/Hinweis

Valid parameters

编辑
2
S2
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
3
S3
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
4
S4
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
5
S5
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
6
S6
Template:S-Bahn-Zürich/Route
7
S7
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
8
S8
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
9
S9
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
10
S10
Template:S-Bahn-Zürich/Route
11
S11
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
12
S12
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
13
S13
Template:S-Bahn-Zürich/Route
14
S14
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
15
S15
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
16
S16
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
17
S17
Template:S-Bahn-Zürich/Route
18
S18
Template:S-Bahn-Zürich/Route
19
S19
Template:S-Bahn-Zürich/Route
21
S21
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
23
S23
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
24
S24
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
25
S25
Template:S-Bahn-Zürich/Route
26
S26
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
29
S29
Template:S-Bahn-Zürich/Route
30
S30
Template:S-Bahn-Zürich/Route
33
S33
Template:S-Bahn-Zürich/Route
35
S35
Template:S-Bahn-Zürich/Route
40
S40
Template:S-Bahn-Zürich/Route
41
S41
Template:S-Bahn-Zürich/Route
42
S42
Template:S-Bahn-Zürich/Route
Template:S-Bahn-Zürich/Hinweis
default Lua错误:unknown error。

Template Editing

编辑

The template information can be found in the following sub-pages: