Vorlage:Dia: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 19: | Zeile 19: | ||
Bildtext Anmerkung | Bildtext Anmerkung | ||
− | -->{{#vardefine:anm | + | -->{{#vardefine:anm | {{File:{{#var:img}}}} }}<!-- |
− | | {{File:{{#var:img}}}} | ||
− | }}<!-- | ||
Standardweite, rw | Standardweite, rw | ||
Zeile 40: | Zeile 38: | ||
{{#vardefine:margin| margin-}} | {{#vardefine:margin| margin-}} | ||
{{#vardefine:pos_innen| absolute}} | {{#vardefine:pos_innen| absolute}} | ||
+ | }}<!-- | ||
+ | |||
+ | Bildweite, w | ||
+ | |||
+ | -->{{#vardefine:w | {{#expr: ({{#var:rw}} - {{{r|{{{lr|0}}}}}} - {{{l|{{{lr|0}}}}}})*6/5 + 8 }}px | ||
}}<!-- | }}<!-- | ||
Zeile 45: | Zeile 48: | ||
--><div id='{{#var:id}}' class='imgBorder diax2 {{{hell|}}} {{{class|}}}'><!-- | --><div id='{{#var:id}}' class='imgBorder diax2 {{{hell|}}} {{{class|}}}'><!-- | ||
− | --><div class='aussen' | + | --><div class='aussen' style=' |
padding-top: {{#var:rh}} | padding-top: {{#var:rh}} | ||
− | '> | + | '><!-- |
− | + | --><div class='innen' style=' | |
position: {{#var:pos_innen}}; | position: {{#var:pos_innen}}; | ||
{{#var:margin}}top: {{{top|0}}}px; | {{#var:margin}}top: {{{top|0}}}px; | ||
Zeile 54: | Zeile 57: | ||
{{#var:margin}}bottom: {{{b|0}}}px; | {{#var:margin}}bottom: {{{b|0}}}px; | ||
{{#var:margin}}left: {{{l|{{{lr|0}}}}}}px; | {{#var:margin}}left: {{{l|{{{lr|0}}}}}}px; | ||
− | '>[[Bild:{{#var:img}}|{{#var: | + | '><!-- |
+ | -->[[Bild:{{#var:img}}|{{#var:w}}|ohne|link=]]</div><!-- | ||
+ | -->[[Bild:{{#var:img}}|75x75px|thumb|{{#var:anm}}]] | ||
</div>{{#var:text}}</div><!-- | </div>{{#var:text}}</div><!-- | ||
+ | |||
+ | CSS | ||
-->{{#css: | -->{{#css: | ||
Zeile 97: | Zeile 104: | ||
| uzume-hokusai.jpg | | uzume-hokusai.jpg | ||
| (text) | | (text) | ||
− | | rw= | + | | rw= [px] |
− | | rh= | + | | rh= [px] |
| top= | | top= | ||
| l= | | l= |