Sjabloon:Test: verschil tussen versies

Uit OV in Nederland Wiki
Ga naar: navigatie, zoeken
k (testje)
Regel 1: Regel 1:
{{#switch:{{{buitenland|}}}
 
| ja=
 
{{#ifeq: {{drgljaar}} | {{{dienstregeling|}}} | | {{#ifeq: {{#expr:{{drgljaar}}+1}} | {{{dienstregeling|}}} | | {{Sjabloon:Verouderd}} }} }}
 
}}
 
 
{| cellpadding='4' cellspacing='0' width='300' align='right' style='float:right; clear:right; border: 1px solid #cadbeb; margin-left: 10px;'  
 
{| cellpadding='4' cellspacing='0' width='300' align='right' style='float:right; clear:right; border: 1px solid #cadbeb; margin-left: 10px;'  
 
|colspan="2" style="background:#cadceb; color:#115098; text-align:center; font-weight:bold; font-size:95%;"|<div style="width:50px;height:35px;float:left;margin-top:5px; margin-left:-4px">
 
|colspan="2" style="background:#cadceb; color:#115098; text-align:center; font-weight:bold; font-size:95%;"|<div style="width:50px;height:35px;float:left;margin-top:5px; margin-left:-4px">
 
{{#switch:{{{type|}}}
 
{{#switch:{{{type|}}}
  |#standaard       = {{#switch:{{{nacht}}}
+
  |#standaard         = {{#switch:{{{nacht}}}
   |#standaard       = [[Bestand:Bus blauw.svg|40px|link=Bus]]
+
   |#standaard         = [[Bestand:Bus blauw.svg|40px|link=Bus]]
   |ja               = [[Bestand:Nachtbus_blauw.svg|60px|link=Nachtbus]] }}
+
   |ja                 = [[Bestand:Nachtbus_blauw.svg|60px|link=Nachtbus]] }}
  |Belbus|belbus     = [[Bestand:Belbus blauw.svg|40px|link=Belbus]]
+
  |Belbus|belbus       = [[Bestand:Belbus blauw.svg|40px|link=Belbus]]
  |Buurtbus|buurtbus = [[Bestand:Buurtbus blauw.svg|40px|link=Buurtbus]]
+
  |Zweefbaan|zweefbaan = [[Bestand:Zweefbaan blauw.svg|40px|link=Zweefbaan]]
  |Trolley|trolley   = [[Bestand:Trolley blauw.png|80px|link=Trolleybus]]
+
  |Buurtbus|buurtbus   = [[Bestand:Buurtbus blauw.svg|40px|link=Buurtbus]]
  |S-Bahn|s-bahn     = [[Bestand:S.png|30px|link=S-Bahn]]
+
  |Trolley|trolley     = [[Bestand:Trolleybus blauw.svg|40px|link=Trolleybus]]
  |Metro|metro       = [[Bestand:Metro nieuw.svg|20px|link=Metro]]
+
  |Metro|metro         = [[Bestand:Metro nieuw.svg|20px|link=Metro]]
  |Tram|tram         = [[Bestand:Tram blauw.svg|50px|link=Tram]]
+
  |Tram|tram           = [[Bestand:Tram blauw.svg|40px|link=Tram]]
  |Zomerbus|zomerbus = [[Bestand:Zomerbus geel.svg|40px|link=Zomerbus]]
+
  |Zomerbus|zomerbus   = [[Bestand:Zomerbus geel.svg|40px|link=Zomerbus]]
  |Snelbus|snelbus   = [[Bestand:Snelbus blauw.svg|40px|link=Snelbus]]
+
  |Snelbus|snelbus     = [[Bestand:Snelbus blauw.svg|40px|link=Snelbus]]
  |Veer|veer         = [[Bestand:boot.svg|40px|link=Veerdienst]]}}</div>{{ucfirst:{{lc:{{#switch:{{{toekomst}}}|ja=toekomstige}} {{#switch:{{{tijdelijk}}}|ja=tijdelijke}} {{#switch:{{{nacht}}}|ja=nacht}}{{{type|bus}}} }}}}lijn {{{lijnnr|}}}{{{kop|}}} {{#if:{{{land|}}}|{{#if:{{{land3|}}}|<br />}}in {{{land}}}{{#if:{{{land2|}}}|{{#if:{{{land3|}}}|,|&nbsp;en}} {{{land2}}} }} {{#if:{{{land3|}}}|en {{{land3}}} }} }}<br /> <div style="font-size:11px;">[[Lijn {{{lijncat|{{{lijnnr|0}}}}}}|Bekijk andere lijnen {{{lijncat|{{{lijnnr|0}}}}}}]]</div>
+
  |Veer|veer           = [[Bestand:boot.svg|40px|link=Veerdienst]]}}</div>{{ucfirst:{{lc:{{#switch:{{{toekomst}}}|ja=toekomstige}} {{#switch:{{{tijdelijk}}}|ja=tijdelijke}} {{#switch:{{{nacht}}}|ja=nacht}}{{{type|bus}}} }}}}lijn {{{lijnnr|}}}{{{kop|}}} {{#if:{{{land|}}}|{{#if:{{{land3|}}}|<br />}}in {{{land}}}{{#if:{{{land2|}}}|{{#if:{{{land3|}}}|,|&nbsp;en}} {{{land2}}} }} {{#if:{{{land3|}}}|en {{{land3}}} }} }}<br /> <div style="font-size:11px;">[[Lijn {{{lijncat|{{{lijnnr|0}}}}}}|Bekijk andere lijnen {{{lijncat|{{{lijnnr|0}}}}}}]]</div>
 
|- <!--PARAMETERS-->
 
|- <!--PARAMETERS-->
 
{{#if:{{{vervoerder|}}}
 
{{#if:{{{vervoerder|}}}
Regel 30: Regel 26:
 
{{#if:{{{concessie2|}}}
 
{{#if:{{{concessie2|}}}
 
| {{InfoboxRij| 2e concessie | [[Concessie {{{concessie2}}}|{{{concessie2}}}]] }}
 
| {{InfoboxRij| 2e concessie | [[Concessie {{{concessie2}}}|{{{concessie2}}}]] }}
}}
 
|-
 
{{#if:{{{netwerk|}}}
 
| {{InfoboxRij | Netwerk | [[{{{netwerk}}}]] }}
 
 
}}
 
}}
 
|-
 
|-
Regel 51: Regel 43:
 
|{{InfoboxRij| Formule | {{#switch:{{{formule}}}
 
|{{InfoboxRij| Formule | {{#switch:{{{formule}}}
 
  |#standaard=[[{{{formule}}}]]
 
  |#standaard=[[{{{formule}}}]]
|Qliner=[[Bestand:Logo Qliner.svg|55px|link=Qliner]]
 
 
  |Frysk Ferfier=[[Bestand:FryskFerfier.gif|90px|link=Frysk Ferfier]]
 
  |Frysk Ferfier=[[Bestand:FryskFerfier.gif|90px|link=Frysk Ferfier]]
 
  |Interliner|InterLiner=[[Bestand:Interlin.jpg|90px|link=Interliner]]
 
  |Interliner|InterLiner=[[Bestand:Interlin.jpg|90px|link=Interliner]]
 
  |Kolibrie=[[Bestand:Kolibrie.png|60px|link=Kolibrie]]
 
  |Kolibrie=[[Bestand:Kolibrie.png|60px|link=Kolibrie]]
 
  |Phileas=[[Bestand:Phileas logo klein.svg|100px|link=Phileas]]
 
  |Phileas=[[Bestand:Phileas logo klein.svg|100px|link=Phileas]]
 +
|Qliner=[[Bestand:Logo Qliner.svg|55px|link=Qliner]]
 
  |Qlink|Q-link=[[Bestand:Q-link logo.svg|80px|link=Qlink]]
 
  |Qlink|Q-link=[[Bestand:Q-link logo.svg|80px|link=Qlink]]
 
  |Randstadnet|R-NET|R-net=[[Bestand:LogoRnet.png|60px|link=Randstadnet]]
 
  |Randstadnet|R-NET|R-net=[[Bestand:LogoRnet.png|60px|link=Randstadnet]]
 
  |RegioLiner|Regioliner=[[Bestand:RegioLiner.gif|100px|link=RegioLiner]]
 
  |RegioLiner|Regioliner=[[Bestand:RegioLiner.gif|100px|link=RegioLiner]]
 
  |Schiphol Sternet=[[Bestand:Schiphol sternet.gif|90px|link=Schiphol Sternet]]
 
  |Schiphol Sternet=[[Bestand:Schiphol sternet.gif|90px|link=Schiphol Sternet]]
 +
|Texelhopper=[[Bestand:Texelhopper.jpg|90px|link=Texelhopper]]
 
  |Twents=[[Bestand:Twents logo.svg|50px|link=Twents]]
 
  |Twents=[[Bestand:Twents logo.svg|50px|link=Twents]]
 
  |Valleilijn=[[Bestand:Valleilijn.png|100px|link=Valleilijn]]
 
  |Valleilijn=[[Bestand:Valleilijn.png|100px|link=Valleilijn]]
Regel 69: Regel 62:
 
|-
 
|-
 
{{#if:{{{project|}}}
 
{{#if:{{{project|}}}
| {{InfoboxRij| Projectnaam | ''{{{project}}}'' }}
+
| {{InfoboxRij| Vereniging | ''{{{project}}}'' }}
 
}}
 
}}
 
|-
 
|-
Regel 143: Regel 136:
 
{{#if:{{{frequentie_avond_vakantie|}}}
 
{{#if:{{{frequentie_avond_vakantie|}}}
 
| {{FreqRij| Avond (vakantie) | {{{frequentie_avond_vakantie}}} }}
 
| {{FreqRij| Avond (vakantie) | {{{frequentie_avond_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_avond_weekend|}}}
 +
| {{FreqRij| Avond (weekend) | {{{frequentie_avond_weekend}}} }}
 
}}
 
}}
 
|-
 
|-
Regel 220: Regel 217:
 
|ja={{InfoboxRijNacht|achtergrondkleur=cadceb|tekstkleur=115098|tekst=De lijn {{#switch:{{{type|}}}|#standaard=rijdt|veer|Veer=vaart}} in de nacht na de genoemde dag(en)}}
 
|ja={{InfoboxRijNacht|achtergrondkleur=cadceb|tekstkleur=115098|tekst=De lijn {{#switch:{{{type|}}}|#standaard=rijdt|veer|Veer=vaart}} in de nacht na de genoemde dag(en)}}
 
}} }}
 
}} }}
|- <includeonly><!-- CATEGORIEËN -->{{STANDAARDSORTERING:{{{lijnnr|{{{kop|L}}} }}} }}
+
|-
 +
{{#switch:{{{buitenland|}}}
 +
| ja=
 +
{{#ifeq: {{CURRENTYEAR}} | {{{dienstregeling|}}} | | {{#ifeq: {{#expr:{{CURRENTYEAR}}+1}} | {{{dienstregeling|}}} | | {{Sjabloon:Verouderd}} }} }}
 +
}}
 +
<includeonly><!-- CATEGORIEËN -->{{STANDAARDSORTERING:{{{lijnnr|{{{kop|L}}} }}} }}
 
{{#switch:{{{eigen}}}
 
{{#switch:{{{eigen}}}
 
|naamruimte=
 
|naamruimte=
Regel 238: Regel 240:
 
|ja=
 
|ja=
 
{{#switch:{{{type}}}
 
{{#switch:{{{type}}}
  |#standaard   = [[Categorie:Buitenlandse buslijnen]]
+
  |#standaard             = [[Categorie:Buitenlandse buslijnen]]
  |Metro|metro   = [[Categorie:Buitenlandse metrolijnen]]
+
  |Metro|metro           = [[Categorie:Buitenlandse metrolijnen]]
  |s-bahn|S-Bahn = [[Categorie:Buitenlandse S-Bahnlijnen]]
+
  |Tram|tram              = [[Categorie:Buitenlandse tramlijnen]]
  |Tram|tram    = [[Categorie:Buitenlandse Tramlijnen]]
+
  |Zweefbaan|zweefbaan    = [[Categorie:Buitenlandse zweefbaanlijnen]]
  |Veer|veer     = [[Categorie:Buitenlandse veerlijnen]]
+
  |Veer|veer             = [[Categorie:Buitenlandse veerlijnen]]
 
}}
 
}}
 
|#standaard=
 
|#standaard=
 
{{#switch:{{{type}}}
 
{{#switch:{{{type}}}
  |#standaard   = [[Categorie:Buslijnen]]
+
  |#standaard             = [[Categorie:Buslijnen]]
  |Metro|metro = [[Categorie:Metrolijnen]]
+
  |Metro|metro           = [[Categorie:Metrolijnen]]
  |Tram|tram    = [[Categorie:Tramlijnen]]
+
  |Tram|tram             = [[Categorie:Tramlijnen]]
  |Veer|veer   = [[Categorie:Veerlijnen]]
+
|Zweefbaan|zweefbaan   = [[Categorie:Zweefbaanlijnen]]
 +
  |Veer|veer             = [[Categorie:Veerlijnen]]
 
}}
 
}}
 
}}
 
}}
Regel 268: Regel 271:
  
 
{{#if:{{{frequentie_nacht|}}}
 
{{#if:{{{frequentie_nacht|}}}
|[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} nacht{{#switch:{{{type}}}|#standaard=bus|Tram|tram=tram|Metro|metro=metro|Veer|veer=veer}}]]
+
|[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} nacht{{#switch:{{{type}}}|#standaard=bus|Tram|tram=tram|Metro|metro=metro|Veer|veer=veer|Zweefbaan|zweefbaan=zweefbaan}}]]
 
}}
 
}}
  
 
{{#switch:{{{nacht}}}
 
{{#switch:{{{nacht}}}
|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} nacht{{#switch:{{{type}}}|#standaard=bus|Tram|tram=tram|Metro|metro=metro|Veer|veer=veer}}]]
+
|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} nacht{{#switch:{{{type}}}|#standaard=bus|Tram|tram=tram|Metro|metro=metro|Veer|veer=veer|Zweefbaan|zweefbaan=zweefbaan}}]]
 
}}
 
}}
  
Regel 280: Regel 283:
 
|Snelbus|snelbus  = [[Categorie:Snelbus]]
 
|Snelbus|snelbus  = [[Categorie:Snelbus]]
 
|Trolley|trolley  = [[Categorie:Trolley]]
 
|Trolley|trolley  = [[Categorie:Trolley]]
|S-Bahn|s-bahn    = [[Categorie:S-Bahnlijn {{{lijncat|{{{lijnnr}}} }}}]]
 
 
}}
 
}}
  

Versie van 24 dec 2015 om 22:33

Bus blauw.svg
Buslijn
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.