Vorlage:Zugbildung: Unterschied zwischen den Versionen

Aus MoBaDaten
Wechseln zu: Navigation, Suche
 
(14 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<includeonly><!--
 
<includeonly><!--
     -->{{#vardefine:pic|{{#if: {{{Modell|}}}
+
     -->{{#switch: {{{1|}}}
                          | {{#dpl:
+
          |START = {{(!}} class="wikitable" style="width:100%"
                              |title={{{Modell|}}}
+
<!--            -->{{!-}} class="hintergrundfarbe8"
                              |include={Infobox Rollendes Material}:Bild,<!--
+
<!--            -->! style="width:152px" {{!}} Bild
                                    -->{Infobox Fahrzeug}:Bild,<!--
+
<!--            -->! style="width:10%; text-align:left" {{!}} Wagennummer
                                    -->{Infobox Gleissystem}:Bild,<!--
+
<!--            -->! style="width:15%; text-align:left" {{!}} Modell
                                    -->{Infobox Zubehör}:Bild,<!--
+
<!--            -->! style="text-align:left" {{!}} Zusatzinformation
                                    -->{Infobox Technik}:Bild,<!--
+
<!--            -->{{!-}}
                                    -->{Infobox Medien}:Bild
+
          |ENDE = {{!)}}
                              |redirects=include
+
          |#default = {{#vardefine:pic|{{#if: {{{Modell|}}}
                              |skipthispage=no
+
                                        | {{#dpl:
                              |noresultsheader=NoPhoto.svg
+
                                            |title={{{Modell|}}}
                              |dplcache={{{Modell|}}}
+
                                            |include={Infobox Rollendes Material}:Bild,<!--
                              |dplcacheperiod=120
+
                                                  -->{Infobox Fahrzeug}:Bild,<!--
                            }}
+
                                                  -->{Infobox Gleissystem}:Bild,<!--
                          | NoPhoto.svg
+
                                                  -->{Infobox Zubehör}:Bild,<!--
                        }}
+
                                                  -->{Infobox Technik}:Bild,<!--
 +
                                                  -->{Infobox Medien}:Bild
 +
                                            |redirects=include
 +
                                            |skipthispage=no
 +
                                            |noresultsheader=NoPhoto.svg
 +
                                          }}
 +
                                        | NoPhoto.svg
 +
                                      }}
 +
                      }}<!--
 +
                  -->{{#ifeq:{{#sub:{{#var:pic}}|0|1}}
 +
                        |\
 +
                        |{{#vardefine:pic|{{#explode:{{#var:pic}}|\|1}}}}
 +
                      }}
 +
<!--              -->{{!}} align="center" {{!}} {{#if:{{#var:pic}}
 +
                                                  |[[Datei:{{#var:pic}}<!--
 +
                                                  -->{{!}}{{#ifeq: {{#var:pic}}
 +
                                                            | NoPhoto.svg
 +
                                                            | 75px
 +
                                                            | 150x150px
 +
                                                          }}<!--
 +
                                                  -->{{!}}verweis={{#ifeq: {{#var:pic}}
 +
                                                                    | NoPhoto.svg
 +
                                                                    |
 +
                                                                    | {{{Modell|}}}
 +
                                                                  }}<!--
 +
                                                -->]]
 +
                                                  |[[Datei:NoPhoto.svg{{!}}75px{{!}}verweis=]]
 +
                                                }}
 +
<!--              -->{{!}} {{{Wagennummer|}}}
 +
<!--              -->{{!}} {{#if: {{{Modell|}}}
 +
                              | [[{{{Modell|}}}{{#if:{{{Alternativtext|}}}|{{!}}{{{Alternativtext|}}}}}]]
 +
                              | Kein Modell angegeben!
 +
                            }}
 +
<!--              -->{{!}} {{#if:{{{Zusatzinfo|}}}|{{{Zusatzinfo|}}}}}
 +
<!--              -->{{!-}}
 
         }}<!--
 
         }}<!--
    -->{{#ifeq:{{#sub:{{#var:pic}}|0|1}}
 
          |\
 
          |{{#vardefine:pic|{{#explode:{{#var:pic}}|\|1}}}}
 
        }}
 
<!-- -->{|
 
<!-- -->| align="center" style="width:77px" | {{#if:{{#var:pic}}
 
                                                |[[Datei:{{#var:pic}}{{!}}75x75px{{!}}verweis={{#ifeq: {{#var:pic}}
 
                                                                                                | NoPhoto.svg
 
                                                                                                |
 
                                                                                                | {{{Modell|}}}
 
                                                                                              }}]]
 
                                                |[[Datei:NoPhoto.svg{{!}}75px{{!}}verweis=]]
 
                                              }}
 
<!-- -->| {{{Wagennummer|}}} <!--
 
      -->{{#if: {{{Modell|}}}
 
            | [[{{{Modell|}}}{{#if:{{{Alternativtext|}}}|{{!}}{{{Alternativtext|}}}}}]]
 
            | Kein Modell angegeben!
 
          }} <!--
 
      -->{{#if:{{{Zusatzinfo|}}}|{{{Zusatzinfo|}}}}}
 
<!-- -->|}<!--
 
 
     --></includeonly><!--
 
     --></includeonly><!--
 
     --><noinclude>
 
     --><noinclude>

Aktuelle Version vom 25. November 2019, 13:14 Uhr


Dokumentation Edit font awesome grey.svg
Stop hand nuvola.svg Die Dokumentation der Unterseite Vorlage:Zugbildung/Doku fehlt noch! Bitte füge sie hinzu!!!