Difference between revisions of "Template:Gallery/aux"

From MarineSpecies Traits Wiki
Jump to: navigation, search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table style="width:{{#expr:{{{cellwidth|{{{width|180}}}}}}+20}}px; float:left; border-collapse:collapse; margin:3px;">
+
<table style="width:{{#expr:{{{cellwidth|{{{width|180}}}}}}+20}}px; float:left; border-collapse:collapse; margin:3px;"><tr><td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; background-color:#F8F8F8; padding:0px; text-align:center">[[{{{1|File:Flag of None.svg}}}|center|border|{{{width|180}}}x{{{height|180}}}px|alt={{{alt}}}|link={{{link}}}|{{{2}}}]]</td></tr><tr style="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: {{
 
+
  #ifexpr: {{{cellwidth|0}}} < 30 | {{{height|180}}}+20 |{{{cellwidth}}}
 
+
  }}+7}}px; line-height:1.3em; padding:2px 6px 1px 6px; overflow-y:auto; margin:0px; border:none; border-width:0px;">{{{2}}}&nbsp;</div></td></tr></table>
<tr>
 
<td style="height:{{#expr:{{{height|180}}}+20}}px; border:1px solid #CCCCCC; background-color:#F8F8F8; padding:0px; text-align:center">
 
[[{{{1|File:Flag of None.svg}}}|center|border|{{{width|180}}}x{{{height|180}}}px|alt={{{alt}}}|{{{2}}}]]
 
</td>
 
</tr>
 
<tr style="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: {{ #ifexpr: {{{cellwidth|0}}} < 30 | {{{height|180}}}+20 |{{{cellwidth}}} }}+7}}px; line-height:1.3em; padding:2px 6px 1px 6px; overflow-y:auto; margin:0px; border:none; border-width:0px;">
 
 
 
{{{2}}}&nbsp;</div></td></tr></table>
 

Latest revision as of 15:19, 28 February 2013

{{{2}}}