Vorlage:W502: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
 
Testbild
 
Testbild
<div class='testbild' style='background: #eee; padding: 1em; max-width: 50em;' ><!--
+
<div class='testbild'><!--
 
--><onlyinclude><!--
 
--><onlyinclude><!--
  
Zeile 10: Zeile 10:
 
Gesamtbreite
 
Gesamtbreite
  
-->{{#vardefine:rwAll | {{{rwAll|500}}} }}<!--
+
-->{{#vardefine:rwAll | {{{rwAll|600}}} }}<!--
  
 
Standardweite Einzelbild, rw
 
Standardweite Einzelbild, rw
Zeile 41: Zeile 41:
 
HTML  
 
HTML  
  
--><div class='w500x {{{hell|}}}' style='width:{{#expr:{{#var:rwAll}}+8}}px; {{{style|}}}'>
+
--><div class='w500x {{{hell|}}}' style='{{#if: {{{rwAll|}}}
 +
| width: {{{rwAll|}}} }}{{{style|}}}'>
 
<div style='float: left; width: {{#var:rw1%}}%; margin-right: 4%;'>
 
<div style='float: left; width: {{#var:rw1%}}%; margin-right: 4%;'>
 
{{DiaX
 
{{DiaX

Version vom 27. August 2018, 22:46 Uhr

Testbild

Der Hirsch als Symbol des Schreins ist auch auf vielen Laternen (tōrō) zu finden.
Yamada Ryoko, flickr, 2005.
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, border
Bild1: 1, w1, rw1, rh1, top1, right1, left1, lr1
Bild2: 2, w2, rw2, rh2, top2, right2, left2, lr2
Text: 3, 4, caption, ref