Vorlage:W502: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | {{#vardefine: | + | {{titel|{{PAGENAME}}}} |
− | |{{{rw|{{{rahmen_w| | + | Testbild |
+ | <div class='testbild' style='background: #eee; padding: 1em'><!-- | ||
+ | --><onlyinclude><!-- | ||
+ | |||
+ | Bilder | ||
+ | |||
+ | -->{{#vardefine: img1 |{{{1|kasuga_lanterns3.jpg}}} }}<!-- | ||
+ | -->{{#vardefine: img2 |{{{2|kasuga4.jpg}}} }}<!-- | ||
+ | |||
+ | Standardweite, rw | ||
+ | |||
+ | -->{{#vardefine:rw | ||
+ | | {{{rw|{{{rahmen_w|{{#expr: 500*48/100 }} }}}}}} | ||
}}<!-- | }}<!-- | ||
− | -->{{#vardefine: | + | -->{{#vardefine:rw1 | {{{rw1|{{{rahmen_w1|{{#var:rw}}}}}}}} }}<!-- |
− | |{{{rh|{{{rahmen_h|300}}} }}} | + | -->{{#vardefine:rw2 | {{{rw2|{{{rahmen_w2|{{#var:rw}}}}}}}} }}<!-- |
− | }}<!-- | + | |
− | --><div class= | + | Prozent rw1 |
− | -->< | + | -->{{#vardefine:rw1% |
− | < | + | | {{#if: {{{rw1|{{{rahmen_w1|}}}}}} | {{#expr: {{#var:rw1}}/5 }} |
+ | | 48 }} }}<!-- | ||
+ | |||
+ | Standardhöhe, rh | ||
+ | |||
+ | -->{{#vardefine:rh | {{{rh|{{{rahmen_h|300}}}}}} }}<!-- | ||
+ | -->{{#vardefine:rh1 | {{{rh1|{{{rahmen_h1|{{#var:rh}}}}}}}} }}<!-- | ||
+ | -->{{#vardefine:rh2 | {{{rh2|{{{rahmen_h2|{{#var:rh}}}}}}}} }}<!-- | ||
+ | |||
+ | reference, ref | ||
+ | |||
+ | -->{{#vardefine:ref | ||
+ | |{{#if: {{{3|}}} | | {{#if: {{{ref|}}}|{{ref|bild={{{1|}}}}}{{ref|bild={{{2|}}}}} }} }} | ||
+ | }}<!-- | ||
+ | |||
+ | Caption: | ||
+ | |||
+ | -->{{#vardefine:caption | ||
+ | |{{#if: {{{caption| }}} | ||
+ | |<div class= 'bildtext caption'>{{#var:ref}} {{{caption|}}}</div> }} | ||
+ | }}<!-- | ||
+ | |||
+ | HTML | ||
+ | |||
+ | --><div class='w500x {{{hell|}}}' style='508px; {{{style|}}}'> | ||
+ | <div style='float: left; width: {{#var:rw1%}}%; margin-right: 4%;'> | ||
+ | {{DiaX | ||
+ | | {{#var:img1}} | ||
+ | | {{{3|}}} | ||
+ | | rw= {{#var:rw1}} | ||
+ | | rh= {{#var:rh1}} | ||
+ | | w= {{{w1|}}} | ||
+ | | top= {{{top1|0}}} | ||
+ | | left= {{{lr1|{{{left1|0}}}}}} | ||
+ | | right= {{{lr1|{{{right1|0}}}}}} | ||
+ | | border={{{border|}}} | ||
+ | | ref= {{{ref|}}} | ||
+ | }} | ||
+ | </div> | ||
+ | {{DiaX | ||
+ | | {{#var:img2}} | ||
+ | | {{{4|}}} | ||
+ | | rw= {{#var:rw2}} | ||
+ | | rh= {{#var:rh2}} | ||
+ | | w= {{{w2|}}} | ||
+ | | top= {{{top2|0}}} | ||
+ | | left= {{{lr2|{{{left2|0}}}}}} | ||
+ | | right= {{{lr2|{{{right2|0}}}}}} | ||
+ | | border={{{border|}}} | ||
+ | | ref= {{{ref|}}} | ||
+ | }}<!-- | ||
+ | -->{{#var:caption}}</div><!-- | ||
− | + | Vorlage Ende | |
− | --> | + | --></onlyinclude></div> |
− | + | ---- | |
− | + | Parameter: | |
− | + | : Div: hell, style | |
− | + | : Bilder: 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 | |
− | + | {{Styles}}{{ThisWay||nocite}} | |
− | |||
− | |||
− | |||
− | -- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version vom 19. August 2018, 15:29 Uhr
W502
Testbild
Parameter:
- Div: hell, style
- Bilder: 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
Achtung: Sie sehen eine veraltete Version von https://religion-in-japan.univie.ac.at/Handbuch/Vorlage:W502.