Vorlage:Infobox Bahngesellschaft: Unterschied zwischen den Versionen

Aus MoBaDaten
Wechseln zu: Navigation, Suche
Zeile 31: Zeile 31:
 
! colspan="3" style="{{Infobox-Color|VOR}} text-align:center;" | DETAILS
 
! colspan="3" style="{{Infobox-Color|VOR}} text-align:center;" | DETAILS
 
|-
 
|-
| {{Infobox-Column1|12em}} | EPOCHE || {{Infobox-Column2b}} | {{#if:{{{Epoche|}}}|{{{Epoche}}} {{#if:{{{XEpoche|}}}|<span style="font-weight:normal;"> <small>und</small> {{{XEpoche}}}</span>}}|{{Infobox-Message|Bitte Epoche angegeben!}}}} {{!!}} {{Infobox-Column3x2}}{{!}}{{Flagge|{{{Herkunft}}}}}
+
| {{Infobox-Column1|12em}} | EPOCHE || {{Infobox-Column2b}} | {{#if:{{{Epoche|}}}|{{{Epoche|}}} {{#if:{{{XEpoche|}}}|<span style="font-weight:normal;"> <small>und</small> {{{XEpoche}}}</span>}}|{{#ifeq:{{{{{Bahn|}}}|X}}|EKZ|{{#if:{{{{{Bahn|}}}|E}}|{{{{{Bahn|}}}|E}}|{{Infobox-Message|Bitte Epoche angegeben!}}}}|{{Infobox-Message|Bitte Epoche angegeben!}}}}}} {{!!}} {{Infobox-Column3x2}}{{!}}{{Flagge|{{{Herkunft}}}}}
 
|-
 
|-
 
| {{Infobox-Column1|12em}} | BAHNGESELLSCHAFT || {{Infobox-Column2b}} | {{#ifeq:{{{{{Bahn|}}}|X}}|EKZ|{{{{{Bahn}}}|K}} {{#if:{{{XBahn|}}}|<span style="font-weight:normal;"> ({{{XBahn}}})</span>}}|{{Infobox-Message|Bitte Bahngesellschaft angegeben!}}}}
 
| {{Infobox-Column1|12em}} | BAHNGESELLSCHAFT || {{Infobox-Column2b}} | {{#ifeq:{{{{{Bahn|}}}|X}}|EKZ|{{{{{Bahn}}}|K}} {{#if:{{{XBahn|}}}|<span style="font-weight:normal;"> ({{{XBahn}}})</span>}}|{{Infobox-Message|Bitte Bahngesellschaft angegeben!}}}}
Zeile 37: Zeile 37:
 
| {{Infobox-Column1|12em}} | || {{Infobox-Column23s}} | {{{{{Bahn}}}}}
 
| {{Infobox-Column1|12em}} | || {{Infobox-Column23s}} | {{{{{Bahn}}}}}
 
|-
 
|-
{{#if:{{{Zeitraum|}}}|{{!}} {{Infobox-Column1|12em}} {{!}} ZEITRAUM {{!!}} {{Infobox-Column23s}} {{!}} {{{Zeitraum}}}
+
{{#vardefine:zrm|{{{Zeitraum|}}}{{#ifeq:{{{{{Bahn|}}}|X}}|EKZ|{{{{{Bahn|}}}|Z}}}}}}{{#if:{{#var:zrm}}|{{!}}{{!}} {{Infobox-Column1|12em}} {{!}} ZEITRAUM {{!!}} {{Infobox-Column23s}} {{!}} {{#if:{{{Zeitraum|}}}|{{{Zeitraum|}}}|{{#ifeq:{{{{{Bahn|}}}|X}}|EKZ|{{{{{Bahn|}}}|Z}}}}
 
{{!-}}}}
 
{{!-}}}}
 
|}{{+}}
 
|}{{+}}

Version vom 23. August 2010, 20:23 Uhr


Dokumentation Edit font awesome grey.svg
Information icon.svg Dies ist die Dokumentation der Unterseite Vorlage:Infobox Bahngesellschaft/Doku