Sjabloon:LijnInfo: verschil tussen versies

Uit OV in Nederland Wiki
Ga naar: navigatie, zoeken
(Versimpeling / verduidelijking code (zie VLijnInfo))
Regel 10: Regel 10:
 
  |Veer|veer=[[Bestand:boot.svg|40px|link=Veerdienst]]}}</div> {{#switch:{{{tijdelijk}}}|ja=Tijdelijke <span style="text-transform: lowercase">}}{{#switch:{{{grens}}}|ja=Grensoverschrijdende <span style="text-transform: lowercase">}} {{#switch:{{{nacht}}}|ja=Nacht<span style="text-transform: lowercase">}}{{#switch:{{{type}}}|#standaard={{#if:{{{type|}}}|{{{type}}}|Bus}}|belbus=Belbus|buurtbus=Buurtbus|trolley=Trolley|s-bahn=S-Bahn|metro=Metro|tram=Tram|veer=Veer}}{{#switch:{{{tijdelijk}}}|ja=</span>}}{{#switch:{{{grens}}}|ja=</span>}}{{#switch:{{{nacht}}}|ja=</span>}}lijn {{{lijnnr|0}}} {{#switch:{{{buitenland}}}|ja={{#if:{{{land|}}}|in {{{land}}}|in het buitenland}} {{#if:{{{land2|}}}|en {{{land2}}}|}}}}<br /> <div class="plainlinks" style="font-size:11px; color:#002bb8">[http://wiki.ovinnederland.nl/w/index.php?title=Categorie:Voormalige_{{#switch:{{{buitenland}}}|ja=Buitenlandse_}}lijn_{{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} Bekijk de voormalige lijnen {{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}}]</div>
 
  |Veer|veer=[[Bestand:boot.svg|40px|link=Veerdienst]]}}</div> {{#switch:{{{tijdelijk}}}|ja=Tijdelijke <span style="text-transform: lowercase">}}{{#switch:{{{grens}}}|ja=Grensoverschrijdende <span style="text-transform: lowercase">}} {{#switch:{{{nacht}}}|ja=Nacht<span style="text-transform: lowercase">}}{{#switch:{{{type}}}|#standaard={{#if:{{{type|}}}|{{{type}}}|Bus}}|belbus=Belbus|buurtbus=Buurtbus|trolley=Trolley|s-bahn=S-Bahn|metro=Metro|tram=Tram|veer=Veer}}{{#switch:{{{tijdelijk}}}|ja=</span>}}{{#switch:{{{grens}}}|ja=</span>}}{{#switch:{{{nacht}}}|ja=</span>}}lijn {{{lijnnr|0}}} {{#switch:{{{buitenland}}}|ja={{#if:{{{land|}}}|in {{{land}}}|in het buitenland}} {{#if:{{{land2|}}}|en {{{land2}}}|}}}}<br /> <div class="plainlinks" style="font-size:11px; color:#002bb8">[http://wiki.ovinnederland.nl/w/index.php?title=Categorie:Voormalige_{{#switch:{{{buitenland}}}|ja=Buitenlandse_}}lijn_{{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} Bekijk de voormalige lijnen {{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}}]</div>
 
|-
 
|-
{{#if:{{{vervoerder|}}}|{{FreqRij2|Vervoerder(s)|{{{vervoerder}}}}}|{{FreqRij2|Vervoerder(s)|''Onbekend''}}}}
+
{{#if:{{{vervoerder|}}}
 +
| {{ FreqRij2 | Vervoerder(s) | {{{vervoerder}}} }}
 +
| {{ FreqRij2 | Vervoerder(s) | ''Onbekend'' }}
 +
}}
 
|-
 
|-
{{#if:{{{concessie|}}}|{{FreqRij2|Concessie|[[Concessie {{{concessie}}}|{{{concessie}}}]]}}}}
+
{{#if:{{{concessie|}}}
 +
| {{ FreqRij2 | Concessie | [[Concessie {{{concessie}}}|{{{concessie}}}]] }}
 +
}}
 
|-
 
|-
{{#if:{{{concessie2|}}}|{{FreqRij2|2e concessie|[[Concessie {{{concessie2}}}|{{{concessie2}}}]]}}}}
+
{{#if:{{{concessie2|}}}
 +
| {{ FreqRij2 | 2e concessie | [[Concessie {{{concessie2}}}|{{{concessie2}}}]] }}
 +
}}
 
|-
 
|-
{{#if:{{{netwerk|}}}|{{FreqRij2|Netwerk|[[{{{netwerk}}}]]}}}}
+
{{#if:{{{netwerk|}}}
 +
| {{ FreqRij2 | Netwerk | [[{{{netwerk}}}]] }}
 +
}}
 
|-
 
|-
{{#if:{{{lijnsoort|}}}|{{FreqRij2|Lijnsoort|[[{{{lijnsoort}}}]]}}}}
+
{{#if:{{{lijnsoort|}}}
 +
| {{ FreqRij2 | Lijnsoort | [[{{{lijnsoort}}}]] }}
 +
}}
 
|-
 
|-
{{#if:{{{lijnlogo|}}}|{{FreqRij2|Lijnlogo|[[Afbeelding:{{{lijnlogo}}}|30px]]}}}}
+
{{#if:{{{lijnlogo|}}}
 +
| {{ FreqRij2 | Lijnlogo | [[Afbeelding:{{{lijnlogo}}}|30px]] }}
 +
}}
 
|-
 
|-
{{#if:{{{formule|}}}|{{FreqRij2|Formule|[[{{{formule}}}]]}}}}
+
{{#if:{{{formule|}}}
 +
| {{ FreqRij2 | Formule | [[{{{formule}}}]] }}
 +
}}
 
|-
 
|-
{{#if:{{{formule_logo|}}}|{{FreqRij2|Formule|{{{formule_logo}}}}}}}
+
{{#if:{{{formule_logo|}}}
 +
| {{ FreqRij2 | Formule | {{{formule_logo}}} }}
 +
}}
 
|-
 
|-
{{#if:{{{project|}}}|{{FreqRij2|Projectnaam|''{{{project}}}''}}}}
+
{{#if:{{{project|}}}
 +
| {{ FreqRij2 | Projectnaam | ''{{{project}}}'' }}
 +
}}
 
|-
 
|-
{{#if:{{{materieel|}}}|{{FreqRij2|Materieel|{{{materieel}}}}}|{{FreqRij2|Materieel|''Onbekend''}}}}
+
{{#if:{{{materieel|}}}
 +
| {{FreqRij2 | Materieel | {{{materieel}}} }}
 +
| {{FreqRij2 | Materieel | ''Onbekend'' }}
 +
}}
 
|-
 
|-
{{#if:{{{periode|}}}|{{FreqRij2|{{#switch:{{{tijdelijk}}}|#standaard={{#switch:{{{type|}}}|#standaard=Rijdt sinds|Veer|veer=Vaart sinds}}|ja=Periode}}|''{{{periode}}}''}}}}
+
{{#if:{{{periode|}}}
 +
| {{ FreqRij2 | {{#switch:{{{tijdelijk}}}
 +
                |#standaard={{#switch:{{{type|}}}
 +
                              |#standaard=Rijdt sinds
 +
                              |Veer|veer=Vaart sinds }}
 +
                |ja=Periode}} | ''{{{periode}}}''}}
 +
}}
 
|-
 
|-
{{#if:{{{reden|}}}|{{FreqRij2|Reden|''{{{reden}}}''}}}}
+
{{#if:{{{reden|}}}
 +
| {{ FreqRij2 | Reden | ''{{{reden}}}'' }}
 +
}}
 
|-
 
|-
{{#if:{{{opmerking|}}}|{{FreqRij2|Opmerking|''{{{opmerking}}}''}}}}
+
{{#if:{{{opmerking|}}}
 +
| {{ FreqRij2 | Opmerking | ''{{{opmerking}}}'' }}
 +
}}
 
|-
 
|-
{{#if:{{{voorganger|}}}|{{FreqRij2|Voorganger(s)|{{{voorganger}}}}} }}
+
{{#if:{{{voorganger|}}}
 +
| {{ FreqRij2 | Voorganger(s) | {{{voorganger}}} }}
 +
}}
 
|-
 
|-
{{#if:{{{opvolger|}}}|{{FreqRij2|Opvolger|{{{opvolger}}}}} }}
+
{{#if:{{{opvolger|}}}
 +
| {{ FreqRij2 | Opvolger | {{{opvolger}}} }}
 +
}}
 
|-style='background: #{{#switch:{{{nacht}}}|#standaard=cadceb|ja=010040}}; color: #{{#switch:{{{nacht}}}|#standaard=000|ja=FFFF00}};'
 
|-style='background: #{{#switch:{{{nacht}}}|#standaard=cadceb|ja=010040}}; color: #{{#switch:{{{nacht}}}|#standaard=000|ja=FFFF00}};'
 
|colspan="2"| <div style="width:265px;">'''Frequenties'''</div>
 
|colspan="2"| <div style="width:265px;">'''Frequenties'''</div>
Regel 128: Regel 164:
 
{{#switch:{{{nacht}}}
 
{{#switch:{{{nacht}}}
 
|ja={{FreqRij3|De lijn {{#switch:{{{type|}}}|#standaard=rijdt|veer|Veer=vaart}} in de nacht na de genoemde dag(en)}}
 
|ja={{FreqRij3|De lijn {{#switch:{{{type|}}}|#standaard=rijdt|veer|Veer=vaart}} in de nacht na de genoemde dag(en)}}
 +
}}<includeonly>
 +
|-
 +
[[Categorie:{{#switch:{{{buitenland}}}|#standaard=Lijn|ja=Buitenlandse lijn}} {{{lijncat|{{{lijnnr}}}}}}|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]
 +
 +
[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse {{#switch:{{{type}}}|#standaard=bus|Metro|metro=metro|s-bahn|S-Bahn=S-Bahn|Tram|tram=Tram|Veer|veer=veer}}|#standaard={{#switch:{{{type}}}|#standaard=Bus|Metro|metro=Metro|Tram|tram=Tram|Veer|veer=Veer}}}}lijnen|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]
 +
 +
{{#switch:{{{tijdelijk}}}
 +
|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse tijdelijke|#standaard=Tijdelijke}} {{lc:{{{type|bus}}} }}lijnen|{{{lijnnr}}}]]
 +
}}
 +
 +
{{#switch:{{{nacht}}}
 +
|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse nacht|#standaard=Nacht}}{{lc:{{{type|bus}}} }}|{{{lijnnr}}}]]
 +
}}
 +
 +
{{#switch:{{{type}}}
 +
|Buurtbus|buurtbus=[[Categorie:Buurtbus|{{{lijnnr}}}]]
 +
|Trolley|trolley=[[Categorie:Trolley|{{{lijnnr}}}]]
 +
|S-Bahn|s-bahn=[[Categorie:S-Bahnlijn {{{lijncat|{{{lijnnr}}}}}}|{{{lijnnr}}}]]
 +
}}
 +
 +
{{#switch:{{{grens}}}
 +
|ja=[[Categorie:Grensoverschrijdende lijnen|{{{lijnnr}}}]]
 +
}}
 +
 +
{{#if:{{{concessie|}}}
 +
| [[Categorie:Concessie {{{concessie}}}|{{{lijnnr}}}]]
 +
}}
 +
 +
{{#if:{{{concessie2|}}}
 +
| [[Categorie:Concessie {{{concessie2}}}|{{{lijnnr}}}]]
 +
}}
 +
 +
{{#if:{{{netwerk|}}}
 +
| [[Categorie:{{{netwerk}}}]]
 +
}}
 +
 +
{{#if:{{{land|}}}
 +
| [[Categorie:Lijn in {{{land}}}]]
 
}}
 
}}
 +
 +
{{#if:{{{land2|}}}
 +
| [[Categorie:Lijn in {{{land2}}}]]
 +
}} </includeonly>
 
|}
 
|}
{{#if:{{{afbeelding|}}}|[[Afbeelding:{{{afbeelding}}}|thumb|290px|right|{{{onderschrift|}}}]]|}}{{#if:{{{afbeelding2|}}}|[[Afbeelding:{{{afbeelding2}}}|thumb|290px|right|{{{onderschrift2|}}}]]|}}{{#if:{{{afbeelding3|}}}|[[Afbeelding:{{{afbeelding3}}}|thumb|290px|right|{{{onderschrift3|}}}]]|}}<includeonly>[[Categorie:{{#switch:{{{buitenland}}}|#standaard=Lijn|ja=Buitenlandse lijn}} {{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}}|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]][[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse {{#switch:{{{type}}}|#standaard=bus|Metro|metro=metro|s-bahn|S-Bahn=S-Bahn|Tram|tram=Tram|Veer|veer=veer}}|#standaard={{#switch:{{{type}}}|#standaard=Bus|Metro|metro=Metro|Tram|tram=Tram|Veer|veer=Veer}}}}lijnen|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]{{#switch:{{{tijdelijk}}}|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse tijdelijke|#standaard=Tijdelijke}} {{#switch:{{{type}}}|#standaard=bus|Metro|metro=metro|s-bahn|S-Bahn=S-Bahn|Tram|tram=tram|Veer|veer=veer}}lijnen|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]}}{{#switch:{{{nacht}}}|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse nacht|#standaard=Nacht}}{{#switch:{{{type}}}|#standaard=bus|s-bahn|S-Bahn=s-bahn|Metro|metro=metro|Tram|tram=tram|Veer|veer=veer}}|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]}}{{#switch:{{{type}}}|Buurtbus|buurtbus=[[Categorie:Buurtbus|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]|Trolley|trolley=[[Categorie:Trolley|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]|S-Bahn|s-bahn=[[Categorie:S-Bahnlijn {{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}}]]}}{{#switch:{{{grens}}}|ja=[[Categorie:Grensoverschrijdende lijnen|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]}}{{#if:{{{concessie|}}}|[[Categorie:Concessie {{{concessie}}}|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]|[[Categorie:Concessie onbekend|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]}}{{#if:{{{concessie2|}}}|[[Categorie:Concessie {{{concessie2}}}|{{#switch:{{{lijncat}}}|abc={{{lijnnr}}}|#standaard={{#if:{{{lijncat|}}}|{{{lijncat}}}|{{{lijnnr|0}}}}} }}]]}}{{#if:{{{netwerk|}}}|[[Categorie:{{{netwerk}}}]]}}{{#switch:{{{buitenland}}}|ja={{#if:{{{land|}}}|[[Categorie:Lijn in {{{land}}}]]|}}{{#if:{{{land2|}}}|[[Categorie:Lijn in {{{land2}}}]]}}}}</includeonly><noinclude>{{InfoBoxInfo}}</noinclude>
+
{{#if:{{{afbeelding|}}}|[[Afbeelding:{{{afbeelding}}}|thumb|290px|right|{{{onderschrift|}}}]]|}}{{#if:{{{afbeelding2|}}}|[[Afbeelding:{{{afbeelding2}}}|thumb|290px|right|{{{onderschrift2|}}}]]|}}{{#if:{{{afbeelding3|}}}|[[Afbeelding:{{{afbeelding3}}}|thumb|290px|right|{{{onderschrift3|}}}]]|}}<noinclude>{{InfoBoxInfo}}</noinclude>

Versie van 4 jan 2015 om 00:40

Bus blauw.svg
Buslijn 0
Vervoerder(s) Onbekend
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.