Template:Multiple image: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edene
m width is specified for all alignments
meta>Edene
m for vertical arrangement, the 1st width is used
Line 1: Line 1:
<div class="thumb {{#switch: {{{1|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#if: {{{8|}}}  
<div class="thumb {{#switch: {{{1|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#switch: {{{2|horizontal}}} | vertical = {{#expr: {{{5}}} + 12}} | horizontal = {{#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|0}}} + 4) * {{#if: {{{16|}}} | 5 | {{#if: {{{13|}}} | 4 | {{#if: {{{10|}}} | 3 | 2 }} }} }} }} }}px;{{#switch: {{{1|}}} | center | centre = margin: 0 auto;}}">
| {{#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:24, 13 April 2008

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