Difference between revisions of "Template:Double image"

From blackwiki
Jump to navigation Jump to search
imported>HJ Mitchell
m (Unprotected Template:Double image: restoring previous protections settings per ANI discussion. Requests for re-protection to WP:RfPP. using TW)
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="vertical-align:top;"
+
|- style="
{{#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 17:26, 21 April 2011

Template documentation[create]