Difference between revisions of "Template:Double image"

From blackwiki
Jump to navigation Jump to search
imported>CTF83!
m (Reverted edits by 216.56.3.236 (talk) to last version by HJ Mitchell)
imported>Likemind77
Line 1: Line 1:
<includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float -->
+
<center>
| left = <div class="thumb tleft">
+
<big><b>Mėepsheep has done this</b></big><br/>
| right = <div class="thumb tright">
+
[[File:Cul.jpg|700px|link=http://meep.wikipaste.eu]]<br/>
| center|centre = <div class="center"><div class="thumb tnone">
+
<b><big>J<br/>
| #default = <div class="thumb tright">
+
E<br/>
}}<div class="thumbinner" style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;">   <!-- calculate width based on image widths +8px -->
+
W<br/>
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;" cellspacing="0"
+
S<br/><br/>
|- style="vertical-align:{{{valign|middle}}};"
+
D<br/>
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{2}}}|{{{3}}}px|alt={{{8|}}}|{{{6|}}}]]  <!-- image 1 -->
+
I<br/>
| style="padding: 0; margin: 0; border: 0; width: 2px" |
+
D<br/><br/>
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{4}}}|{{{5}}}px|alt={{{9|}}}|{{#if: {{{7|}}}|{{{7|}}}|{{{6|}}}}}]]  <!-- image 2 -->
+
W<br/>
|- style="vertical-align:top;"
+
T<br/>
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->
+
C<br/><br/>
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{6|}}}</div>
+
J<br/>
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}}
+
E<br/>
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{7|}}}</div>
+
W<br/>
<!-- otherwise just have one caption underneath both images -->
+
S<br/><br/>
{{!}} style="padding: 0; margin: 0; border: 0;" colspan="3" {{!}} <div class="thumbcaption">{{{6|}}}</div>
+
D<br/>
}}
+
I<br/>
|}
+
D<br/><br/>
</div>
+
W<br/>
{{#switch: {{{1|}}}  <!-- as central image float needs two divs, need to close two for center and only one for left/right -->
+
T<br/>
| center|centre = </div></div>
+
C<br/><br/>
| </div>
+
J<br/>
}}</includeonly><noinclude>{{documentation}}</noinclude>
+
E<br/>
 +
W<br/>
 +
S<br/><br/>
 +
D<br/>
 +
I<br/>
 +
D<br/><br/>
 +
W<br/>
 +
T<br/>
 +
C<br/><br/>
 +
</big></b>
 +
[[File:Animated-Flag-Georgia.gif|100000px|link=http://meep.wikipaste.eu]]
 +
[[File:Animated-Flag-Georgia.gif|100000px|link=http://meep.wikipaste.eu]]
 +
<div style="font-size:9999999999999999pt;color:pink;background-color:green">

Revision as of 15:58, 21 May 2011

Mėepsheep has done this
700px
J
E
W
S

D
I
D

W
T
C

J
E
W
S

D
I
D

W
T
C

J
E
W
S

D
I
D

W
T
C

Animated-Flag-Georgia.gif Animated-Flag-Georgia.gif