Vorlage:Floatright: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | {{ | + | {{titel|{{PAGENAME}}}} |
− | + | Testbild | |
− | + | <div class='testbild' style='background: #eee; padding: 1em'><!-- | |
− | + | --><onlyinclude><!-- | |
− | |||
− | |||
− | |||
− | --> | ||
− | |||
− | + | VARIABLE | |
− | --> | + | -->{{#vardefine: img |{{{1|uzume-hokusai.jpg}}} }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | + | Standardweite, rw | |
− | --> | + | -->{{#vardefine:rw | {{{rw|{{{rahmen_w|240}}}}}} }}<!-- |
− | |||
− | |||
− | | | ||
− | | | ||
− | |||
− | |||
− | |||
− | }}<!-- | ||
− | + | Standardhöhe, rh | |
− | -->{{# | + | -->{{#vardefine:rh | {{{rh|{{{rahmen_h|350}}}}}} }}<!-- |
− | | | + | |
− | + | reference, ref | |
− | + | ||
− | }} | + | -->{{#vardefine:ref |
+ | |{{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }} | ||
+ | }}<!-- | ||
Caption: | Caption: | ||
− | --><!-- | + | -->{{#vardefine:caption |
+ | |{{#if: {{{caption| }}} | ||
+ | |<div class= 'bildtext caption'>{{#if: {{{2|}}} | | {{#var:ref}} }}{{{caption|}}}</div> }} | ||
+ | }}<!-- | ||
+ | |||
+ | HTML | ||
+ | |||
+ | --><div class='float_rightX w240x {{{hell|}}}' style='width:{{#expr: {{#var:rw}}+8 }}px; {{{style|}}}'> | ||
+ | {{DiaX | ||
+ | | {{#var: img}} | ||
+ | | {{{2|}}} | ||
+ | | rw= {{#var:rw}} | ||
+ | | rh= {{#var:rh}} | ||
+ | | w= {{{w|}}} | ||
+ | | top= {{{top|0}}} | ||
+ | | left= {{{lr|{{{left|0}}}}}} | ||
+ | | right= {{{lr|{{{right|0}}}}}} | ||
+ | | border={{{border|}}} | ||
+ | | ref= {{{ref|}}} | ||
+ | }}<!-- | ||
+ | -->{{#var:caption}}</div><!-- | ||
− | + | CSS | |
+ | |||
+ | -->{{#css: | ||
− | + | }}</onlyinclude></div> | |
− | + | ---- | |
− | + | Parameter: | |
− | + | : Div: float, style, hell | |
− | + | : Bild: 1, w, rw, rh, top, right, left, lr, border | |
− | + | : Text: 2, caption, ref | |
− | }} {{ | + | {{Styles}}{{ThisWay||nocite}} |
− | |||
− |
Version vom 17. August 2018, 23:00 Uhr
Floatright
Testbild
Parameter:
- Div: float, style, hell
- Bild: 1, w, rw, rh, top, right, left, lr, border
- Text: 2, caption, ref
Achtung: Sie sehen eine veraltete Version von https://religion-in-japan.univie.ac.at/Handbuch/Vorlage:Floatright.