Difference between revisions of "Template:Gallery/aux"

From Masq
m
Line 1: Line 1:
<table style="width:{{#expr:{{{width|180}}}+20}}px; float:left; border-collapse:collapse; margin:3px; background-color:#f8f8f8;">
+
<div style="width:{{#expr:{{{width|180}}}+24}}px;" class="galleryitem">
<tr>
+
<div style="height:{{#expr:{{{height|180}}}+2}}px;" class="gallerypic">
<td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; padding:0px;">
+
 
[[{{{1|File:Nophoto.jpg}}}|center|border|{{{width|180}}}x{{{height|180}}}px|alt={{{alt}}}|{{{2}}}]]
 
[[{{{1|File:Nophoto.jpg}}}|center|border|{{{width|180}}}x{{{height|180}}}px|alt={{{alt}}}|{{{2}}}]]
</td>
+
</div>
</tr>
+
<div class="gallerytext">
<tr style="border-right:1px solid #F0F0F0; border-bottom:1px solid #f0f0f0; border-left:1px solid #f0f0f0; vertical-align:top;">
+
<td style="display:block; font-size:1em; height:{{#expr:0.2+1.5*{{{lines|2}}}}}em; padding:0px;">
+
<div class="gallerytext" style="height:{{#expr:0.1+1.5*{{{lines|2}}}}}em; width:{{#expr:{{{width|180}}}+7}}px; line-height:1.3em; padding:2px 6px 1px 6px; overflow-y:hidden; margin:0px; border:none; border-width:0px;">
+
 
{{{2}}}
 
{{{2}}}
 
</div>
 
</div>
</td>
+
</div>
</tr>
+
</table>
+

Revision as of 19:31, 22 April 2011

{{{alt}}}

{{{2}}}