Vorlage:Dia: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 52: | Zeile 52: | ||
-->{{#vardefine:w | -->{{#vardefine:w | ||
|{{#expr: {{#expr:({{#var:rw}}-{{#var:l}}-{{#var:r}})*6/5}} round 0}}px | |{{#expr: {{#expr:({{#var:rw}}-{{#var:l}}-{{#var:r}})*6/5}} round 0}}px | ||
− | }}<!-- | + | }}<!-- |
+ | |||
+ | style | ||
+ | |||
+ | -->{{#vardefine:style | ||
+ | | {{#if: {{{style}}} | style='{{{style}}}'}} | ||
+ | }}<!-- | ||
HTML | HTML | ||
− | --><div id='{{#var:id}}' class='imgBorder diax2'><!-- | + | --><div id='{{#var:id}}' class='imgBorder diax2' {{#var:style}}><!-- |
--><div class='aussen' style='{{#var:rh}}'><!-- | --><div class='aussen' style='{{#var:rh}}'><!-- | ||
--><div class='innen' style=' | --><div class='innen' style=' |