Vorlage:W503: 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: 48em;' ><!--
+
<div class='testbild'><!--
 
--><onlyinclude><!--
 
--><onlyinclude><!--
  
Zeile 11: Zeile 11:
 
Gesamtbreite
 
Gesamtbreite
  
-->{{#vardefine:rwAll | {{{rwAll|500}}} }}<!--   
+
-->{{#vardefine:rwAll | {{{rwAll|600}}} }}<!--   
  
 
Format grid
 
Format grid
Zeile 54: Zeile 54:
 
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='display: grid;  
 
<div style='display: grid;  
 
   grid-template-columns: 48% auto;   
 
   grid-template-columns: 48% auto;   

Version vom 27. August 2018, 22:49 Uhr

Testbild

Ein torii in einer Hintergasse Tōkyōs.
Eckhart Derschmidt, PBase 2005 (mit freundlicher Genehmigung).
Schreinzugang mit torii in städtischer Umgebung.
Bildquelle: unbekannt.
Typisches Ensemble von torii, Miniaturschrein (hokora), komainu und Steinlaterne (tōrō) in einer städtischen Parkanlage.
Bildquelle: unbekannt.

Parameter:

Div: hell, style, rwAll, format=[right]
Bild: 1, 2, 3, w, rh, top, right, left, lr
Text: 4, 5, 6, ref, caption