Vorlage:W502 pair: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 72: Zeile 72:
 
-->{{#vardefine:polygon2
 
-->{{#vardefine:polygon2
 
|{{{slashStart|15}}}% 0, 100% 0, 100% 100%, {{{slashEnd|5}}}% 100%
 
|{{{slashStart|15}}}% 0, 100% 0, 100% 100%, {{{slashEnd|5}}}% 100%
}}<!--
+
}}<!--  
 +
 
 +
-->{{#vardefine:showPopup
 +
| {{#ifeq:{{{noviewer|}}}|1
 +
  | 0
 +
  | {{{ref|0}}}
 +
  }}
 +
}}<!--   
 +
-->{{#vardefine:showPopup2
 +
| {{#var:showPopup}}
 +
}}<!--   
  
 
HTML  
 
HTML  
Zeile 90: Zeile 100:
 
  | r={{#var:r1}}
 
  | r={{#var:r1}}
 
  | b={{#var:b1}}
 
  | b={{#var:b1}}
  | noviewer={{{noviewer|}}}  
+
  | showPopup={{#var:showPopup}}  
 
  }}
 
  }}
 
</div>
 
</div>
Zeile 100: Zeile 110:
 
<div style='
 
<div style='
 
clip-path: polygon({{#var:polygon2}});
 
clip-path: polygon({{#var:polygon2}});
 +
transform: translateZ(0);
 
'>
 
'>
 
{{Dia
 
{{Dia
Zeile 110: Zeile 121:
 
  | r={{#var:r2}}
 
  | r={{#var:r2}}
 
  | b={{#var:b2}}
 
  | b={{#var:b2}}
  | ref={{{ref|}}}
+
  | showPopup={{#var:showPopup2}}  
| noviewer={{{noviewer|}}}  
 
 
  }}
 
  }}
 
</div></div><!--   
 
</div></div><!--   

Aktuelle Version vom 6. November 2023, 15:04 Uhr

Testbild

Kasuga lanterns3.jpg
Kasuga4.jpg

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%)