Vorlage:W500: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 13: | Zeile 13: | ||
Standardhöhe, rh | Standardhöhe, rh | ||
− | -->{{#vardefine:rh | {{{rh|{{{rahmen_h|{{# | + | -->{{#vardefine:rh | {{#ifeq: {{{rh|}}} | auto |auto |
+ | | {{#expr:{{{rh|{{{rahmen_h|300 }}} }}}*6/5}} | ||
+ | }} }}<!-- | ||
+ | |||
+ | left | ||
+ | |||
+ | -->{{#vardefine:left | {{#if: {{{lr|{{{left|}}} }}} | ||
+ | | {{#expr: {{{lr|{{{left|}}} }}}*6/5) }} | ||
+ | | 0 | ||
+ | }} }}<!-- | ||
right | right | ||
Zeile 20: | Zeile 29: | ||
| {{#expr: {{#var:rw}} - ({{{w|}}}*6/5 + {{{left|}}}*6/5) }} | | {{#expr: {{#var:rw}} - ({{{w|}}}*6/5 + {{{left|}}}*6/5) }} | ||
| 0 | | 0 | ||
− | }} }}<!-- | + | }} }}<!-- |
+ | -->{{#vardefine:right | {{{lr|{{{right|{{#var:right}} }}} }}} }}<!-- | ||
Caption: | Caption: | ||
Zeile 48: | Zeile 58: | ||
| rh= {{#var:rh}} | | rh= {{#var:rh}} | ||
| top= {{{top|0}}} | | top= {{{top|0}}} | ||
− | | left= {{ | + | | left= {{#var:left}} |
− | | right= | + | | right= {{#var:right}} |
| border={{{border|}}} | | border={{{border|}}} | ||
| ref= {{{ref|}}} | | ref= {{{ref|}}} |