Ein torii in einer Hintergasse Tōkyōs.
Eckhart Derschmidt, PBase 2005 (mit freundlicher Genehmigung).
Vorlage:W503: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 7: | Zeile 7: | ||
-->{{#vardefine: img1 |{{{1|backyardshrine.jpg}}} }}<!-- | -->{{#vardefine: img1 |{{{1|backyardshrine.jpg}}} }}<!-- | ||
-->{{#vardefine: img2 |{{{2|umenomiya_shrine.jpg}}} }}<!-- | -->{{#vardefine: img2 |{{{2|umenomiya_shrine.jpg}}} }}<!-- | ||
− | -->{{#vardefine: img3 |{{{3|schrein_torii_komainu.jpg}}} }}<!-- | + | -->{{#vardefine: img3 |{{{3|schrein_torii_komainu.jpg}}} }}<!-- |
+ | |||
+ | Bildtext kurz | ||
+ | |||
+ | -->{{#vardefine:text1 | ||
+ | | {{#if: {{{4|}}} | ||
+ | | {{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }} {{{4|}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine:text2 | ||
+ | | {{#if: {{{5|}}} | ||
+ | | {{#if: {{{ref|}}}|{{ref|bild={{{2|}}} }} }} {{{5|}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine:text3 | ||
+ | | {{#if: {{{6|}}} | ||
+ | | {{#if: {{{ref|}}}|{{ref|bild={{{3|}}} }} }} {{{6|}}} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | |||
+ | reference, ref | ||
+ | |||
+ | -->{{#vardefine:ref | ||
+ | |{{#if: {{{4|}}} | | ||
+ | |{{#if: {{{ref|}}} | {{ref|bild={{{1|}}}}}{{ref|bild={{{2|}}}}}{{ref|bild={{{3|}}}}} }} | ||
+ | }} | ||
+ | }}<!-- | ||
+ | |||
+ | Caption: | ||
+ | |||
+ | -->{{#vardefine:caption | ||
+ | |<div class= 'bildtext caption clear'>{{#if: {{{caption| }}} | ||
+ | |{{#var:ref}} {{{caption|}}} }}</div> | ||
+ | }}<!-- | ||
Gesamtbreite | Gesamtbreite | ||
Zeile 39: | Zeile 72: | ||
-->{{#vardefine:rh1 | {{#expr: {{#var:rh}} * 2.15 }} }}<!-- | -->{{#vardefine:rh1 | {{#expr: {{#var:rh}} * 2.15 }} }}<!-- | ||
− | + | right | |
+ | |||
+ | -->{{#vardefine:r1 | {{#if: {{{w1|}}} | ||
+ | | {{#expr: {{#var:rw1}} - ({{{w1|}}}*6/5 + {{{left1|0}}}*6/5) }} | ||
+ | | 0 | ||
+ | }} }}<!-- | ||
+ | -->{{#vardefine:r2 | {{#if: {{{w2|}}} | ||
+ | | {{#expr: {{#var:rw2}} - ({{{w2|}}}*6/5 + {{{left2|0}}}*6/5) }} | ||
+ | | 0 | ||
+ | }} }}<!-- | ||
− | -->{{#vardefine: | + | -->{{#vardefine:r3 | {{#if: {{{w3|}}} |
− | |{{#if: {{{ | + | | {{#expr: {{#var:rw3}} - ({{{w3|}}}*6/5 + {{{left3|0}}}*6/5) }} |
− | }}<!-- | + | | 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|}}}}}<!-- | ||
+ | |||
+ | -->{{#vardefine:t3|{{{t3|{{{top3|}}}}}}}}<!-- | ||
+ | -->{{#vardefine:l3|{{{l3|{{{left3|{{{lr3|}}}}}}}}}}}<!-- | ||
+ | -->{{#vardefine:r3|{{{r3|{{{right3|{{{lr3|{{#var:r3}}}}}}}}}}}}}<!-- | ||
+ | -->{{#vardefine:b3|{{{b3|}}}}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
HTML | HTML | ||
− | --><div class=' | + | --><div class='i500 {{{hell|}}}' style='{{#if: {{{rwAll|}}} |
| width: {{{rwAll|}}}; }}{{{style|}}}'> | | width: {{{rwAll|}}}; }}{{{style|}}}'> | ||
<div style='display: grid; | <div style='display: grid; | ||
Zeile 60: | Zeile 114: | ||
grid-gap: 10px 4%;'> | grid-gap: 10px 4%;'> | ||
<div style='grid-area: {{#var:grid}}'> | <div style='grid-area: {{#var:grid}}'> | ||
− | {{DiaX | + | {{DiaX.2 |
− | | {{#var:img1}} | + | | img= {{#var:img1}} |
− | | {{ | + | | text={{#var:text1}} |
| rw= {{#var:rw}} | | rw= {{#var:rw}} | ||
| rh= {{#var:rh1}} | | rh= {{#var:rh1}} | ||
− | | | + | | t={{#var:t1}} |
− | | | + | | l={{#var:l1}} |
− | | | + | | r={{#var:r1}} |
− | | | + | | b={{#var:b1}} |
− | |||
}} | }} | ||
</div> | </div> | ||
<div> | <div> | ||
− | {{DiaX | + | {{DiaX.2 |
− | | {{#var:img2}} | + | | img= {{#var:img2}} |
− | | {{ | + | | text={{#var:text2}} |
| rw= {{#var:rw2}} | | rw= {{#var:rw2}} | ||
| rh= {{#var:rh2}} | | rh= {{#var:rh2}} | ||
− | | | + | | t={{#var:t2}} |
− | | | + | | l={{#var:l2}} |
− | | | + | | r={{#var:r2}} |
− | | | + | | b={{#var:b2}} |
− | |||
}} | }} | ||
</div> | </div> | ||
<div style='align-self: end;'> | <div style='align-self: end;'> | ||
− | {{DiaX | + | {{DiaX.2 |
− | | {{#var:img3}} | + | | img= {{#var:img3}} |
− | | {{ | + | | text={{#var:text3}} |
| rw= {{#var:rw3}} | | rw= {{#var:rw3}} | ||
| rh= {{#var:rh3}} | | rh= {{#var:rh3}} | ||
− | | | + | | t={{#var:t3}} |
− | + | | l={{#var:l3}} | |
− | | | + | | r={{#var:r3}} |
− | | | + | | b={{#var:b3}} |
− | | | ||
}} | }} | ||
</div> | </div> | ||
Zeile 106: | Zeile 157: | ||
---- | ---- | ||
Parameter: | Parameter: | ||
− | : Div: hell, style, rwAll, | + | : Div: hell, style, rwAll, |
− | : Bild: 1, 2, 3, w, rh, | + | : Bild: 1, 2, 3, w, rh, t, r, l, lr |
: Text: 4, 5, 6, ref, caption | : Text: 4, 5, 6, ref, caption |
Version vom 16. Dezember 2019, 21:57 Uhr
Testbild
Parameter:
- Div: hell, style, rwAll,
- Bild: 1, 2, 3, w, rh, t, r, l, lr
- Text: 4, 5, 6, ref, caption