Difference between revisions of "Template:Double image"

From Yugipedia
Jump to: navigation, search
(these tags haven't been whitelisted)
(div.tright and div.tleft have an undesirably thick border in Monobook)
Line 1: Line 1:
 
<noinclude>{{Wikipedia}}
 
<noinclude>{{Wikipedia}}
 
</noinclude><includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float -->
 
</noinclude><includeonly>{{#switch: {{{1|}}} <!-- first parameter inserts a <div> with a left, right or central float -->
| left = <div class="article-thumb tleft">
+
| left = <div class="article-thumb tleft" style="border-width: 1px;">
| right = <div class="article-thumb tright">
+
| right = <div class="article-thumb tright" style="border-width: 1px;">
 
| center = <div class="center"><div class="article-thumb tnone">
 
| center = <div class="center"><div class="article-thumb tnone">
| #default = <div class="article-thumb tright">
+
| #default = <div class="article-thumb tright" style="border-width: 1px;">
 
}}<div class="image image-thumbnail" style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;">  <!-- calculate width based on image widths +8px -->
 
}}<div class="image image-thumbnail" style="width:{{#expr: {{{3|0}}} + {{{5|0}}} + 8}}px;">  <!-- calculate width based on image widths +8px -->
 
{| 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"

Revision as of 00:08, 14 March 2016