Sjabloon:NetInfo: verschil tussen versies

Uit OV in Nederland Wiki
Ga naar: navigatie, zoeken
(Parameters "Aantal passagiers" en "Stations" optioneel gemaakt)
 
(Een tussenliggende versie door een andere gebruiker niet weergegeven)
Regel 1: Regel 1:
 
{| width='300' align='right' cellpadding='4' cellspacing='0' style='border: 1px solid #CADCEB; margin-bottom:5px; margin-left:5px; font-size: 95%;'
 
{| width='300' align='right' cellpadding='4' cellspacing='0' style='border: 1px solid #CADCEB; margin-bottom:5px; margin-left:5px; font-size: 95%;'
! colspan='2' style='background: #CADCEB; color: #115098;' | {{#switch: {{{type|}}} | Metro = [[Afbeelding:Metro nieuw.svg|20px]] | =  [[Afbeelding:Tram blauw.svg|50px|left]]}} {{{type|Tram}}}net van {{{stad}}}
+
! colspan='2' style='background: #CADCEB; color: #115098;' | {{#switch: {{{type|}}} | Metro = [[Afbeelding:Metro nieuw.svg|25px]] | =  [[Afbeelding:Tram blauw.svg|25px|left]]}} {{{type|Tram}}}net van {{{stad}}}
 
|-
 
|-
 
| '''Vervoerder''' || {{{vervoerder}}}
 
| '''Vervoerder''' || {{{vervoerder}}}
Regel 7: Regel 7:
 
|-  
 
|-  
 
| '''Opening''' || {{{opening}}}
 
| '''Opening''' || {{{opening}}}
|-  
+
|-
{{InfoboxRij| Aantal passagiers | {{{passagiers}}} }}
+
{{#if:{{{passagiers|}}}
|-  
+
| {{InfoboxRij| Aantal passagiers | {{{passagiers}}} }}
{{InfoboxRij| Stations | {{{stations}}} }}
+
}}
 +
|-
 +
{{#if:{{{stations|}}}
 +
| {{InfoboxRij| Stations | {{{stations}}} }}
 +
}}
 
|-
 
|-
 
{{#ifeq:{{{sluiting|}}}|{{{sluiting|n.v.t.}}}|  
 
{{#ifeq:{{{sluiting|}}}|{{{sluiting|n.v.t.}}}|  

Huidige versie van 12 sep 2020 om 13:49

Tram blauw.svg
Tramnet van {{{stad}}}
Vervoerder {{{vervoerder}}}
Spoorbreedte {{{spoorbreedte}}}
Opening {{{opening}}}
Zie Help:Infobox voor meer informatie over infoboxen.