Vorlage:Floatright: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 14: Zeile 14:
 
Standardhöhe, rh
 
Standardhöhe, rh
  
-->{{#vardefine:rh | {{{rh|{{{rahmen_h|350}}}}}} }}<!--  
+
-->{{#vardefine:rh | {{{rh|{{{rahmen_h|350}}}}}} }}<!--
 
 
reference, ref
 
 
 
-->{{#vardefine:ref
 
|{{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }}
 
}}<!-- 
 
  
 
Caption:
 
Caption:
  
 
-->{{#vardefine:caption
 
-->{{#vardefine:caption
|{{#if: {{{caption| }}}  
+
|{{#if: {{{caption| }}} |<div class= 'bildtext caption'>{{{caption|}}}</div> }}
|<div class= 'bildtext caption'>{{#if: {{{2|}}} | | {{#var:ref}} }}{{{caption|}}}</div> }}
 
 
}}<!--  
 
}}<!--  
  

Version vom 18. August 2018, 00:06 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