Difference between revisions of "Template:Double image"

From blackwiki
Jump to navigation Jump to search
imported>Prodego
m (Protected Template:Double image: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
imported>TheDJ
(The captions are already in the thumbnail. Passing them here will add them AGAIN but then in inline style, as a title attribute of the image link. In thumb (which we emulate) that's not desirable.)
Line 7: Line 7:
 
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;" cellspacing="0"
 
{| style="background: transparent; border: 0; padding: 0; margin: 0; width:{{#expr: {{{3|0}}} + {{{5|0}}} + 4}}px;" cellspacing="0"
 
|- style="vertical-align:{{{valign|middle}}};"
 
|- style="vertical-align:{{{valign|middle}}};"
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{2}}}|{{{3}}}px|alt={{{8|}}}|{{{6|}}}]]  <!-- image 1 -->
+
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{2}}}|{{{3}}}px|alt={{{8|}}}]]  <!-- image 1 -->
 
| style="padding: 0; margin: 0; border: 0; width: 2px" |  
 
| style="padding: 0; margin: 0; border: 0; width: 2px" |  
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{4}}}|{{{5}}}px|alt={{{9|}}}|{{#if: {{{7|}}}|{{{7|}}}|{{{6|}}}}}]]  <!-- image 2 -->
+
| style="padding: auto; margin: 0;" class="thumbimage" | [[Image:{{{4}}}|{{{5}}}px|alt={{{9|}}}]]  <!-- image 2 -->
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->
 
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->

Revision as of 13:16, 14 August 2012

Template documentation[create]