„Vorlage:Mehrere Bilder“ – Versionsunterschied – Wikipedia


Article Images

Inhalt gelöscht Inhalt hinzugefügt

K

Zeile 1:

<includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#ifeq: {{{Richtung|horizontal}}} | vertical | {{#expr: {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite1}}} }} + 12}} | {{#if: {{{Breite|}}} | {{#expr: 8 + ({{{Breite|0}}} + 4) * {{#if: {{{Bild5|}}} | 5 | {{#if: {{{Bild4|}}} | 4 | {{#if: {{{Bild3|}}} | 3 | 2 }} }} }} }} | {{#expr: 16 + {{{Breite1}}} + {{{Breite2}}} + {{{Breite3|0}}} + {{{Breite4|0}}} + {{{Breite5|0}}} + {{#if: {{{Bild5|}}} | 12 | {{#if: {{{Bild4|}}} | 8 | {{#if: {{{Bild3|}}} | 4 | 0 }} }} }} }} }} }}px;{{#switch: {{{align|}}} | center | centre = margin: 0 auto;}}{{#if:{{{Hintergrund|}}}|background-color:{{{Hintergrund}}};}}">

<div class="thumbinner" style="width:{{#ifeq: {{{Richtung|horizontal}}} | vertical | {{#expr: {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite1}}} }} + 4}} | {{#if: {{{Breite|}}} | {{#expr: ({{{Breite|0}}} + 4) * {{#if: {{{Bild5|}}} | 5 | {{#if: {{{Bild4|}}} | 4 | {{#if: {{{Bild3|}}} | 3 | 2 }} }} }} }} | {{#expr: 8 + {{{Breite1}}} + {{{Breite2}}} + {{{Breite3|0}}} + {{{Breite4|0}}} + {{{Breite5|0}}} + {{#if: {{{Bild5|}}} | 12 | {{#if: {{{Bild4|}}} | 8 | {{#if: {{{Bild3|}}} | 4 | 0 }} }} }} }} }} }}px;{{#if:{{{Hintergrund|}}}|background-color:{{{Hintergrund}}};}}">

<div class="thumbinner" {{#if:{{{Hintergrund|}}}|style="background-color:{{{Hintergrund}}};"}}>

{{#if: {{{Kopfzeile|}}} | <div style="clear:both;font-weight:bold;text-align:{{{Kopfzeile_align|center}}};background:{{{Kopfzeile_Hintergrund|transparent}}};">{{{Kopfzeile}}}</div> }}

<div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite1}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild1}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite1}}} }}px|&nbsp;]]</div>{{#if: {{{Untertitel1|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel1}}}</div>}}</div>