Vorlage:Zugbildung: Unterschied zwischen den Versionen
(14 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
− | -->{{#vardefine:pic|{{#if: {{{Modell|}}} | + | -->{{#switch: {{{1|}}} |
− | + | |START = {{(!}} class="wikitable" style="width:100%" | |
− | + | <!-- -->{{!-}} class="hintergrundfarbe8" | |
− | + | <!-- -->! style="width:152px" {{!}} Bild | |
− | + | <!-- -->! style="width:10%; text-align:left" {{!}} Wagennummer | |
− | + | <!-- -->! style="width:15%; text-align:left" {{!}} Modell | |
− | + | <!-- -->! style="text-align:left" {{!}} Zusatzinformation | |
− | + | <!-- -->{{!-}} | |
− | + | |ENDE = {{!)}} | |
− | + | |#default = {{#vardefine:pic|{{#if: {{{Modell|}}} | |
− | + | | {{#dpl: | |
− | + | |title={{{Modell|}}} | |
− | + | |include={Infobox Rollendes Material}:Bild,<!-- | |
− | + | -->{Infobox Fahrzeug}:Bild,<!-- | |
− | + | -->{Infobox Gleissystem}:Bild,<!-- | |
− | + | -->{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|}}}}} | ||
+ | <!-- -->{{!-}} | ||
}}<!-- | }}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
--></includeonly><!-- | --></includeonly><!-- | ||
--><noinclude> | --><noinclude> |