Template:Multiple image: Difference between revisions
Appearance
whitespace |
same |
||
| Line 11: | Line 11: | ||
}}{{#if:{{{image1|}}}| | }}{{#if:{{{image1|}}}| | ||
<div style="{{#ifeq: {{{direction|horizontal}}}|horizontal|float: left;}} margin: 1px; width: {{#expr: 2 + {{#if:{{{width|}}}|{{{width}}}|{{{width1}}}}}}}px"> | <div style="{{#ifeq: {{{direction|horizontal}}}|horizontal|float: left;}} margin: 1px; width: {{#expr: 2 + {{#if:{{{width|}}}|{{{width}}}|{{{width1}}}}}}}px"> | ||
<div class="thumbimage"> | <div class="thumbimage">[[file:{{{image1}}}|{{#if:{{{width|}}} | {{{width}}} | {{{width1}}} }}px{{#ifeq:{{{link1|:}}}|:||{{!}}link={{{link1}}}}}|alt={{{alt1|}}}|{{{caption1|}}}]] | ||
[[file:{{{image1}}}|{{#if:{{{width|}}} | {{{width}}} | {{{width1}}} }}px{{#ifeq:{{{link1|:}}}|:||{{!}}link={{{link1}}}}}|alt={{{alt1|}}}|{{{caption1|}}}]] | |||
</div> | </div> | ||
{{#if:{{{caption1|}}}| | {{#if:{{{caption1|}}}| | ||
Revision as of 17:28, 14 June 2010
<div class="thumb tright" style="width: {{#switch: | vertical = Expression error: Unrecognized punctuation character "[".px; ">