Vorlage:W502: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 21: Zeile 21:
  
 
Prozent rw1
 
Prozent rw1
 +
 
-->{{#vardefine:rw1%  
 
-->{{#vardefine:rw1%  
 
| {{#if: {{{rw1|{{{rahmen_w1|}}}}}} | {{#expr: {{#var:rw1}}/5 }}  
 
| {{#if: {{{rw1|{{{rahmen_w1|}}}}}} | {{#expr: {{#var:rw1}}/5 }}  
Zeile 33: Zeile 34:
 
right  
 
right  
  
-->{{#vardefine:right1 | {{#if: {{{w1|}}}
+
-->{{#vardefine:r1 | {{#if: {{{w1|}}}
 
| {{#expr: {{#var:rw1}} - ({{{w1|}}}*6/5 + {{{left1|0}}}*6/5) }}
 
| {{#expr: {{#var:rw1}} - ({{{w1|}}}*6/5 + {{{left1|0}}}*6/5) }}
 
| 0
 
| 0
 
}} }}<!--   
 
}} }}<!--   
-->{{#vardefine:right2 | {{#if: {{{w2|}}}
+
-->{{#vardefine:r2 | {{#if: {{{w2|}}}
 
| {{#expr: {{#var:rw2}} - ({{{w2|}}}*6/5 + {{{left2|0}}}*6/5) }}
 
| {{#expr: {{#var:rw2}} - ({{{w2|}}}*6/5 + {{{left2|0}}}*6/5) }}
 
| 0
 
| 0
 
}} }}<!--   
 
}} }}<!--   
 +
 +
Abstände
 +
 +
-->{{#vardefine:t1|{{{t1|{{{top1|}}}}}}}}<!--   
 +
-->{{#vardefine:l1|{{{l1|{{{left1|{{{lr1|}}}}}}}}}}}<!--   
 +
-->{{#vardefine:r1|{{{r1|{{{right1|{{{lr1|{{#var:r1}}}}}}}}}}}}}<!--
 +
-->{{#vardefine:b1|{{{b1|}}}}}<!--
 +
 +
-->{{#vardefine:t2|{{{t2|{{{top2|}}}}}}}}<!--   
 +
-->{{#vardefine:l2|{{{l2|{{{left2|{{{lr2|}}}}}}}}}}}<!--   
 +
-->{{#vardefine:r2|{{{r2|{{{right2|{{{lr2|{{#var:r2}}}}}}}}}}}}}<!--
 +
-->{{#vardefine:b2|{{{b2|}}}}}<!--   
  
 
Caption:
 
Caption:
Zeile 52: Zeile 65:
 
HTML  
 
HTML  
  
--><div class='w500x {{{hell|}}}' style='{{#if: {{{rwAll|}}}
+
--><div class='i500 {{{hell|}}}' {{#var:style}}>
| width: {{{rwAll|}}}; }}{{{style|}}}'>
+
<div class='ileft' style='width: {{#var:rw1%}}%;'>
<div style='float: left; width: {{#var:rw1%}}%; margin-right: 4%;'>
+
{{DiaX.2
{{DiaX
+
| img={{#var:img1}}
| {{#var:img1}}
+
| text={{{3|}}}
| {{{3|}}}
+
  | rw={{#var:rw1}}
  | rw=   {{#var:rw1}}
+
  | rh={{#var:rh1}}
  | rh=   {{#var:rh1}}
+
  | t={{#var:t1}}  
  | w=     {{{w1|}}}
+
  | l={{#var:l1}}   
  | top=   {{{top1|0}}}
+
  | r={{#var:r1}}
| left=  {{{lr1|{{{left1|0}}}}}}   
+
  | b={{#var:b1}}
  | right= {{{lr1|{{{right1|{{#var:right1}} }}}}}} 
+
  | ref={{{ref|}}}
  | border={{{border|}}}  
 
  | ref= {{{ref|}}}
 
 
  }}
 
  }}
 
</div>  
 
</div>  
{{DiaX
+
{{DiaX.2
| {{#var:img2}}
+
| img= {{#var:img2}}
| {{{4|}}}
+
| text= {{{4|}}}
  | rw=   {{#var:rw2}}
+
  | rw={{#var:rw2}}
  | rh=   {{#var:rh2}}
+
  | rh={{#var:rh2}}
  | w=     {{{w2|}}}
+
  | t={{#var:t2}}  
  | top=   {{{top2|0}}}
+
  | l={{#var:l2}}
  | left= {{{lr2|{{{left2|0}}}}}} 
+
  | r={{#var:r2}}
  | right= {{{lr2|{{{right2|{{#var:right2}} }}} }}}  
+
  | b={{#var:b2}}
 
  | border={{{border|}}}  
 
  | border={{{border|}}}  
  | ref= {{{ref|}}}
+
  | ref={{{ref|}}}
 
  }}<!--   
 
  }}<!--   
 
-->{{#var:caption}}</div><!--   
 
-->{{#var:caption}}</div><!--   
 +
 +
CSS
 +
 +
-->{{#css:
 +
}}<!--
  
 
Vorlage Ende
 
Vorlage Ende
Zeile 88: Zeile 104:
 
Parameter:
 
Parameter:
 
: Div:  hell, style
 
: Div:  hell, style
: Bilder: rwAll, rw, rh, border
+
: Bilder: rwAll, rw, rh
: Bild1: 1, w1, rw1, rh1, top1, right1, left1, lr1
+
: Bild1: 1, w1, rw1, rh1, t1, r1, l1, lr1
: Bild2: 2, w2, rw2, rh2, top2, right2, left2, lr2
+
: Bild2: 2, w2, rw2, rh2, t2, r2, l2, lr2
 
: Text: 3, 4, caption, ref
 
: Text: 3, 4, caption, ref

Version vom 15. Dezember 2019, 19:52 Uhr

Testbild

Kasuga lanterns3.jpg
Der Hirsch als Symbol des Schreins ist auch auf vielen Laternen (tōrō) zu finden.
Yamada Ryoko, flickr, 2005.
Kasuga4.jpg
Die Grundform ist gleich, doch jede Laterne (tōrō) ist ein Einzelstück.
Owen Murray, flickr, 2007.

Parameter:

Div: hell, style
Bilder: rwAll, rw, rh
Bild1: 1, w1, rw1, rh1, t1, r1, l1, lr1
Bild2: 2, w2, rw2, rh2, t2, r2, l2, lr2
Text: 3, 4, caption, ref