Vorlage:W502: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(3 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 57: | Zeile 57: | ||
-->{{#vardefine:caption | -->{{#vardefine:caption | ||
| {{#if: {{{caption| }}} | | {{#if: {{{caption| }}} | ||
− | |<div class='bildtext caption | + | |<div class='bildtext caption'>{{{caption|}}}</div> |
}} | }} | ||
}}<!-- | }}<!-- | ||
Zeile 64: | Zeile 64: | ||
-->{{#vardefine:max|{{#if:{{{max|}}}|imax }}}}<!-- | -->{{#vardefine:max|{{#if:{{{max|}}}|imax }}}}<!-- | ||
+ | |||
+ | -->{{#vardefine:showPopup | ||
+ | | {{#ifeq:{{{noviewer|}}}|1 | ||
+ | | 0 | ||
+ | | {{{ref|0}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | |||
+ | -->{{#vardefine:showPopup2 | ||
+ | | {{#var:showPopup}} | ||
+ | }}<!-- | ||
Zeile 82: | Zeile 93: | ||
| r={{#var:r1}} | | r={{#var:r1}} | ||
| b={{#var:b1}} | | b={{#var:b1}} | ||
− | | | + | | showPopup={{#var:showPopup}} |
}} | }} | ||
</div><div class=spaceDiv></div> | </div><div class=spaceDiv></div> | ||
Zeile 95: | Zeile 106: | ||
| r={{#var:r2}} | | r={{#var:r2}} | ||
| b={{#var:b2}} | | b={{#var:b2}} | ||
− | | | + | | showPopup={{#var:showPopup2}} |
− | |||
}} | }} | ||
</div><!-- | </div><!-- | ||
− | -->{{#var:caption}} | + | --></div>{{#var:caption}}</div><!-- |
− | |||
CSS | CSS |
Aktuelle Version vom 5. November 2023, 16:49 Uhr
Testbild
Parameter:
- Div: hell
- Bilder: rw, rh
- Bild1: 1, w1, rw1, rh1, t1, r1, l1, lr1
- Bild2: 2, w2, rw2, rh2, t2, r2, l2, lr2
- Text: 3, 4, caption, ref
rw1 und rw2 ändern die Proportionen, sollten aber zusammen 480 ergeben (500 - 4%)