Template:Multiple image: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edene
 
meta>Edene
m width is specified for all alignments
Line 1: Line 1:
<div class="thumb {{#switch: {{{1|}}} | left = tleft | center | centre = tnone" style="margin:0 auto;width:{{#if: {{{8|}}}  
<div class="thumb {{#switch: {{{1|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#if: {{{8|}}}  
| {{#expr: 16 + {{{5}}} + {{{8}}} + {{{11|0}}} + {{{14|0}}} + {{{17|0}}} + {{#if: {{{16|}}} | 12 | {{#if: {{{13|}}} | 8 | {{#if: {{{10|}}} | 4 | 0 }} }} }} }}
| {{#expr: 16 + {{{5}}} + {{{8}}} + {{{11|0}}} + {{{14|0}}} + {{{17|0}}} + {{#if: {{{16|}}} | 12 | {{#if: {{{13|}}} | 8 | {{#if: {{{10|}}} | 4 | 0 }} }} }} }}
| {{#expr: 8 + ({{{5}}} + 4) * {{#if: {{{16|}}} | 5 | {{#if: {{{13|}}} | 4 | {{#if: {{{10|}}} | 3 | 2 }} }} }} }} }}px | tright}}">
| {{#expr: 8 + ({{{5|0}}} + 4) * {{#if: {{{16|}}} | 5 | {{#if: {{{13|}}} | 4 | {{#if: {{{10|}}} | 3 | 2 }} }} }} }} }}px;{{#switch: {{{1|}}} | center | centre = margin: 0 auto;}}">
<div class="thumbinner">
<div class="thumbinner">
<div style="{{#switch: {{{2|horizontal}}} | horizontal = float:left; | }}margin:1px;width:{{#expr: 2 + {{{5|0}}}}}px;"><div class="thumbimage">[[Image:{{{4}}}|{{{5}}}px|{{#if: {{{6|}}} | {{{6}}} | {{{3}}}}}]]</div>{{#if: {{{6|}}} | <div class="thumbcaption" style="clear:left;">{{{6}}}</div>}}</div>
<div style="{{#switch: {{{2|horizontal}}} | horizontal = float:left; | }}margin:1px;width:{{#expr: 2 + {{{5|0}}}}}px;"><div class="thumbimage">[[Image:{{{4}}}|{{{5}}}px|{{#if: {{{6|}}} | {{{6}}} | {{{3}}}}}]]</div>{{#if: {{{6|}}} | <div class="thumbcaption" style="clear:left;">{{{6}}}</div>}}</div>

Revision as of 16:08, 13 April 2008

[[Image:{{{4}}}|{{{5}}}px|{{{3}}}]]
[[Image:{{{7}}}|{{{5}}}px|{{{3}}}]]