Template:ÖPNV Hamburg/doc
| This is a documentation subpage for Template:ÖPNV Hamburg. It contains usage information, categories and other content that is not part of the original template page. |
This template is used to display a coloured icon with a link for Hamburg's public transport lines and services. It can be abbreviated {{rint|Hamburg}}.
- The first parameter selects the line or service.
- The second parameter sets the size of the logos in pixels. If this parameter is omitted, the default pixel size is 15 pixels.
For buses and ferries, the second parameter is required for the route number.
Note that this template is not case sensitive: i.e. {{ÖPNV Hamburg|U}} produces the same result as {{ÖPNV Hamburg|u}}.
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.
Valid parameters
| A or AKN |
A1 |
A2 |
A3 | ||||
| R |
R10 |
R11 |
R20 |
R21 |
R30 |
R31 |
DB |
| R40 |
R41 |
R50 |
R51 |
R60 |
R70 | ||
| S or S-bahn |
S1 S 1 |
S11 S 11 |
S2 S 2 |
S21 S 21 |
S3 S 3 |
S31 S 31 |
S31zw S 31zw |
| U or U-bahn |
U1 U 1 |
U2 U 2 |
U3 U 3 |
U4 U 4 |
U4 old U 1 | ||
| Bus |
StadtBus |
EilBus |
MetroBus |
SchnellBus |
NachtBus or night bus |
Fähre or Faehre or ferry |
F |
| route number required | |||||||