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)
Line 10: Line 10:
 
| 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|}}}|{{#if: {{{7|}}}|{{{7|}}}|{{{6|}}}}}]]  <!-- image 2 -->
|- style="
+
|- style="vertical-align:top;"
 +
{{#if: {{{7|}}} |    <!-- two captions if the seventh param (caption for title two) is specified -->
 +
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{6|}}}</div>
 +
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}}
 +
{{!}} style="padding: 0; margin: 0; border: 0;" {{!}} <div class="thumbcaption">{{{7|}}}</div>
 +
|  <!-- otherwise just have one caption underneath both images -->
 +
{{!}} style="padding: 0; margin: 0; border: 0;" colspan="3" {{!}} <div class="thumbcaption">{{{6|}}}</div>
 +
}}
 
|}
 
|}
 
</div>
 
</div>

Revision as of 18:47, 21 April 2011

Template documentation[create]