Template:Multiple image: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Plastikspork
Undid revision 368000394 by Plastikspork (talk)
meta>Thumperward
try to fix width of caption
Line 17: Line 17:
{{#if:{{{image9|}}} | <div style="{{#ifeq:{{{direction|horizontal}}}|horizontal|float:left;}} margin: 1px; width: {{#expr: 2 + {{#if:{{{width|}}}|{{{width}}}|{{{width9}}}}}}}px"><div class="thumbimage">[[file:{{{image9}}}|{{#if:{{{width|}}} | {{{width}}} | {{{width9}}} }}px{{#ifeq:{{{link9|:}}}|:||{{!}}link={{{link9}}}}}|alt={{{alt9|}}}|{{{caption9|}}}]]</div>{{#if:{{{caption9|}}} | <div class="thumbcaption" style="clear:left">{{{caption9}}}</div>}}</div>
{{#if:{{{image9|}}} | <div style="{{#ifeq:{{{direction|horizontal}}}|horizontal|float:left;}} margin: 1px; width: {{#expr: 2 + {{#if:{{{width|}}}|{{{width}}}|{{{width9}}}}}}}px"><div class="thumbimage">[[file:{{{image9}}}|{{#if:{{{width|}}} | {{{width}}} | {{{width9}}} }}px{{#ifeq:{{{link9|:}}}|:||{{!}}link={{{link9}}}}}|alt={{{alt9|}}}|{{{caption9|}}}]]</div>{{#if:{{{caption9|}}} | <div class="thumbcaption" style="clear:left">{{{caption9}}}</div>}}</div>
{{#if:{{{image10|}}} | <div style="{{#ifeq:{{{direction|horizontal}}}|horizontal|float:left;}} margin: 1px; width: {{#expr: 2 + {{#if:{{{width|}}}|{{{width}}}|{{{width10}}}}}}}px"><div class="thumbimage">[[file:{{{image10}}}|{{#if:{{{width|}}} | {{{width}}} | {{{width10}}} }}px{{#ifeq:{{{link10|:}}}|:||{{!}}link={{{link10}}}}}|alt={{{alt10|}}}|{{{caption10|}}}]]</div>{{#if:{{{caption10|}}} | <div class="thumbcaption" style="clear:left">{{{caption10}}}</div>}}</div>}} }} }} }} }} }} }} }} }} }}
{{#if:{{{image10|}}} | <div style="{{#ifeq:{{{direction|horizontal}}}|horizontal|float:left;}} margin: 1px; width: {{#expr: 2 + {{#if:{{{width|}}}|{{{width}}}|{{{width10}}}}}}}px"><div class="thumbimage">[[file:{{{image10}}}|{{#if:{{{width|}}} | {{{width}}} | {{{width10}}} }}px{{#ifeq:{{{link10|:}}}|:||{{!}}link={{{link10}}}}}|alt={{{alt10|}}}|{{{caption10|}}}]]</div>{{#if:{{{caption10|}}} | <div class="thumbcaption" style="clear:left">{{{caption10}}}</div>}}</div>}} }} }} }} }} }} }} }} }} }}
{{#if:{{{footer|}}} | <div class="thumbcaption" style="clear:left;text-align:{{{footer_align|left}}};background:{{{footer_background|transparent}}}">{{{footer}}}</div> }}</div></div></includeonly><noinclude>{{doc}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>
{{#if:{{{footer|}}} | <div class="thumbcaption" style="clear:left;text-align:{{{footer_align|left}}};background:{{{footer_background|transparent}}}; width: inherit">{{{footer}}}</div> }}</div></div></includeonly><noinclude>{{doc}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude>

Revision as of 17:06, 14 June 2010