Vorlage:DiaX: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
Zeile 14: Zeile 14:
  
 
-->{{#vardefine:w | {{#expr: {{#var:rw}}-{{{lr|{{{left|0}}}}}}-{{{lr|{{{right|0}}}}}} }}px}}<!--
 
-->{{#vardefine:w | {{#expr: {{#var:rw}}-{{{lr|{{{left|0}}}}}}-{{{lr|{{{right|0}}}}}} }}px}}<!--
-->{{#vardefine:w | {{#if:{{{w|}}} | {{{w|}}}px | {{#var:w}} }} }}<!--  
+
-->{{#vardefine:w | {{#if:{{{w|}}} | {{{w|}}}px | {{#var:w}} }} }}<!--
 
 
Rahmenweite, rwStyle
 
 
 
-->{{#vardefine:rwStyle| width:240px; }}<!--
 
  
 
Standardhöhe, rh (padding-top)
 
Standardhöhe, rh (padding-top)
Zeile 65: Zeile 61:
 
HTML  
 
HTML  
  
--><div class='imgBorder imgX {{{hell|}}}' style='{{#var:rwStyle}}'>
+
--><div class='imgBorder imgX {{{hell|}}}' style='width: {{#var:rw}}px'>
<div class='aussen' style='position: relative; padding-top: {{#var:rh}};'>
+
<div class='aussen' style='position: relative; padding-top: {{#var:rh}};'>
 
   <div class='innen' style='
 
   <div class='innen' style='
 
   position: {{#var: position}};
 
   position: {{#var: position}};

Version vom 17. August 2018, 21:20 Uhr

Religion in Japan > Vorlage > DiaX
DiaX

Testbild

Uzume-hokusai.jpg
Ame no Uzume // Buchillustration, kami von Katsushika Hokusai. 1816; aus Hokusai manga, Bd. 5 // Bildquelle: visipix (bearbeitet) (letzter Zugriff: 2016/9/18) // Darstellung der Ame no Uzume

Parameter:

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