Vorlage:Doppeltes Bild: Unterschied zwischen den Versionen

Vorlage:Doppeltes Bild: Unterschied zwischen den Versionen

imported>Queryzo
(IE-Fix)
 
imported>Lómelinde
K (Inline-Medien mit Bildunterschriften fix)
 
Zeile 1: Zeile 1:
<includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float -->
<onlyinclude><includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left or right float or centered or inline -->
| links = <div class="thumb float-left">
| links = <div class="thumb float-left infobox" style="max-width:100%;border:none; background-color:#ffffff00; max-width:100% !important;">
| rechts = <div class="thumb float-right">
| rechts = <div class="thumb float-right infobox" style="border:none; background-color:#ffffff00; max-width:100% !important;">
| zentriert = <div class="center"><div class="thumb tnone">
| zentriert = <div class="center"><div class="thumb tnone infobox" style="border:none; background-color:#ffffff00; max-width:100% !important;">
| #default = <div class="thumb float-right">
| ohne = <div class="thumb tnone infobox" style="border:none; background-color:#ffffff00; max-width:100% !important;">
| #default = <div class="thumb float-right infobox" style="border:none; background-color:#ffffff00; max-width:100% !important;">
}}<div class="thumbinner" {{#iferror:{{#expr: {{{3|0}}} + {{{5|0}}}}}||style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;"}}>  <!-- calculate width based on image widths +8px -->
}}<div class="thumbinner" {{#iferror:{{#expr: {{{3|0}}} + {{{5|0}}}}}||style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;"}}>  <!-- calculate width based on image widths +8px -->
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;" cellspacing="0"
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;"
|- style="vertical-align:{{{valign|middle}}};"
|- style="vertical-align:{{{valign|middle}}};"
| style="padding: auto; margin: 0;" class="thumbimage" | [[Datei:{{{2}}}|{{{3}}}px|{{{6|}}}{{#if:{{{8|}}}|{{!}}alt={{{8}}}}}]]  <!-- image 1 -->
| style="padding: inherit; margin: 0;" class="thumbimage" | [[Datei:{{{2}}}|{{#if: {{IstZahl|{{{3}}}}} |{{{3}}}px |120px}} |{{{6|}}}|alt={{{8|}}}]]  <!-- image 1 -->
| style="padding: 0; margin: 0; border: 0; width: 2px" |  
| style="padding: 0; margin: 0; border: 0; width: 2px" |  
| style="padding: auto; margin: 0;" class="thumbimage" | [[Datei:{{{4}}}|{{{5}}}px|{{#if: {{{7|}}}|{{{7|}}}|{{{6|}}}}}{{#if:{{{9|}}}|{{!}}alt={{{9}}}}}]]  <!-- image 2 -->
| style="padding: inherit; margin: 0;" class="thumbimage" | [[Datei:{{{4}}}|{{#if: {{IstZahl|{{{5}}}}} |{{{5}}}px |120px}} |{{#if: {{{7|}}}|{{{7|}}}|{{{6|}}}}}|alt={{{9|}}}]]  <!-- image 2 -->
|- style="vertical-align:top;"
|- style="vertical-align:top;"
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->
Zeile 20: Zeile 21:
|}
|}
</div>
</div>
{{#switch: {{{1|}}}  <!-- as central image float needs two divs, need to close two for center and only one for left/right -->
{{#switch: {{{1|}}}  <!-- as central image float needs two divs, need to close two for center and only one for left/right/none -->
| zentriert = </div></div>
| zentriert = </div></div>
| </div>
| </div>
}}</includeonly><noinclude>{{Dokumentation}}</noinclude>
}}</includeonly></onlyinclude>
 
{{Dokumentation}}

Aktuelle Version vom 16. Januar 2022, 15:26 Uhr


Vorlage:Dokumentation/header Skriptfehler: Ein solches Modul „Vorlage:Dokumentation“ ist nicht vorhanden.