Gebruiker:Regenmaker/SjabloonTest: verschil tussen versies

Uit OV in Nederland Wiki
Ga naar: navigatie, zoeken
k
Regel 1: Regel 1:
 
{| cellpadding='4' cellspacing='0' width='300' align='right' style='float:right; clear:right; border: 1px solid #{{#switch:{{{nacht}}}|#standaard=cadbeb|ja=000}}; margin-left: 10px;'  
 
{| cellpadding='4' cellspacing='0' width='300' align='right' style='float:right; clear:right; border: 1px solid #{{#switch:{{{nacht}}}|#standaard=cadbeb|ja=000}}; margin-left: 10px;'  
|colspan="2" style="background: #{{#switch:{{{nacht}}}|#standaard=cadceb|ja=022240}}; color: #{{#switch:{{{nacht}}}|#standaard=000|ja=FFFF00}}; text-align:center; font-weight:bold;"|<div style="width:50px;height:35px;float:left;margin-top:5px; margin-left:-4px">
+
|colspan="2" style="background: #{{#switch:{{{nacht}}}|#standaard=cadceb|ja=010040}}; {{#switch:{{{zomer}}}|#standaard=cadceb|ja=ffa500}} color: #{{#switch:{{{nacht}}}|#standaard=000|ja=FFFF00}}; {{#switch:{{{zomer}}}|#standaard=000|ja=ffff00}}; text-align:center; font-weight:bold;"|<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.svg|60px|link=Nachtbus]] }}
+
   |ja              = [[Bestand:Nachtbus.svg|60px|link=Nachtbus]]
 +
|#standaard        = {{#switch:{{{zomer}}}}
 +
  |#standaard      = [[Bestand:Bus blauw.svg|40px|link=Bus]]
 +
  |ja              = [[Bestand:Zomerbus geel.svg|40px|link=Zomerbus]] }}
 
  |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]]
 
  |Buurtbus|buurtbus = [[Bestand:Buurtbus blauw.svg|40px|link=Buurtbus]]
Regel 11: Regel 14:
 
  |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|50px|link=Tram]]
|Zomerbus|zomerbus = [[Bestand:Zomerbus geel.svg|40px|link=Zomerbus]]
+
  |Veer|veer        = [[Bestand:boot.svg|40px|link=Veerdienst]]}}</div>{{ucfirst:{{lc:{{#switch:{{{toekomst}}}|ja=toekomstige}} {{#switch:{{{tijdelijk}}}|ja=tijdelijke}} {{#switch:{{{grens}}}|ja=grensoverschrijdende}} {{#switch:{{{zomer}}}|ja=zomer}}{{#switch:{{{nacht}}}|ja=nacht}}{{{type|bus}}} }}}}lijn {{{lijnnr|0}}} {{#if:{{{land|}}}|in {{{land}}}{{#if:{{{land2|}}}|{{#if:{{{land3|}}}|,|&nbsp;en}} {{{land2}}} }} {{#if:{{{land3|}}}|<br />en {{{land3}}} }} }}<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_{{{lijncat|{{{lijnnr|0}}}}}} Bekijk de voormalige 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:{{{grens}}}|ja=grensoverschrijdende}} {{#switch:{{{nacht}}}|ja=nacht}}{{{type|bus}}} }}}}lijn {{{lijnnr|0}}} {{#if:{{{land|}}}|in {{{land}}}{{#if:{{{land2|}}}|{{#if:{{{land3|}}}|,|&nbsp;en}} {{{land2}}} }} {{#if:{{{land3|}}}|<br />en {{{land3}}} }} }}<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_{{{lijncat|{{{lijnnr|0}}}}}} Bekijk de voormalige lijnen {{{lijncat|{{{lijnnr|0}}}}}}]</div>
 
 
|- <!--PARAMETERS-->
 
|- <!--PARAMETERS-->
 
{{#if:{{{vervoerder|}}}
 
{{#if:{{{vervoerder|}}}
Regel 83: Regel 85:
 
| {{InfoboxRij| Opvolger | {{{opvolger}}} }}
 
| {{InfoboxRij| 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}} {{#switch:{{{zomer}}}|#standaard=cadceb|ja=ffa500}}; color: #{{#switch:{{{nacht}}}|#standaard=000|ja=FFFF00}} {{#switch:{{{zomer}}}|#standaard=000|ja=ffff00}};'
 
| || <div style="width:150px;">'''Frequenties'''</div>
 
| || <div style="width:150px;">'''Frequenties'''</div>
 
|-
 
|-

Versie van 21 jan 2015 om 22:34

{{#switch:{Sjabloon:Type

#standaard = Bus blauw.svgBuslijn 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.