Vorlage:Dia: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 6: Zeile 6:
 
VARIABLE
 
VARIABLE
  
-->{{#vardefine: img |{{{1|uzume-hokusai.jpg}}} }}<!--   
+
-->{{#vardefine: img |{{{img|uzume-hokusai.jpg}}} }}<!--   
 
-->{{#vardefine: id | i_{{#regex: {{#regex: {{#var:img}} |/[^\.]+/}}|/ /|_}} }}<!--   
 
-->{{#vardefine: id | i_{{#regex: {{#regex: {{#var:img}} |/[^\.]+/}}|/ /|_}} }}<!--   
  
Zeile 12: Zeile 12:
  
 
-->{{#vardefine:text
 
-->{{#vardefine:text
| {{#if: {{{2|}}}  
+
| {{#if: {{{text|}}}  
|<div class='bildtext'>{{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }} {{{2|}}}</div>
+
|<div class='bildtext'>{{{text|}}}</div>
 
}}
 
}}
 
}}<!--   
 
}}<!--   
Zeile 53: Zeile 53:
 
--><div class='innen' style='
 
--><div class='innen' style='
 
   position: {{#var:pos_innen}};
 
   position: {{#var:pos_innen}};
   {{#var:margin}}top: {{{top|0}}}px;
+
   {{#var:margin}}top: {{{t|0}}}px;
 
   {{#var:margin}}right: {{{r|0}}}px;
 
   {{#var:margin}}right: {{{r|0}}}px;
 
   {{#var:margin}}bottom: {{{b|0}}}px;
 
   {{#var:margin}}bottom: {{{b|0}}}px;

Version vom 8. Dezember 2019, 21:27 Uhr

Dia

Testbild

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

Parameter:

 {{DiaX.2
 | uzume-hokusai.jpg
 | (text)
 | rw= [px]
 | rh= [px]
 | top=
 | l=
 | r=
 | lr=
 | b=
 | style= (CSS)
 }}