Vorlage:DiaX: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 7: Zeile 7:
  
 
-->{{#vardefine: img |{{{1|uzume-hokusai.jpg}}} }}<!--   
 
-->{{#vardefine: img |{{{1|uzume-hokusai.jpg}}} }}<!--   
 +
-->{{#vardefine: id | i_{{#regex: {{#var:img}} |/[^\.]+/}} }}<!-- 
  
 
Standardweite, rw
 
Standardweite, rw
Zeile 62: Zeile 63:
 
HTML  
 
HTML  
  
--><div class='imgBorder imgX {{{hell|}}}' {{#var:border}}>
+
--><div id='{{#var:id}}' class='imgBorder imgX {{{hell|}}}' {{#var:border}}><!--
<div class='aussen' style='position: relative; padding-top: {{#var:rh}};'>
+
-->{{#css:
 +
#{{#var:id}} .innen,
 +
#{{#var:id}} .thumb.tright {
 +
  position: {{#var: position}};
 +
}
 +
}}<!--
 +
--><div class='aussen' style='position: relative; padding-top: {{#var:rh}};'>
 
   <div class='innen' style='
 
   <div class='innen' style='
  position: {{#var: position}};
 
 
   {{#var:margin}}top: {{{top|0}}}px;
 
   {{#var:margin}}top: {{{top|0}}}px;
 
   {{#var:margin}}left: {{{left|0}}}px;  
 
   {{#var:margin}}left: {{{left|0}}}px;  

Version vom 19. Februar 2019, 21:37 Uhr

DiaX

Testbild

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

Parameter:

 {{DiaX
 | uzume-hokusai.jpg
 | (text)
 | rw=240
 | rh=240
 | w= 
 | top=
 | left=
 | lr=
 | hell=
 | border=(fff)  
 | style= (CSS)
 }}