Template:Wide image: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
m (testing)
(+margin-top of 5px)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="overflow:scroll; width:500px;">[[File:{{{filename}}}|x{{{height}}}]]</div></includeonly>
<includeonly><div style="text-align:center; border:1px solid #ccd; margin-top: 5px; padding:5px; -webkit-border-radius: 6px; -moz-border-radius: 6px; border-radius: 6px;"><div style="overflow:auto;max-width:100%;">[[File:{{{filename}}}|x{{{height}}}]]</div>{{#if:{{{caption|}}}|<div style="padding:3px 0">{{{caption}}}</div>}}</div></includeonly>
<noinclude>
<noinclude>
<pre><nowiki>{{Wide image
<pre><nowiki>{{Wide image
| filename = Foo.jpg
| filename = Foo.jpg
| height = 50px
| height = 50px
| caption =
}}</nowiki></pre>
}}</nowiki></pre>
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 22:05, 22 February 2012


{{Wide image
| filename = Foo.jpg
| height = 50px
| caption = 
}}