Gebruiker:Roelof88/Lijninfo: verschil tussen versies

Uit OV in Nederland Wiki
Ga naar: navigatie, zoeken
(test in eigen naamruimte)
Regel 1: Regel 1:
<includeonly>[[Categorie:Buitenlandse lijn {{{lijncat|{{{lijnnr}}}}}}]]
+
{| cellpadding='4' cellspacing='0' width='300' align='right' style='border: 1px solid #cadbeb; background: #ecf4f8; margin-left: 10px'
[[Categorie:{{{type|Bus}}}lijnen|{{{lijncat|{{{lijnnr}}}}}}]]
+
|colspan="2" style="background:#cadceb; text-align:center; font-weight:bold;"| {{#switch: {{{type|}}}
[[Categorie: Concessie {{{concessie|onbekend}}}|{{{lijnnr}}}]]
+
|#standaard        = [[Bestand:Bus.svg|70px|left|link=Bus]] Bus
[[Categorie: Lijn in {{{land|onbekend buitenland}}}|{{{land|onbekend}}}]]</includeonly>
+
|Buurtbus|buurtbus = [[Bestand:Buurtbus blauw.svg|40px|left|link=Buurtbus]] Buurtbus
{| cellpadding='4' cellspacing='0' width='300' align='right' style='border: 1px solid #b0c9e1; background: #cadbeb; background: -moz-radial-gradient(top, #fff 10%, #cadbeb 100%); background: -webkit-gradient(radial, left top, left bottom, color-stop(10%,#fff), color-stop(100%,#cadbeb)); background: -webkit-radial-gradient(top, #fff 0%, #cadbeb 100%); background: -o-radial-gradient(top, #fff 10%, #cadbeb 100%,); background: -ms-radial-gradient(top, #fff 10%, #cadbeb 100%); background: radial-gradient(top,#fff 10%, #cadbeb 100%);'
+
|Belbus|belbus    = [[Bestand:Belbus blauw.svg|40px|left|link=Belbus]] Belbus
 +
|Trolley|trolley  = [[Bestand:Trolley blauw.png|80px|left|Trolleybus]] Trolley
 +
|S-Bahn|s-bahn    = [[Bestand:S.png|30px|left|link=S-Bahn|S-Bahn]] S-Bahn
 +
|Metro|metro      = [[Bestand:Metro nieuw.svg|20px|left|link=Metro]] Metro
 +
|Tram|tram        = [[Bestand:Tram blauw.svg|50px|left|link=Tram]] Tram
 +
|Veer|veer        = [[Bestand:boot.svg|40px|left|link=Veerdienst]] Veer}}lijn {{{lijnnr}}}<br /> <div style="font-size:11px">[[:Categorie:Voormalige lijn {{{lijncat|{{{lijnnr}}}}}}|Bekijk de voormalige lijnen {{{lijnnr}}}]]</div>
 
|-
 
|-
!colspan="2"| {{#switch: {{{type|}}}
+
{{#ifeq:{{{land|}}}|{{{land|n.v.t.}}}|  
|#standaard = [[Afbeelding:Bus.svg|70px|link=Bus]]
+
{{FreqRij2 | Land | ''{{{land}}}|Onbekend}}'' |  
| Metro|metro = [[Afbeelding:Metro nieuw.svg|20px|link=Metro]]
+
}}
| Tram|tram = [[Afbeelding:Tram blauw.svg|50px|link=Tram]]
 
| Veer|veer = [[Afbeelding:boot.svg|40px|link=Veerdienst]]}}
 
 
|-
 
|-
|colspan="2" style="text-align:center; border-bottom:#b0c9e1 1px solid;"| '''[[{{{lijnsoort}}}]]lijn {{{lijnnr}}} in [[:Categorie:Lijn in {{{land}}}|{{{land|[[:Categorie:Buitenlandse {{{type|bus}}}lijnen|het buitenland]]}}}]] {{#ifeq:{{{land2|}}}|{{{land2|n.v.t.}}}|en [[:Categorie:Lijn in {{{land2}}}|{{{land2}}}]]|}}'''
+
{{#ifeq:{{{land2|}}}|{{{land2|n.v.t.}}}|
 +
{{FreqRij2 | 2e land | ''{{{land2}}}|Onbekend}}'' |
 +
}}
 +
|-
 +
| '''Vervoerder(s)''' || {{{vervoerder}}}
 +
|-
 +
{{#ifeq:{{{concessie|}}}|{{{concessie|n.v.t.}}}|
 +
{{FreqRij2 | Concessie | [[Concessie {{{concessie}}}|{{{concessie|''Onbekend''}}}]] }} |
 +
}}
 +
|-
 +
{{#ifeq:{{{concessie2|}}}|{{{concessie2|n.v.t.}}}|
 +
{{FreqRij2 | 2e concessie | [[Concessie {{{concessie2}}}|{{{concessie2|''Onbekend''}}}]] }} |
 +
}}
 +
|-
 +
| '''Lijnsoort''' || [[{{{lijnsoort}}}]]
 +
|-
 +
{{#ifeq:{{{lijnlogo|}}}|{{{lijnlogo|n.v.t.}}}|
 +
{{FreqRij2 | Lijnlogo | [[Afbeelding:{{{lijnlogo}}}|30px]]}} |
 +
}}
 +
|-
 +
{{#ifeq:{{{formule|}}}|{{{formule|n.v.t.}}}|
 +
{{FreqRij2 | Formule | [[{{{formule}}}]] }} |
 +
}}
 +
{{#ifeq:{{{formule_logo|}}}|{{{formule_logo|n.v.t.}}}|
 +
{{FreqRij2 | Formule | {{{formule_logo}}} }} |
 +
}}
 +
|-
 +
{{#ifeq:{{{project|}}}|{{{project|n.v.t.}}}|  
 +
{{FreqRij2 | Projectnaam | ''{{{project}}}'' }} |
 +
}}
 +
|-
 +
{{#ifeq:{{{periode|}}}|{{{periode|n.v.t.}}}|  
 +
{{FreqRij2 | Periode | ''{{{periode}}}}}'' |
 +
}}
 +
|-
 +
| '''Materieel''' || {{{materieel|''Onbekend''}}}
 +
|-style='background: #cadbeb;'
 +
| || '''Frequenties'''
 +
|-style="font-size: 90%;"
 +
| '''Spits''' || {{#switch:{{{type|}}}|#standaard={{{frequentie_spits|rijdt niet}}}|Veer|veer={{{frequentie_spits|vaart niet}}} }}
 +
{{#ifeq:{{{frequentie_spits_vakantie|}}}|{{{frequentie_spits_vakantie|-}}}|
 +
{{FreqRij | Spits (vakantie) | {{{frequentie_spits_vakantie|}}} }} |
 +
}}
 +
|-style="font-size: 90%;"
 +
| '''Dal''' || {{#switch:{{{type|}}}|#standaard={{{frequentie_dal|rijdt niet}}}|Veer|veer={{{frequentie_dal|vaart niet}}} }}
 +
{{#ifeq:{{{frequentie_dal_vakantie|}}}|{{{frequentie_dal_vakantie|-}}}|
 +
{{FreqRij | Dal (vakantie) | {{{frequentie_dal_vakantie|}}} }} |
 +
}}
 +
|-style="font-size: 90%;"
 +
| '''Avond''' || {{#switch:{{{type|}}}|#standaard={{{frequentie_avond|rijdt niet}}}|Veer|veer={{{frequentie_avond|vaart niet}}} }}
 +
{{#ifeq:{{{frequentie_avond_vakantie|}}}|{{{frequentie_avond_vakantie|-}}}|
 +
{{FreqRij | Avond (vakantie) | {{{frequentie_avond_vakantie|}}} }} |
 +
}}
 +
|-
 +
{{#ifeq:{{{frequentie_koopavond|}}}|{{{frequentie_koopavond|-}}}|
 +
{{FreqRij | Koopavond | {{{frequentie_koopavond|}}} }} |
 +
}}
 +
{{#ifeq:{{{frequentie_koopavond_vakantie|}}}|{{{frequentie_koopavond_vakantie|-}}}|
 +
{{FreqRij | Koopavond (vakantie) | {{{frequentie_koopavond_vakantie|}}} }} |
 +
}}
 +
|-style="font-size: 90%;"
 +
| '''Zaterdag''' || {{#switch:{{{type|}}}|#standaard={{{frequentie_zaterdag|rijdt niet}}}|Veer|veer={{{frequentie_zaterdag|vaart niet}}} }}
 +
{{#ifeq:{{{frequentie_zaterdag_vakantie|}}}|{{{frequentie_zaterdag_vakantie|-}}}|
 +
{{FreqRij | Zaterdag (vakantie) | {{{frequentie_zaterdag_vakantie|}}} }} |
 +
}}
 +
|-style="font-size:90%;"
 +
| '''Zondag''' || {{#switch:{{{type|}}}|#standaard={{{frequentie_zondag|rijdt niet}}}|Veer|veer={{{frequentie_zondag|vaart niet}}} }}
 +
{{#ifeq:{{{frequentie_zondag_vakantie|}}}|{{{frequentie_zondag_vakantie|-}}}|
 +
{{FreqRij | Zondag (vakantie) | {{{frequentie_zondag_vakantie|}}} }} |
 +
}}
 +
|-
 +
{{#ifeq:{{{frequentie_koopzondag|}}}|{{{frequentie_koopzondag|-}}}|
 +
{{FreqRij | Koopzondag | {{{frequentie_koopzondag|}}} }} |
 +
}}
 +
|}
 +
{| cellpadding='0' cellspacing='0' width='300' align='right' style='clear:right; background: #fff; margin-left: 10px'
 +
{{#ifeq:{{{afbeelding}}}|{{{afbeelding|nvt}}}|
 +
{{Afbinfo | [[Afbeelding:{{{afbeelding}}}|thumb|290px|{{{onderschrift}}}]] }} |
 +
}}
 
|}
 
|}
 +
<includeonly>
 +
<!----categorie switch 1---->
 +
{{#switch:{{{type}}}
 +
|#standaard=[[Categorie:Lijn {{{lijncat|{{{lijnnr}}}}}}]]
 +
|S-Bahn|s-bahn=[[Categorie:S-Bahnlijn {{{lijncat|{{{lijnnr}}}}}} }}
 +
<!----categorie switch 2---->
 +
[[Categorie:{{#switch:{{{type}}}
 +
|#standaard=Buslijnen
 +
|S-Bahn|s-bahn={{{netwerk|onbekend netwerk}}}
 +
|Metro|metro=Metrolijnen
 +
|Tram|tram=Tramlijnen
 +
|Veer|veer=Veerlijnen}}|{{{lijncat|{{{lijnnr}}}}}} }}]]
 +
<!----categorie switch 3---->
 +
{{#switch:{{{type}}}
 +
|Buurtbus|buurtbus=[[Categorie:Buurtbus|{{{lijnnr}}}]]
 +
|Trolley|trolley=[[Categorie:Trolley|{{{lijnnr}}}]]
 +
|S-Bahn|s-bahn=[[Categorie: Lijn in {{{land|onbekend buitenland}}}|{{{land|onbekend}}}]] }}
 +
<!----categorie switch 4---->
 +
[[Categorie: Concessie {{{concessie|onbekend}}}|{{{lijnnr}}}]]}}</includeonly><noinclude>{{InfoBoxInfo}}</noinclude>

Versie van 11 feb 2014 om 19:42

Bus.svg
Buslijn {{{lijnnr}}}
[[:Categorie:Voormalige lijn {{{lijnnr}}}|Bekijk de voormalige lijnen {{{lijnnr}}}]]
Vervoerder(s) {{{vervoerder}}}
Lijnsoort [[{{{lijnsoort}}}]]
Materieel Onbekend
Frequenties
Spits rijdt niet
Dal rijdt niet
Avond rijdt niet
Zaterdag rijdt niet
Zondag rijdt niet
Zie Help:Infobox voor meer informatie over infoboxen.