Template:Multiple image: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Thumperward
(fix)
meta>Plastikspork
(fix?)
Line 2: Line 2:
{{#switch:{{{direction|}}}
{{#switch:{{{direction|}}}
| vertical  = {{#expr:{{#if:{{{width|}}}|{{{width}}}|{{max|{{{width1|}}}|{{max|{{max|{{{width2|}}}|{{{width3|}}}|{{{width4|}}}}}|{{max|{{{width5|}}}|{{{width6|}}}|{{{width7|}}}}}|{{max|{{{width8|}}}|{{{width9|}}}|{{{width10|}}}}}}}}}+12}}
| vertical  = {{#expr:{{#if:{{{width|}}}|{{{width}}}|{{max|{{{width1|}}}|{{max|{{max|{{{width2|}}}|{{{width3|}}}|{{{width4|}}}}}|{{max|{{{width5|}}}|{{{width6|}}}|{{{width7|}}}}}|{{max|{{{width8|}}}|{{{width9|}}}|{{{width10|}}}}}}}}}+12}}
| horizontal  
| horizontal = {{#if:{{{width|}}}|{{#expr:({{{width|0}}}+4)*{{#if:{{{image10|}}}|10|{{#if:{{{image9|}}}|9|{{#if:{{{image8|}}}|8|{{#if:{{{image7|}}}|7|{{#if:{{{image6|}}}|6|{{#if:{{{image5|}}}|5|{{#if:{{{image4|}}}|4|{{#if:{{{image3|}}}|3|2}}}}}}}}}}}}}}}}+8}}|{{#expr:16+{{{width1|0}}}+{{{width2|0}}}+{{{width3|0}}}+{{{width4|0}}}+{{{width5|0}}}+{{{width6|0}}}+{{{width7|0}}}+{{{width8|0}}}+{{{width9|0}}}+{{{width10|0}}}+{{#if:{{{image10|}}}|32|{{#if:{{{image9|}}}|28|{{#if:{{{image8|}}}|24|{{#if:{{{image7|}}}|20|{{#if:{{{image6|}}}|16|{{#if:{{{image5|}}}|12|{{#if:{{{image4|}}}|8|{{#if:{{{image3|}}}|4|0}}}}}}}}}}}}}}}}}}}}
|            = {{#if:{{{width|}}}|{{#expr:({{{width|0}}}+4)*{{#if:{{{image10|}}}|10|{{#if:{{{image9|}}}|9|{{#if:{{{image8|}}}|8|{{#if:{{{image7|}}}|7|{{#if:{{{image6|}}}|6|{{#if:{{{image5|}}}|5|{{#if:{{{image4|}}}|4|{{#if:{{{image3|}}}|3|2}}}}}}}}}}}}}}}}+8}}|{{#expr:16+{{{width1|0}}}+{{{width2|0}}}+{{{width3|0}}}+{{{width4|0}}}+{{{width5|0}}}+{{{width6|0}}}+{{{width7|0}}}+{{{width8|0}}}+{{{width9|0}}}+{{{width10|0}}}+{{#if:{{{image10|}}}|32|{{#if:{{{image9|}}}|28|{{#if:{{{image8|}}}|24|{{#if:{{{image7|}}}|20|{{#if:{{{image6|}}}|16|{{#if:{{{image5|}}}|12|{{#if:{{{image4|}}}|8|{{#if:{{{image3|}}}|4|0}}}}}}}}}}}}}}}}}}}}
}}px; {{#switch: {{{align|}}} | center | centre = margin: 0 auto;}}{{#if:{{{background color|}}}|background-color: {{{background color}}} }}">
}}px; {{#switch: {{{align|}}} | center | centre = margin: 0 auto;}}{{#if:{{{background color|}}}|background-color: {{{background color}}} }}">
<div class="thumbinner" {{#if:{{{background color|}}}|style="background-color: {{{background color}}}"}}>
<div class="thumbinner" {{#if:{{{background color|}}}|style="background-color: {{{background color}}}"}}>

Revision as of 16:58, 14 June 2010