Vorlage:Floatleft: 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}}} }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | + | Text | |
− | --> | + | -->{{#vardefine:text |{{{2|}}} }}<!-- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | }}<!-- | ||
− | + | Standardweite, rw | |
− | -->{{# | + | -->{{#vardefine:rw | {{{rw|{{{rahmen_w|{{{w|240}}}}}}}}} }}<!-- |
− | | < | + | |
− | + | Standardhöhe, rh | |
− | + | ||
− | }} | + | -->{{#vardefine:rh | {{{rh|{{{rahmen_h|350}}}}}} }}<!-- |
+ | |||
+ | reference, ref | ||
+ | |||
+ | -->{{#vardefine:ref | ||
+ | |{{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }} | ||
+ | }}<!-- | ||
Caption: | Caption: | ||
− | -->{{#if: {{{caption| }}} | + | -->{{#vardefine:caption |
− | |<div class= 'bildtext caption'> {{{caption| }}}</div> | + | |{{#if: {{{caption| }}} |
− | }} | + | |<div class= 'bildtext caption'>{{#if: {{{2|}}} | | {{#var:ref}} }}{{{caption|}}}</div> }} |
− | -->< | + | }}<!-- |
+ | |||
+ | HTML | ||
+ | |||
+ | --><div class='float_leftX 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><!-- | ||
+ | |||
+ | Vorlage Ende | ||
+ | |||
+ | --></onlyinclude></div> | ||
+ | ---- | ||
+ | Parameter: | ||
+ | : Div: hell, style | ||
+ | : Bild: 1, w, rw, rh, top, right, left, lr, border | ||
+ | : Text: 2, caption, ref | ||
+ | {{Styles}}{{ThisWay||nocite}} |
Version vom 19. August 2018, 09:14 Uhr
Floatleft
Testbild
Parameter:
- Div: hell, style
- 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:Floatleft.