Template:Multiple image: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Edene
m for vertical arrangement, the 1st width is used
meta>Edene
m includeonly; doc
Line 1: Line 1:
<div class="thumb {{#switch: {{{1|}}} | left = tleft | center | centre = tnone | tright}}" style="width:{{#switch: {{{2|horizontal}}} | vertical = {{#expr: {{{5}}} + 12}} | horizontal = {{#if: {{{8|}}}  
<includeonly><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;}}">
Line 8: Line 8:
{{#if: {{{13|}}} | <div style="{{#switch: {{{2|horizontal}}} | horizontal = float:left; | }}margin:1px;width:{{#expr: 2 + {{#if: {{{14|}}} | {{{14}}} | {{{5}}}}}}}px;"><div class="thumbimage">[[Image:{{{13}}}|{{#if: {{{14|}}} | {{{14}}} | {{{5}}}}}px|{{#if: {{{15|}}} | {{{15}}} | {{{3}}}}}]]</div>{{#if: {{{15|}}} | <div class="thumbcaption" style="clear:left;">{{{15}}}</div>}}</div>
{{#if: {{{13|}}} | <div style="{{#switch: {{{2|horizontal}}} | horizontal = float:left; | }}margin:1px;width:{{#expr: 2 + {{#if: {{{14|}}} | {{{14}}} | {{{5}}}}}}}px;"><div class="thumbimage">[[Image:{{{13}}}|{{#if: {{{14|}}} | {{{14}}} | {{{5}}}}}px|{{#if: {{{15|}}} | {{{15}}} | {{{3}}}}}]]</div>{{#if: {{{15|}}} | <div class="thumbcaption" style="clear:left;">{{{15}}}</div>}}</div>
{{#if: {{{16|}}} | <div style="{{#switch: {{{2|horizontal}}} | horizontal = float:left; | }}margin:1px;width:{{#expr: 2 + {{#if: {{{17|}}} | {{{17}}} | {{{5}}}}}}}px;"><div class="thumbimage">[[Image:{{{16}}}|{{#if: {{{17|}}} | {{{17}}} | {{{5}}}}}px|{{#if: {{{18|}}} | {{{18}}} | {{{3}}}}}]]</div>{{#if: {{{18|}}} | <div class="thumbcaption" style="clear:left;">{{{18}}}</div>}}</div>}}}}}}
{{#if: {{{16|}}} | <div style="{{#switch: {{{2|horizontal}}} | horizontal = float:left; | }}margin:1px;width:{{#expr: 2 + {{#if: {{{17|}}} | {{{17}}} | {{{5}}}}}}}px;"><div class="thumbimage">[[Image:{{{16}}}|{{#if: {{{17|}}} | {{{17}}} | {{{5}}}}}px|{{#if: {{{18|}}} | {{{18}}} | {{{3}}}}}]]</div>{{#if: {{{18|}}} | <div class="thumbcaption" style="clear:left;">{{{18}}}</div>}}</div>}}}}}}
{{#if: {{{3|}}} | <div class="thumbcaption" style="clear:left;">{{{3}}}</div> }}</div></div><noinclude>
{{#if: {{{3|}}} | <div class="thumbcaption" style="clear:left;">{{{3}}}</div> }}</div></div></includeonly><noinclude>
 
{{documentation}}
[[Category:Graphic templates|{{PAGENAME}}]]
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
</noinclude>
</noinclude>

Revision as of 17:04, 13 April 2008