Vorlage:DiaX: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 7: Zeile 7:
  
 
-->{{#vardefine: img |{{{1|uzume-hokusai.jpg}}} }}<!--   
 
-->{{#vardefine: img |{{{1|uzume-hokusai.jpg}}} }}<!--   
 +
-->{{#vardefine: id | i_{{#regex: {{#regex: {{#var:img}} |/[^\.]+/}}|/ /|_}} }}<!-- 
  
 
Standardweite, rw
 
Standardweite, rw
Zeile 20: Zeile 21:
 
Bildweite, w
 
Bildweite, w
  
-->{{#vardefine:w | {{#expr: {{#var:rw}} - {{{left|0}}} - {{{left|0}}} }}px  
+
-->{{#vardefine:w | {{#expr: {{#var:rw}} - {{{left|0}}} - {{{right|0}}} + 8 }}px  
 
}}<!--  
 
}}<!--  
  
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,
 +
#{{#var:id}} .thumbinner {
 +
  position: {{#var: position}};
 +
  {{#ifeq: {{{rh|}}} | auto | width:{{#expr:{{#var:rw}}+8}}px;
 +
  | width: auto!important;}}
 +
}
 +
}}<!--
 +
--><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;  

Aktuelle Version vom 15. November 2019, 21:28 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)
 }}