Vorlage:Floatright: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 52: Zeile 52:
 
| {{#if: {{{sidepage|}}} | <div class='sbUe2' >[[{{#var:link}}|{{#var:sidepage-ue}}]]</div>}}
 
| {{#if: {{{sidepage|}}} | <div class='sbUe2' >[[{{#var:link}}|{{#var:sidepage-ue}}]]</div>}}
 
}}<!--       
 
}}<!--       
-->{{#vardefine:sideboxClass
+
-->{{#vardefine:sb-class
| {{#if: {{{sidebox|}}} |sidebox3}} {{#if: {{{sidepage|}}} | mitPagelink }}
+
| {{#if: {{{sidepage|}}} | mitPagelink }}
 +
}}<!--       
 +
-->{{#vardefine:sb-style
 +
| {{#if: {{{sidebox|}}} | style='margin-right:0' }}
 
}}<!--       
 
}}<!--       
 
      
 
      
Zeile 60: Zeile 63:
  
  
--><div class='imgbox {{{hell|}}} {{#var:sideboxClass}}'><div class="float-r i240">  
+
--><div class='imgbox {{{hell|}}} {{#var:sb-class}}' {{#var:sb-style}}><div class="float-r i240">  
 
{{#var:sidepage}}
 
{{#var:sidepage}}
 
{{DiaX.2
 
{{DiaX.2

Version vom 7. Januar 2023, 21:54 Uhr

Testbild

Uzume-hokusai.jpg
Darstellung der Ame no Uzume.
Werk von Katsushika Hokusai. Edo-Zeit, 1816. Internet Archive, Birmingham Young University.

Parameter:

Div: hell
Bild: 1, w, rw, rh, t, r, l, lr
Text: 2, caption, ref