Vorlage:Smallimage: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 3: | Zeile 3: | ||
}}<!-- | }}<!-- | ||
-->{{#vardefine: id | i_{{#regex: {{#regex: {{#var:img}} |/[^\.]+/}}|/ /|_}} }}<!-- | -->{{#vardefine: id | i_{{#regex: {{#regex: {{#var:img}} |/[^\.]+/}}|/ /|_}} }}<!-- | ||
+ | |||
+ | Width | ||
+ | |||
+ | -->{{#vardefine:width | ||
+ | | {{#if: {{{rw|}}} |{{!}}{{{rw|}}}px }} | ||
+ | }}<!-- | ||
Bildtext | Bildtext | ||
Zeile 21: | Zeile 27: | ||
--><div class=smallimage><div id={{#var:id}}> | --><div class=smallimage><div id={{#var:id}}> | ||
− | <div class='imgBorder'>[[Bild:{{#var:img}}{{#var:link}}]]</div> | + | <div class='imgBorder'>[[Bild:{{#var:img}}{{#var:link}}{{#var:width}}]]</div> |
<div class='caption'>{{#var:text}}</div> | <div class='caption'>{{#var:text}}</div> | ||
</div></div><!-- | </div></div><!-- |