Vorlage:DiaX: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 10: | Zeile 10: | ||
Standardweite, rw | Standardweite, rw | ||
− | -->{{#vardefine:rw | {{{rw|240}}} }}<!-- | + | -->{{#vardefine:rw | {{{rw|240}}} }}<!-- |
+ | rechts, right | ||
+ | |||
+ | -->{{#vardefine:right | {{#if:{{{right|}}}| {{{right|}}} | ||
+ | | {{#if:{{{w|}}} |{{#expr: {{#var:rw}} - {{{left|0}}} - {{{w|}}} }} | ||
+ | | 0 }} }} }}<!-- | ||
Bildweite, w | Bildweite, w | ||
-->{{#vardefine:w | {{#if:{{{w|}}}| {{{w|}}}px | -->{{#vardefine:w | {{#if:{{{w|}}}| {{{w|}}}px | ||
− | | {{#expr: {{#var:rw}} - {{{left|0}}} - {{ | + | | {{#expr: {{#var:rw}} - {{{left|0}}} - {{#var:right}} }}px |
}} }}<!-- | }} }}<!-- | ||
Zeile 70: | Zeile 75: | ||
{{#var:margin}}top: {{{top|0}}}px; | {{#var:margin}}top: {{{top|0}}}px; | ||
{{#var:margin}}left: {{{left|0}}}px; | {{#var:margin}}left: {{{left|0}}}px; | ||
− | {{#var:margin}}right: {{ | + | {{#var:margin}}right: {{#var:right}}px; |
bottom: 0; | bottom: 0; | ||
'>[[Bild:{{#var:img}}|{{#var:w}}]]</div> | '>[[Bild:{{#var:img}}|{{#var:w}}]]</div> |
Version vom 18. August 2018, 14:59 Uhr
DiaX
Testbild
Darstellung der Ame no Uzume.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Internet Archive, Birmingham Young University.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Internet Archive, Birmingham Young University.
Parameter:
{{DiaX | uzume-hokusai.jpg | (text) | rw=240 | rh=240 | w= | top= | left= | lr= | hell= | border=(fff) | style= (CSS) }}
Vorlage hier eingebunden:
Darstellung der Ame no Uzume.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Internet Archive, Birmingham Young University.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Internet Archive, Birmingham Young University.