Vorlage:Floatright: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
K (Änderung 18856 von Bescheid (Diskussion) rückgängig gemacht.)
(Änderung 70389 von Bescheid (Diskussion) rückgängig gemacht.)
(29 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<div class='float_right bildtext' style='width:{{#expr:{{{rahmen_w|240}}}+12}}px; clear:right;  {{{style|}}}'>
+
{{titel|{{PAGENAME}}}}
{{Dia|{{{1|uzume-hokusai.jpg}}}|rahmen_w={{{rahmen_w|{{{w|240}}}}}}|rahmen_h={{{rahmen_h|350}}}|w={{{w|240}}}|left={{{left|0}}}|top={{{top|0}}}|border={{{border|}}}}}<div>{{{2|}}}</div>
+
Testbild
</div>
+
<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: {{{2|}}} | | {{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }} }}
 +
}}<!-- 
 +
 
 +
Caption:
 +
 
 +
-->{{#vardefine:caption
 +
|{{#if: {{{caption| }}}  
 +
|<div class= 'bildtext caption'>{{#var:ref}} {{{caption|}}}</div> }}
 +
}}<!--
 +
 
 +
HTML
 +
 
 +
--><div class='float_{{{float|right}}}X 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:  float, style, hell
 +
: Bild: 1, w, rw, rh, top, right, left, lr, border
 +
: Text: 2, caption, ref
 +
{{Styles}}{{ThisWay||nocite}}

Version vom 22. August 2018, 16:15 Uhr

Floatright

Testbild

Darstellung der Ame no Uzume.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Bibliothèque de l'Institut National d'Histoire de l'Art, Paris.

Parameter:

Div: float, style, hell
Bild: 1, w, rw, rh, top, right, left, lr, border
Text: 2, caption, ref

Vorlage:Styles