Template:Hamburg rail: Difference between revisions
update links for U4 |
No edit summary |
||
Line 4: | Line 4: | ||
|above = [[Hamburger Verkehrsverbund]] (HVV) Public transport rail systems and operators in the [[Hamburg Metropolitan Region]] |
|above = [[Hamburger Verkehrsverbund]] (HVV) Public transport rail systems and operators in the [[Hamburg Metropolitan Region]] |
||
|state = {{{state|autocollapse}}} |
|state = {{{state|autocollapse}}} |
||
| |
|bodyclass = hlist |
||
|groupstyle = background:transparent; |
|groupstyle = background:transparent; |
||
|group1 = Systems |
|group1 = Systems |
||
|list1 = |
|list1 = |
||
* [[File:U-Bahn.svg|14px]] [[Hamburg U-Bahn]] |
* [[File:U-Bahn.svg|14px]] [[Hamburg U-Bahn]] |
||
** ''lines:'' [[U1 (Hamburg U-Bahn)|U1]] |
|||
** [[U2 (Hamburg U-Bahn)|U2]] |
|||
** [[U3 (Hamburg U-Bahn)|U3]] |
|||
** [[U4 (Hamburg U-Bahn)|U4]] |
|||
** ''[[Hamburg U-Bahn#Current projects|U5]]'' |
|||
* [[File:S-Bahn-Logo.svg|14px]] [[Hamburg S-Bahn]] |
* [[File:S-Bahn-Logo.svg|14px]] [[Hamburg S-Bahn]] |
||
* [[File:HVV Logo AKN.svg|14px]] Hamburg [[AKN Eisenbahn|A-Bahn]] |
* [[File:HVV Logo AKN.svg|14px]] Hamburg [[AKN Eisenbahn|A-Bahn]] |
||
Line 16: | Line 21: | ||
|group2 = Operators |
|group2 = Operators |
||
|list2 = |
|list2 = |
||
;{{nobold|U-Bahn}} |
|||
: [[Hamburger Hochbahn]] |
|||
;{{nobold|S-Bahn}} |
|||
⚫ | |||
: [[DB Regio]] |
|||
⚫ | |||
* R-Bahn: [[Erixx]] · [[Eisenbahnen und Verkehrsbetriebe Elbe-Weser]] · [[Metronom]] · [[Nordbahn Eisenbahngesellschaft]] · [[Nord-Ostsee-Bahn]] |
|||
;{{nobold|A-Bahn}} |
|||
: [[AKN Eisenbahn]] |
|||
;{{nobold|R-Bahn}} |
|||
: [[Erixx]] |
|||
: [[Eisenbahnen und Verkehrsbetriebe Elbe-Weser]] |
|||
: [[Metronom]] |
|||
: [[Nordbahn Eisenbahngesellschaft]] |
|||
: [[Nord-Ostsee-Bahn]] |
|||
|group3 = {{ |
|group3 = {{ric|Hamburg S-Bahn|S1}} |
||
|list3 = {{#if:{{{lineS1<includeonly>|</includeonly>}}}| |
|list3 = {{#if:{{{lineS1<includeonly>|</includeonly>}}}| |
||
* [[Wedel station|Wedel]] |
* [[Wedel station|Wedel]] |
||
Line 55: | Line 69: | ||
}} |
}} |
||
|group4 = {{ |
|group4 = {{ric|Hamburg S-Bahn|S11}} |
||
|list4 = {{#if:{{{lineS11<includeonly>|</includeonly>}}}| |
|list4 = {{#if:{{{lineS11<includeonly>|</includeonly>}}}| |
||
* [[Blankenese station|Blankenese]] |
* [[Blankenese station|Blankenese]] |
||
Line 82: | Line 96: | ||
}} |
}} |
||
|group5 = {{ |
|group5 = {{ric|Hamburg S-Bahn|S2}} |
||
|list5 = {{#if:{{{lineS2<includeonly>|</includeonly>}}}| |
|list5 = {{#if:{{{lineS2<includeonly>|</includeonly>}}}| |
||
* [[Hamburg-Altona station|Altona]] [[File:HVV Logo Regionalbahn.svg|10px]] |
* [[Hamburg-Altona station|Altona]] [[File:HVV Logo Regionalbahn.svg|10px]] |
||
Line 101: | Line 115: | ||
}} |
}} |
||
|group6 = {{ |
|group6 = {{ric|Hamburg S-Bahn|S21}} |
||
|list6 = {{#if:{{{lineS21<includeonly>|</includeonly>}}}| |
|list6 = {{#if:{{{lineS21<includeonly>|</includeonly>}}}| |
||
* [[Elbgaustraße station|Elbgaustraße]] |
* [[Elbgaustraße station|Elbgaustraße]] |
||
Line 125: | Line 139: | ||
}} |
}} |
||
|group7 = {{ |
|group7 = {{ric|Hamburg S-Bahn|S3}} |
||
|list7 = {{#if:{{{lineS3<includeonly>|</includeonly>}}}| |
|list7 = {{#if:{{{lineS3<includeonly>|</includeonly>}}}| |
||
* [[Pinneberg station|Pinneberg]] [[File:HVV Logo Regionalbahn.svg|10px]] |
* [[Pinneberg station|Pinneberg]] [[File:HVV Logo Regionalbahn.svg|10px]] |
||
Line 162: | Line 176: | ||
}} |
}} |
||
|group8 = {{ |
|group8 = {{ric|Hamburg S-Bahn|S31}} |
||
|list8 = {{#if:{{{lineS31<includeonly>|</includeonly>}}}| |
|list8 = {{#if:{{{lineS31<includeonly>|</includeonly>}}}| |
||
* [[Hamburg-Altona station|Altona]] [[File:HVV Logo Regionalbahn.svg|10px]] |
* [[Hamburg-Altona station|Altona]] [[File:HVV Logo Regionalbahn.svg|10px]] |
||
Line 181: | Line 195: | ||
}} |
}} |
||
|group9 = {{ |
|group9 = {{ric|Hamburg U-Bahn|U1}} |
||
|list9 = {{#if:{{{lineU1<includeonly>|</includeonly>}}}| |
|list9 = {{#if:{{{lineU1<includeonly>|</includeonly>}}}| |
||
* [[Norderstedt Mitte station|Norderstedt Mitte]] [[File:HVV Logo AKN.svg|10px]] |
* [[Norderstedt Mitte station|Norderstedt Mitte]] [[File:HVV Logo AKN.svg|10px]] |
||
Line 232: | Line 246: | ||
}} |
}} |
||
|group10= {{ |
|group10= {{ric|Hamburg U-Bahn|U2}} |
||
|list10 = {{#if:{{{lineU2<includeonly>|</includeonly>}}}| |
|list10 = {{#if:{{{lineU2<includeonly>|</includeonly>}}}| |
||
* [[Niendorf Nord station|Niendorf Nord]] |
* [[Niendorf Nord station|Niendorf Nord]] |
||
Line 261: | Line 275: | ||
}} |
}} |
||
|group11= {{ |
|group11= {{ric|Hamburg U-Bahn|U3}} |
||
|list11 = {{#if:{{{lineU3<includeonly>|</includeonly>}}}| |
|list11 = {{#if:{{{lineU3<includeonly>|</includeonly>}}}| |
||
* [[Barmbek station|Barmbek]] [[File:S-Bahn-Logo.svg|10px]] |
* [[Barmbek station|Barmbek]] [[File:S-Bahn-Logo.svg|10px]] |
||
Line 291: | Line 305: | ||
}} |
}} |
||
|group12 = {{ |
|group12 = {{ric|Hamburg U-Bahn|U4}} |
||
|list12 = {{#if:{{{lineU4<includeonly>|</includeonly>}}}| |
|list12 = {{#if:{{{lineU4<includeonly>|</includeonly>}}}| |
||
* [[Elbbrücken station|Elbbrücken]] |
* [[Elbbrücken station|Elbbrücken]] |
||
Line 307: | Line 321: | ||
}} |
}} |
||
| |
|below = |
||
| |
;{{nobold|[[List of railway stations in Hamburg|Long distance railway stations]]}} |
||
: [[Hamburg Hauptbahnhof]] |
|||
: [[Hamburg-Altona station|Hamburg-Altona]] |
|||
: [[Hamburg Dammtor station|Hamburg Dammtor]] |
|||
: [[Hamburg-Harburg station|Hamburg-Harburg]] |
|||
* [[List of Hamburg U-Bahn stations]] |
|||
* [[List of Hamburg S-Bahn stations]] |
|||
}}<noinclude> |
}}<noinclude> |
||
{{ |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Revision as of 18:48, 14 July 2022
Usage
This template selectively displays the stations of various Hamburg U-Bahn and Hamburg S-Bahn lines in a navbox. To select which lines are displayed, use the parameters "lineS1" through "lineS5" and "lineU1" through "lineU4". Give each parameter a value to make that line display, and leave the parameter unset to make the line stay hidden. For example,
{{Hamburg rail
|lineS1=
|lineS2=
|lineS3=
|lineS5=
|lineU1=
|lineU2=yes
|lineU3=
|lineU4=yes
}}
displays:
If adding new lines to this template, please ensure that List of Hamburg U-Bahn stations or List of Hamburg S-Bahn stations are updated to match. The list pages include a copy of this template, and is also linked from the title bar of this template.
Blank declaration
You can copy and paste this blank template for use, inserting a value for each of the lines that's to be displayed and either deleting or leaving unset the lines that aren't to be displayed.
{{Hamburg rail|lineS1=|lineS2=|lineS3=|lineS5=|lineU1=|lineU2=|lineU3=|lineU4=}}
Full template
This is what the contents of the full template with every line displayed looks like:
Collapsed vs expanded
This template's initial visibility currently defaults to autocollapse
, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.
To change this template's initial visibility, the |state=
parameter may be used:
{{Hamburg rail|state=collapsed}}
will show the template collapsed, i.e. hidden apart from its title bar.{{Hamburg rail|state=expanded}}
will show the template expanded, i.e. fully visible.
This template shows the Hamburg rail navbox at the bottom of the page, showing the appropriate lines and stations. The value "yes" should be used for whichever line runs through the station.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Line S1 | lineS1 | no description | String | optional |
Line S2 | lineS2 | no description | String | optional |
Line S3 | lineS3 | no description | String | optional |
Line S5 | lineS5 | no description | String | optional |
Line U1 | lineU1 | no description | String | optional |
Line U2 | lineU2 | no description | String | optional |
Line U3 | lineU3 | no description | String | optional |
Line U4 | lineU4 | no description | String | optional |