FANDOM


m
m
Line 2: Line 2:
 
-->{{#switch: {{{orientation|}}}<!--
 
-->{{#switch: {{{orientation|}}}<!--
 
-->|vertical={{#if:{{{img1|}}}|<div style="position: absolute: top: 0; left: 0;">[[File:{{{img1|}}}|{{{width|100}}}px]]</div>}}<!--
 
-->|vertical={{#if:{{{img1|}}}|<div style="position: absolute: top: 0; left: 0;">[[File:{{{img1|}}}|{{{width|100}}}px]]</div>}}<!--
-->|horizontal={{#if:{{{img1|}}}|<div style="position: absolute: top: 0; left: -{{#expr:{{{width|100}}}*.5 round 0}}}px; clip: rect(0px {{#expr:{{{width|100}}}*1.5 round 0}}px {{{width|100}}}px {{#expr:{{{width|100}}}*.5 round 0}}px);">[[File:{{{img1|}}}|{{#expr:{{{width|100}}}*2 round 0}}px]]</div>}}<!--
+
-->|horizontal={{#if:{{{img1|}}}|<div style="position: absolute; top: 0; left: -{{#expr:{{{width|100}}}*.5 round 0}}px; clip: rect(0px {{#expr:{{{width|100}}}*1.5 round 0}}px {{{width|100}}}px {{#expr:{{{width|100}}}*.5 round 0}}px);">[[File:{{{img1|}}}|{{#expr:{{{width|100}}}*2 round 0}}px]]</div>}}<!--
 
-->|#default={{#if:{{{img4|}}}|<div style="position: absolute; top: 0; left: 0;">[[File:{{{img1}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><div style="position: absolute; top: 0; right: 0;">[[File:{{{img2}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><div style="position: absolute; bottom: 0; left: 0;">[[File:{{{img3}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><div style="position: absolute; bottom: 0; right: 0;">[[File:{{{img4}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><!--
 
-->|#default={{#if:{{{img4|}}}|<div style="position: absolute; top: 0; left: 0;">[[File:{{{img1}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><div style="position: absolute; top: 0; right: 0;">[[File:{{{img2}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><div style="position: absolute; bottom: 0; left: 0;">[[File:{{{img3}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><div style="position: absolute; bottom: 0; right: 0;">[[File:{{{img4}}}|{{#expr:{{{width|100}}}*.50 round 0}}px]]</div><!--
 
-->|{{#if:{{{img2|}}}|<div style="position: absolute; top: 0; left: -{{#expr:{{{width|100}}}*.25 round 0}}px; clip: rect(0px {{#expr:{{{width|100}}}*.75 round 0}}px {{{width|100}}}px {{#expr:{{{width|100}}}*.25 round 0}}px);">[[File:{{{img1|}}}|{{{width|100}}}px]]</div><div style="position: absolute; top: 0; right: -{{#expr:{{{width|100}}}*.25 round 0}}px; clip: rect(0px {{#expr:{{{width|100}}}*.75 round 0}}px {{{width|100}}}px {{#expr:{{{width|100}}}*.25 round 0}}px);">[[File:{{{img2|}}}|{{{width|100}}}px]]</div><!--
 
-->|{{#if:{{{img2|}}}|<div style="position: absolute; top: 0; left: -{{#expr:{{{width|100}}}*.25 round 0}}px; clip: rect(0px {{#expr:{{{width|100}}}*.75 round 0}}px {{{width|100}}}px {{#expr:{{{width|100}}}*.25 round 0}}px);">[[File:{{{img1|}}}|{{{width|100}}}px]]</div><div style="position: absolute; top: 0; right: -{{#expr:{{{width|100}}}*.25 round 0}}px; clip: rect(0px {{#expr:{{{width|100}}}*.75 round 0}}px {{{width|100}}}px {{#expr:{{{width|100}}}*.25 round 0}}px);">[[File:{{{img2|}}}|{{{width|100}}}px]]</div><!--

Revision as of 02:49, November 14, 2014

[edit · purge]
Template documentation (for the template shown above, sometimes hidden or invisible)
There is currently no documentation for this template.
.
Community content is available under CC-BY-SA unless otherwise noted.