Vorlage:Mehrere Bilder: Unterschied zwischen den Versionen

Aus Baustatik-Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „<includeonly><div class="thumb {{#switch: {{{align|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#ifeq: {{{Richtung|horizontal}}} | v…“)
 
K
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: 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}}};}}">
 
<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" 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}}};}}">{{#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]]</div>{{#if: {{{Untertitel1|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel1}}}</div>}}</div><div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite2}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild2}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite2}}} }}px]]</div>{{#if: {{{Untertitel2|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel2}}}</div>}}</div>{{#if: {{{Bild3|}}} | <div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite3}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild3}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite3}}} }}px]]</div>{{#if: {{{Untertitel3|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel3}}}</div>}}</div>
{{#if: {{{Kopfzeile|}}} | <div style="clear:both;font-weight:bold;text-align:{{{Kopfzeile_align|center}}};background:{{{Kopfzeile_Hintergrund|transparent}}};">{{{Kopfzeile}}}</div> }}
+
{{#if: {{{Bild4|}}} | <div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite4}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild4}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite4}}} }}px]]</div>{{#if: {{{Untertitel4|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel4}}}</div>}}</div>{{#if: {{{Bild5|}}} | <div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite5}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild5}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite5}}} }}px]]</div>{{#if: {{{Untertitel5|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel5}}}</div>}}</div>}}}}}}{{#if: {{{Fußzeile|}}} | <div class="thumbcaption" style="clear:left;text-align:{{{Fußzeile_align|left}}};background:{{{Fußzeile_Hintergrund|transparent}}};">{{{Fußzeile}}}</div> }}</div></div></includeonly><noinclude>[[Beschreibung Vorlage Mehrere Bilder]]
<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]]</div>{{#if: {{{Untertitel1|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel1}}}</div>}}</div>
 
<div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite2}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild2}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite2}}} }}px]]</div>{{#if: {{{Untertitel2|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel2}}}</div>}}</div>
 
{{#if: {{{Bild3|}}} | <div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite3}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild3}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite3}}} }}px]]</div>{{#if: {{{Untertitel3|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel3}}}</div>}}</div>
 
{{#if: {{{Bild4|}}} | <div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite4}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild4}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite4}}} }}px]]</div>{{#if: {{{Untertitel4|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel4}}}</div>}}</div>
 
{{#if: {{{Bild5|}}} | <div style="{{#ifeq: {{{Richtung|horizontal}}} | horizontal | float:left;}}margin:1px;width:{{#expr: 2 + {{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite5}}} }} }}px;"><div class="thumbimage">[[Datei:{{{Bild5}}}|{{#if: {{{Breite|}}} | {{{Breite}}} | {{{Breite5}}} }}px]]</div>{{#if: {{{Untertitel5|}}} | <div class="thumbcaption" style="clear:left;">{{{Untertitel5}}}</div>}}</div>}}}}}}
 
{{#if: {{{Fußzeile|}}} | <div class="thumbcaption" style="clear:left;text-align:{{{Fußzeile_align|left}}};background:{{{Fußzeile_Hintergrund|transparent}}};">{{{Fußzeile}}}</div> }}</div></div></includeonly><noinclude>[[Beschreibung Vorlage Mehrere Bilder]]
 
  
 
</noinclude>
 
</noinclude>

Aktuelle Version vom 8. Januar 2016, 19:54 Uhr