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 | <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; | {| 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: | | 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: | | 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>< | }}</includeonly></onlyinclude> | ||
{{Dokumentation}} |
Vorlage:Dokumentation/header
Skriptfehler: Ein solches Modul „Vorlage:Dokumentation“ ist nicht vorhanden.