Vorlage:W503b: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | {{#vardefine: | + | {{titel|{{PAGENAME}}}} |
− | |{{{ | + | Testbild |
− | }}<!-- | + | <div class='testbild' style='background: #eee; padding: 1em'><!-- |
− | -->{{#vardefine: | + | --><onlyinclude><!-- |
− | |{{{ | + | |
+ | Bilder | ||
+ | |||
+ | -->{{#vardefine: img1 |{{{1|hiroshige_asakusa_fischer.jpg}}} }}<!-- | ||
+ | -->{{#vardefine: img2 |{{{2|hiroshige_asakusa_fischer.jpg}}} }}<!-- | ||
+ | -->{{#vardefine: img3 |{{{3|hiroshige_asakusa_fischer.jpg}}} }}<!-- | ||
+ | |||
+ | Gesamtbreite | ||
+ | |||
+ | -->{{#vardefine:rwAll | {{{rwAll|500}}} }}<!-- | ||
+ | |||
+ | Standardweite Einzelbild, rw | ||
+ | |||
+ | -->{{#vardefine:rw | ||
+ | | {{{rw|{{{rahmen_w|{{#expr: {{#var:rwAll}}*31/100 }} }}}}}} | ||
}}<!-- | }}<!-- | ||
+ | reference, ref | ||
+ | |||
+ | -->{{#vardefine:ref | ||
+ | |{{#if: {{{ref|}}} | {{ref|bild={{{1|}}}}}{{ref|bild={{{2|}}}}}{{ref|bild={{{3|}}}}} }} | ||
+ | }}<!-- | ||
+ | |||
+ | HTML | ||
+ | |||
+ | --><div class='w500x {{{hell|}}}' style='width:{{#expr:{{#var:rwAll}}+8}}px; display: flex; | ||
+ | justify-content: space-between; {{{style|}}}'> | ||
+ | <div style='width:31%;'> | ||
+ | {{DiaX | ||
+ | | {{#var:img1}} | ||
+ | | rw= {{#var:rw}} | ||
+ | | rh= {{{rh|155}}} | ||
+ | | w= {{{w1|155}}} | ||
+ | | top= {{{top1|0}}} | ||
+ | | left= {{{lr1|{{{left1|0}}}}}} | ||
+ | | right= {{{lr1|{{{right1|0}}}}}} | ||
+ | }}{{#if: {{{4|}}} | ||
+ | |<div class="caption bildtext">{{#if: {{{ref|}}}|{{ref|bild={{{1|}}} }} }} {{{4|}}}</div> }} | ||
+ | </div> | ||
+ | <div style='width:31%'> | ||
+ | {{DiaX | ||
+ | | {{#var:img2}} | ||
+ | | rw= {{#var:rw}} | ||
+ | | rh= {{{rh|155}}} | ||
+ | | w= {{{w2|155}}} | ||
+ | | top= {{{top2|0}}} | ||
+ | | left= {{{lr2|{{{left2|0}}}}}} | ||
+ | | right= {{{lr2|{{{right2|0}}}}}} | ||
+ | }}{{#if: {{{5|}}} | ||
+ | |<div class="caption bildtext">{{#if: {{{ref|}}}|{{ref|bild={{{2|}}} }} }} {{{5|}}}</div> }} | ||
+ | </div> | ||
+ | <div style='width:31%;'> | ||
+ | {{DiaX | ||
+ | | {{#var:img3}} | ||
+ | | rw= {{#var:rw}} | ||
+ | | rh= {{{rh|155}}} | ||
+ | | w= {{{w3|155}}} | ||
+ | | top= {{{top3|0}}} | ||
+ | | left= {{{lr3|{{{left3|0}}}}}} | ||
+ | | right= {{{lr3|{{{right3|0}}}}}} | ||
+ | }}{{#if: {{{6|}}} | ||
+ | |<div class="caption bildtext">{{#if: {{{ref|}}}|{{ref|bild={{{3|}}} }} }} {{{6|}}}</div> }}</div><!-- | ||
+ | -->{{#var:caption}}<div class=clear></div></div><!-- | ||
+ | |||
+ | Vorlage Ende | ||
− | --><div | + | --></onlyinclude></div> |
− | -- | + | ---- |
− | + | Parameter: | |
− | + | : Div: hell, style | |
− | + | : Bild: 1, 2, 3, w, rh, top, right, left, lr | |
− | + | : Text: 4, 5, 6, ref | |
− | + | {{Styles}}{{ThisWay||nocite}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version vom 25. August 2018, 21:41 Uhr
W503b
Testbild
Parameter:
- Div: hell, style
- Bild: 1, 2, 3, w, rh, top, right, left, lr
- Text: 4, 5, 6, ref
Achtung: Sie sehen eine veraltete Version von https://religion-in-japan.univie.ac.at/Handbuch/Vorlage:W503b.