Template:Gallery/aux: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
m (Wrap entire thing in border)
mNo edit summary
Line 1: Line 1:
<table style="width:{{#expr:{{{width|192}}}+20}}px; float:left;margin:3px; background-color:#f8f8f8; border:1px solid #CCCCCC;"><tr><td style="height:{{#expr:{{{height|108}}}+20}}px; padding:0px;">[[{{{1}}}|center|border|{{{width|192}}}x{{{height|108}}}px|alt={{{alt}}}|{{{2}}}]]</td></tr><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:auto; margin:0px;">{{{2}}}&nbsp;</div></td></tr></table>
<table style="width:{{#expr:{{{width|192}}}+20}}px; float:left;margin:3px; background-color:#f8f8f8; border:1px solid #CCCCCC;"><tr><td style="height:{{#expr:{{{height|108}}}+20}}px; padding:0px;" {{#if:{{{spoiler|}}}|class="spoiler-text"}}>[[{{{1}}}|center|border|{{{width|192}}}x{{{height|108}}}px|alt={{{alt}}}|{{{2}}}]]</td></tr><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:auto; margin:0px;">{{{2}}}&nbsp;</div></td></tr></table>

Revision as of 00:27, 1 June 2011

[[{{{1}}}|center|border|192x108px|alt={{{alt}}}|{{{2}}}]]
{{{2}}}