Vorlage:Navileiste S-Bahn: Unterschied zwischen den Versionen

Aus München Wiki
Zur Navigation springen Zur Suche springen
(Noch so eine schöne Vorlage)
 
Keine Bearbeitungszusammenfassung
Zeile 12: Zeile 12:
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{1N}}}|Endstation|{{{1N}}}|{{{1N}}}<br/> <small>[[Leuchtenbergring]]</small>&nbsp;►}}
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{1N}}}|Endstation|{{{1N}}}|{{{1N}}}<br/> <small>[[Leuchtenbergring]]</small>&nbsp;►}}
{{!}}-
{{!}}-
}}{{#if: {{{2P|}}} |
}}
{{#if: {{{2P|}}} |
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{2P}}}|Endstation|{{{2P}}}|{{{2P}}}<br/>◄ <small>[[Petershausen]] / [[Altomünster]]</small>}}
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{2P}}}|Endstation|{{{2P}}}|{{{2P}}}<br/>◄ <small>[[Petershausen]] / [[Altomünster]]</small>}}
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S2.png|70px|S-Bahnlinie 2]]
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S2.png|70px|S-Bahnlinie 2]]
Zeile 22: Zeile 23:
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{3N}}}|Endstation|{{{3N}}}|{{{3N}}}<br/> <small>[[Holzkirchen]]</small>&nbsp;►}}
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{3N}}}|Endstation|{{{3N}}}|{{{3N}}}<br/> <small>[[Holzkirchen]]</small>&nbsp;►}}
{{!}}-
{{!}}-
}}{{#if: {{{4P|}}} |
}}
{{#if: {{{4P|}}} |
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{4P}}}|Endstation|{{{4P}}}|{{{4P}}}<br/>◄ <small>[[Geltendorf]]</small>}}
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{4P}}}|Endstation|{{{4P}}}|{{{4P}}}<br/>◄ <small>[[Geltendorf]]</small>}}
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S4.png|70px|S-Bahnlinie 4]]
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S4.png|70px|S-Bahnlinie 4]]
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{4N}}}|Endstation|{{{4N}}}|{{{4N}}}<br/> <small>[[Ebersberg]]</small>&nbsp;►}}
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{4N}}}|Endstation|{{{4N}}}|{{{4N}}}<br/> <small>[[Ebersberg]]</small>&nbsp;►}}
{{!}}-
{{!}}-
}}{{#if: {{{6P|}}} |
}}
{{#if: {{{6P|}}} |
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{6P}}}|Endstation|{{{6P}}}|{{{6P}}}<br/>◄ <small>[[Tutzing]]</small>}}
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{6P}}}|Endstation|{{{6P}}}|{{{6P}}}<br/>◄ <small>[[Tutzing]]</small>}}
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S6.png|70px|S-Bahnlinie 6]]
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S6.png|70px|S-Bahnlinie 6]]
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{6N}}}|Endstation|{{{6N}}}|{{{6N}}}<br/> <small>[[Ebersberg]]</small>&nbsp;►}}
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{6N}}}|Endstation|{{{6N}}}|{{{6N}}}<br/> <small>[[Ebersberg]]</small>&nbsp;►}}
{{!}}-
{{!}}-
}}{{#if: {{{7P|}}} |
}}
{{#if: {{{7P|}}} |
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{7P}}}|Endstation|{{{7P}}}|{{{7P}}}<br/>◄ <small>[[Wolfratshausen]]</small>}}
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{7P}}}|Endstation|{{{7P}}}|{{{7P}}}<br/>◄ <small>[[Wolfratshausen]]</small>}}
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S7.png|70px|S-Bahnlinie 7]]
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S7.png|70px|S-Bahnlinie 7]]
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{7N}}}|Endstation|{{{7N}}}|{{{7N}}}<br/> <small>[[Kreuzstraße]]</small>&nbsp;►}}
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{7N}}}|Endstation|{{{7N}}}|{{{7N}}}<br/> <small>[[Kreuzstraße]]</small>&nbsp;►}}
{{!}}-
{{!}}-
}}{{#if: {{{8P|}}} |
}}
{{#if: {{{8P|}}} |
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{8P}}}|Endstation|{{{8P}}}|{{{8P}}}<br/>◄ <small>[[Herrsching]]</small>}}
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{8P}}}|Endstation|{{{8P}}}|{{{8P}}}<br/>◄ <small>[[Herrsching]]</small>}}
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S8.png|70px|S-Bahnlinie 8]]
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S8.png|70px|S-Bahnlinie 8]]
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{8N}}}|Endstation|{{{8N}}}|{{{8N}}}<br/> <small>[[Flughafen]]</small>&nbsp;►}}
{{!}}  style="border-bottom:2px solid" {{!}}{{#ifeq:{{{8N}}}|Endstation|{{{8N}}}|{{{8N}}}<br/> <small>[[Flughafen]]</small>&nbsp;►}}
{{!}}-
{{!}}-
}}{{#if: {{{20P|}}} |
}}
{{#if: {{{20P|}}} |
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{20P}}}|Endstation|{{{20P}}}|{{{20P}}}<br/>◄ <small>[[Pasing]]</small>}}
{{!}} style="border-bottom:2px solid" {{!}}{{#ifeq:{{{20P}}}|Endstation|{{{20P}}}|{{{20P}}}<br/>◄ <small>[[Pasing]]</small>}}
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S20.png|70px|S-Bahnlinie 20]]
{{!}}  style="border-bottom:2px solid" {{!}}  [[Bild:München S20.png|70px|S-Bahnlinie 20]]

Version vom 25. Mai 2022, 17:30 Uhr

}}

Parameter

  • 1P, 1N: Vorheriger /nächster Bahnhof auf der Linie S1
  • 2P, 2N: Vorheriger /nächster Bahnhof auf der Linie S2
  • 3P, 3N: Vorheriger /nächster Bahnhof auf der Linie S3
  • 4P, 4N: Vorheriger /nächster Bahnhof auf der Linie S4
  • 6P, 6N: Vorheriger /nächster Bahnhof auf der Linie S6
  • 7P, 7N: Vorheriger /nächster Bahnhof auf der Linie S7
  • 8P, 8N: Vorheriger /nächster Bahnhof auf der Linie S8
  • 20P, 20N: Vorheriger /nächster Bahnhof auf der Linie S20


Parameterwerte

  • jeweils der Link auf den vorherigen / nächsten Bahnhof
  • Endstation, falls der aktuelle Bahnhof die letzte Station ist

Verwendung

Beispielhafte Verwendung für den U-Bahnhof Universität

{{Navileiste S-Bahn
| 3P=[[Ostbahnhof]]
| 3N=[[Giesing]]
| 7P=[[Ostbahnhof]]
| 7N=[[Giesing]]
}}
S-Bahn
Vorherige Station Linie Nächste Station
}}
S-Bahn
Vorherige Station Linie Nächste Station
Ostbahnhof
Mammendorf
S-Bahnlinie 3 Giesing
Holzkirchen ►
Ostbahnhof
Wolfratshausen
S-Bahnlinie 7 Giesing
Kreuzstraße ►