Gebruiker:Regenmaker/SjabloonTest: verschil tussen versies

Uit OV in Nederland Wiki
Ga naar: navigatie, zoeken
k (belbus)
Regel 1: Regel 1:
== Test Sjabloon Middelburg ==
+
{| 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;'
=== Stadsbus ===
+
|colspan="2" style="background: #{{#switch:{{{nacht}}}|#standaard=cadceb|ja=010040}}; 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">
<dpl>
+
{{#switch:{{{type|}}}
linksfrom=Middelburg
+
|#standaard        = {{#switch:{{{nacht}}}
category=Buslijnen
+
  |#standaard      = [[Bestand:Bus blauw.svg|40px|link=Bus]]
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
  |ja              = [[Bestand:Nachtbus.svg|60px|link=Nachtbus]] }}
titlematch=Lijn%
+
|Belbus|belbus    = [[Bestand:Belbus blauw.svg|40px|link=Belbus]]
notcategory=Verouderd
+
|Buurtbus|buurtbus = [[Bestand:Buurtbus blauw.svg|40px|link=Buurtbus]]
notcategory=Toekomstige lijnen
+
|Trolley|trolley  = [[Bestand:Trolley blauw.png|80px|link=Trolleybus]]
category=Station Middelburg
+
|S-Bahn|s-bahn    = [[Bestand:S.png|30px|link=S-Bahn]]
tablesortcol = 1
+
|Metro|metro      = [[Bestand:Metro nieuw.svg|20px|link=Metro]]
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
|Tram|tram        = [[Bestand:Tram blauw.svg|50px|link=Tram]]
includematch=/lijnsoort\s*=\s*Stadsbus/s
+
|Zomerbus|zomerbus = [[Bestand:Zomerbus geel.svg|50px|link=Zomerbus]]
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
|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>
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
|- <!--PARAMETERS-->
</dpl>
+
{{#if:{{{vervoerder|}}}
=== Servicebus ===
+
| {{InfoboxRij| Vervoerder(s) | {{{vervoerder}}} }}
<dpl>
+
| {{InfoboxRij| Vervoerder(s) | ''Onbekend'' }}
linksfrom=Middelburg
+
}}
category=Buslijnen
+
|-
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
{{#if:{{{concessie|}}}
titlematch=Lijn%
+
| {{InfoboxRij| Concessie | [[Concessie {{{concessie}}}|{{{concessie}}}]] }}
notcategory=Verouderd
+
}}
notcategory=Toekomstige lijnen
+
|-
category=Station Middelburg
+
{{#if:{{{concessie2|}}}
tablesortcol = 1
+
| {{InfoboxRij| 2e concessie | [[Concessie {{{concessie2}}}|{{{concessie2}}}]] }}
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
}}
includematch=/lijnsoort\s*=\s*Servicebus/s
+
|-
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
{{#if:{{{netwerk|}}}
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
| {{ InfoboxRij | Netwerk | [[{{{netwerk}}}]] }}
</dpl>
+
}}
=== Streekbus ===
+
|-
<dpl>
+
{{#if:{{{lijnsoort|}}}
linksfrom=Middelburg
+
| {{InfoboxRij| Lijnsoort | [[{{{lijnsoort}}}]] }}
category=Buslijnen
+
}}
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
|-
titlematch=Lijn%
+
{{#if:{{{stad|}}}
notcategory=Verouderd
+
| {{InfoboxRij| Stadsdienst | {{{stad}}} }}
notcategory=Toekomstige lijnen
+
}}
category=Station Middelburg
+
|-
tablesortcol = 1
+
{{#if:{{{lijnlogo|}}}
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
| {{InfoboxRij| Lijnlogo | [[Afbeelding:{{{lijnlogo}}}|30px]] }}
includematch=/lijnsoort\s*=\s*Streekbus/s
+
}}
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
|-
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
{{#if:{{{formule|}}}
</dpl>
+
| {{InfoboxRij| Formule | [[{{{formule}}}]] }}
=== Schoolbus ===
+
}}
<dpl>
+
|-
linksfrom=Middelburg
+
{{#if:{{{formule_logo|}}}
category=Buslijnen
+
| {{InfoboxRij| Formule | {{{formule_logo}}} }}
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
}}
titlematch=Lijn%
+
|-
notcategory=Verouderd
+
{{#if:{{{project|}}}
notcategory=Toekomstige lijnen
+
| {{InfoboxRij| Projectnaam | ''{{{project}}}'' }}
category=Station Middelburg
+
}}
tablesortcol = 1
+
|-
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
{{#if:{{{materieel|}}}
includematch=/lijnsoort\s*=\s*Schoolbus/s
+
| {{InfoboxRij| Materieel | {{{materieel}}} }}
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
| {{InfoboxRij| Materieel | ''Onbekend'' }}
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
}}
</dpl>
+
|-
=== Buurtbus ===
+
{{#if:{{{periode|}}}
<dpl>
+
| {{InfoboxRij| {{#switch:{{{tijdelijk}}}
linksfrom=Middelburg
+
                |#standaard={{#switch:{{{type|}}}
category=Buslijnen
+
                              |#standaard=Rijdt sinds
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
                              |Veer|veer=Vaart sinds }}
titlematch=Lijn%
+
                |ja=Periode}} | ''{{{periode}}}''}}
notcategory=Verouderd
+
}}
notcategory=Toekomstige lijnen
+
|-
category=Station Middelburg
+
{{#if:{{{reden|}}}
tablesortcol = 1
+
| {{InfoboxRij| Reden | ''{{{reden}}}'' }}
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
}}
includematch=/lijnsoort\s*=\s*Buurtbus/s
+
|-
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
{{#if:{{{opmerking|}}}
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
| {{InfoboxRij| Opmerking | ''{{{opmerking}}}'' }}
</dpl>
+
}}
=== Belbus ===
+
|-
<dpl>
+
{{#if:{{{voorganger|}}}
linksfrom=Middelburg
+
| {{InfoboxRij| Voorganger(s) | {{{voorganger}}} }}
category=Buslijnen
+
}}
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
|-
titlematch=Lijn%
+
{{#if:{{{opvolger|}}}
notcategory=Verouderd
+
| {{InfoboxRij| Opvolger | {{{opvolger}}} }}
notcategory=Toekomstige lijnen
+
}}
category=Station Middelburg
+
|-style='background: #{{#switch:{{{nacht}}}|#standaard=cadceb|ja=010040}}; color: #{{#switch:{{{nacht}}}|#standaard=000|ja=FFFF00}};'
tablesortcol = 1
+
| || <div style="width:150px;">'''Frequenties'''</div>
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
|-
includematch=/lijnsoort\s*=\s*Belbus/s
+
{{#if:{{{frequentie_spits|}}}
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
| {{FreqRij| Spits | {{{frequentie_spits}}} }}
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
| {{#switch:{{{nacht}}}
</dpl>
+
    |ja=
 +
    |#standaard={{#switch:{{{standaardfrequenties}}}
 +
                  |uit=
 +
                  |#standaard={{ FreqRij | Spits | {{#switch:{{{type|}}}
 +
                                                    |#standaard=rijdt niet
 +
                                                    |Veer|veer=vaart niet}} }} }} }} }}
 +
|-
 +
{{#if:{{{frequentie_spits_vakantie|}}}
 +
| {{FreqRij| Spits (vakantie) | {{{frequentie_spits_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_dal|}}}
 +
| {{FreqRij| Dal | {{{frequentie_dal}}} }}
 +
| {{#switch:{{{nacht}}}
 +
    |ja=
 +
    |#standaard={{#switch:{{{standaardfrequenties}}}
 +
                  |uit=
 +
                  |#standaard={{ FreqRij | Dal | {{#switch:{{{type|}}}
 +
                                                  |#standaard=rijdt niet
 +
                                                  |Veer|veer=vaart niet}} }} }} }} }}
 +
|-
 +
{{#if:{{{frequentie_dal_vakantie|}}}
 +
| {{FreqRij|Dal (vakantie) | {{{frequentie_dal_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_avond|}}}
 +
| {{FreqRij| Avond | {{{frequentie_avond}}} }}
 +
| {{#switch:{{{nacht}}}
 +
    |ja=
 +
    |#standaard={{#switch:{{{standaardfrequenties}}}
 +
                  |uit=
 +
                  |#standaard={{ FreqRij | Avond | {{#switch:{{{type|}}}
 +
                                                    |#standaard=rijdt niet
 +
                                                    |Veer|veer=vaart niet}} }} }} }} }}
 +
|-
 +
{{#if:{{{frequentie_avond_vakantie|}}}
 +
| {{FreqRij| Avond (vakantie) | {{{frequentie_avond_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_koopavond|}}}
 +
| {{FreqRij| Koopavond | {{{frequentie_koopavond}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_koopavond_vakantie|}}}
 +
| {{FreqRij| Koopavond (vakantie) | {{{frequentie_koopavond_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_maandag|}}}
 +
| {{FreqRij| Maandag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_maandag}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_dinsdag|}}}
 +
| {{FreqRij| Dinsdag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_dinsdag}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_woensdag|}}}
 +
| {{FreqRij| Woensdag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_woensdag}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_donderdag|}}}
 +
| {{FreqRij| Donderdag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_donderdag}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_vrijdag|}}}
 +
| {{FreqRij| Vrijdag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_vrijdag}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_zaterdag|}}}
 +
| {{FreqRij| Zaterdag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_zaterdag}}} }}
 +
| {{#switch:{{{nacht}}}
 +
    |ja=
 +
    |#standaard={{#switch:{{{standaardfrequenties}}}
 +
                  |uit=
 +
                  |#standaard={{ FreqRij | Zaterdag | {{#switch:{{{type|}}}
 +
                                                        |#standaard=rijdt niet
 +
                                                        |Veer|veer=vaart niet}} }} }} }} }}
 +
|-
 +
{{#if:{{{frequentie_zaterdag_vakantie|}}}
 +
| {{FreqRij| Zaterdag (vakantie) | {{{frequentie_zaterdag_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_zondag|}}}
 +
| {{FreqRij| Zondag{{#switch:{{{nacht}}}|ja=nacht}} | {{{frequentie_zondag}}} }}
 +
| {{#switch:{{{nacht}}}
 +
    |ja=
 +
    |#standaard={{#switch:{{{standaardfrequenties}}}
 +
                  |uit=
 +
                  |#standaard={{ FreqRij | Zondag | {{#switch:{{{type|}}}
 +
                                                      |#standaard=rijdt niet
 +
                                                      |Veer|veer=vaart niet}} }} }} }} }}
 +
|-
 +
{{#if:{{{frequentie_zondag_vakantie|}}}
 +
| {{FreqRij| Zondag (vakantie) | {{{frequentie_zondag_vakantie}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_koopzondag|}}}
 +
| {{FreqRij| Koopzondag | {{{frequentie_koopzondag}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_nieuwjaarsnacht|}}}
 +
| {{FreqRij| Nieuwjaarsnacht | {{{frequentie_nieuwjaarsnacht}}} }}
 +
}}
 +
|-
 +
{{#if:{{{frequentie_tijdelijk|}}}
 +
| {{FreqRij| {{{frequentie_tijdelijk_naam}}} | {{{frequentie_tijdelijk}}} }}
 +
}}
 +
|-
 +
{{#switch:{{{nacht}}}
 +
|ja={{FreqRij3|De lijn {{#switch:{{{type|}}}|#standaard=rijdt|veer|Veer=vaart}} in de nacht na de genoemde dag(en)}}
 +
}}
 +
|- <includeonly><!-- CATEGORIEËN -->
 +
[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} lijn {{{lijncat|{{{lijnnr|0}}}}}}|{{{lijnnr}}}]]
  
=== Zomerbus ===
+
{{#switch:{{{toekomst}}}
<dpl>
+
|ja=[[Categorie:Toekomstige lijnen|{{{lijnnr}}}]]
linksfrom=Middelburg
+
|#standaard=
category=Buslijnen
+
{{#switch:{{{buitenland}}}
noresultsheader='''Er zijn geen huidige buslijnen gevonden die dit station aandoen.'''
+
|ja=
titlematch=Lijn%
+
{{#switch:{{{type}}}
notcategory=Verouderd
+
|#standaard    = [[Categorie:Buitenlandse buslijnen|{{{lijnnr}}}]]
notcategory=Toekomstige lijnen
+
|Metro|metro  = [[Categorie:Buitenlandse metrolijnen|{{{lijnnr}}}]]
category=Station Middelburg
+
|s-bahn|S-Bahn = [[Categorie:Buitenlandse S-Bahnlijnen|{{{lijnnr}}}]]
tablesortcol = 1
+
|Tram|tram    = [[Categorie:Buitenlandse Tramlijnen|{{{lijnnr}}}]]
include={LijnInfo}:lijnnr:route:vervoerder:concessie
+
|Veer|veer    = [[Categorie:Buitenlandse veerlijnen|{{{lijnnr}}}]]
includematch=/lijnsoort\s*=\s*Zomerbus/s
+
}}
table=class="prettytable" frame="hsides" width=100% rules="rows",-,Lijn,Route,Vervoerder,Concessie
+
|#standaard=
tablerow=%%,[[%PAGE%|%%]], %%, [[Concessie %%|%%]]
+
{{#switch:{{{type}}}
</dpl>
+
|#standaard  = [[Categorie:Buslijnen|{{{lijnnr}}}]]
 +
|Metro|metro  = [[Categorie:Metrolijnen|{{{lijnnr}}}]]
 +
|Tram|tram    = [[Categorie:Tramlijnen|{{{lijnnr}}}]]
 +
|Veer|veer    = [[Categorie:Veerlijnen|{{{lijnnr}}}]]
 +
}}
 +
}}
 +
 
 +
{{#switch:{{{tijdelijk}}}
 +
|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} tijdelijke {{lc:{{{type|bus}}} }}lijnen|{{{lijnnr}}}]]
 +
}}
 +
 
 +
{{#switch:{{{nacht}}}
 +
|ja=[[Categorie:{{#switch:{{{buitenland}}}|ja=Buitenlandse}} 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}}}|{{{lijnnr}}}]]
 +
}}
 +
 
 +
{{#if:{{{land2|}}}
 +
| [[Categorie:Lijn in {{{land2}}}|{{{lijnnr}}}]]
 +
}}
 +
 
 +
{{#if:{{{land3|}}}
 +
| [[Categorie:Lijn in {{{land3}}}|{{{lijnnr}}}]]
 +
}}
 +
 
 +
{{#if:{{{stad|}}}
 +
| [[Categorie:Stadsdienst {{{stad}}}|{{{lijnnr}}}]]
 +
}}
 +
}} </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|}}}]]}}<noinclude>{{InfoBoxInfo}}</noinclude>

Versie van 21 jan 2015 om 21:27

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.