Vorlage:W502: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 23: Zeile 23:
 
Caption:
 
Caption:
  
-->{{#vardefine:caption
+
-->{{#vardefine:caption  
| {{#if: {{{caption| }}}  
+
|<div class= 'bildtext caption clear'>{{#if: {{{caption| }}}  
|<div class='bildtext caption'>{{#if: {{{ref|}}}
+
|{{#if: {{{ref|}}}
 
| {{#if:{{{3|}}}|<!-- do nothing -->
 
| {{#if:{{{3|}}}|<!-- do nothing -->
 
|{{ref | ref={{{ref|}}} | bild={{{1|}}} }} {{ref | ref={{{ref|}}} | bild={{{2|}}} }}
 
|{{ref | ref={{{ref|}}} | bild={{{1|}}} }} {{ref | ref={{{ref|}}} | bild={{{2|}}} }}
 
}}  
 
}}  
}} {{{caption|}}}</div>
+
}} {{{caption|}}} }}</div>
}}
 
 
}}<!--     
 
}}<!--     
 +
 +
Caption:
 +
 +
-->{{#vardefine:caption
 +
|<div class= 'bildtext caption clear'>{{#if: {{{caption| }}}
 +
|{{#var:ref}} {{{caption|}}} }}</div>
 +
}}<!--
  
 
Gesamtbreite
 
Gesamtbreite

Version vom 16. Dezember 2019, 22:34 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