Template:S-Bahn-Zürich
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
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
Template Editing
The template information can be found in the following sub-pages: