Skabelon:ÖPNV Hamburg

U4

Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

This template produces coloured icons for respective Hamburg public transport lines or a public transport services.

The first parameter indicates the current line or service, the second the size of the logos in pixels. If this parameter is not filled, pixel size is 15px.

Brug redigér

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.

Gyldige parametre redigér

Parameter Required field Description
1 Yes Line name
2 No Width

Eksempler redigér

* {{ÖPNV Hamburg|S1}} S1
* {{ÖPNV Hamburg|U4}} U4
* {{ÖPNV Hamburg|R30}} R30
* {{ÖPNV Hamburg|A2}} A2

Bus ruter / færger redigér

Parameter Required field Description
1 Yes Vehicle
2 Yes Line number

Eksempler redigér

* {{ÖPNV Hamburg|MetroBus|1}} Bus
MetroBus
1
* {{ÖPNV Hamburg|SchnellBus|37}} Bus
SchnellBus
37
* {{ÖPNV Hamburg|StadtBus|189}} Bus
StadtBus
189
* {{ÖPNV Hamburg|EilBus|E92}} Bus
Eilbus
E92
* {{ÖPNV Hamburg|NachtBus|865}} Bus
Night bus
865
* {{ÖPNV Hamburg|Fähre|64}} Ferry
64