Anonymous user
Template:Image frame: Difference between revisions
Including a second style="width:" for the "thumbcaption" div, as for long text on firefox it makes it wider than you want
(Created template) |
(Including a second style="width:" for the "thumbcaption" div, as for long text on firefox it makes it wider than you want) |
||
Line 2:
<div {{#if: {{{width|}}} | style="width:{{{width}}}px;" |}}>
{{{content}}}
<div class="thumbcaption" {{#if: {{{width|}}} | style="width:{{{width}}}px;" |}}>
{{#if: {{{link|}}} | <div class="magnify" style="float:right"><a href="/wiki/{{{link}}}" class="internal" title="Enlarge"><img src="/skins-1.5/common/images/magnify-clip.png" width="15" height="11" alt="Enlarge" /></a></div> |}}
{{{caption}}}
|