Template:Wide image: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
m (centering image when less wide than container)
m (centering test)
Line 1: Line 1:
<includeonly><div style="overflow:scroll;max-width:100%;margin:0 auto;">[[File:{{{filename}}}|x{{{height}}}]]</div></includeonly>
<includeonly><div style="margin:0 auto;"><div style="overflow:scroll;max-width:100%;">[[File:{{{filename}}}|x{{{height}}}]]</div></div></includeonly>
<noinclude>
<noinclude>
<pre><nowiki>{{Wide image
<pre><nowiki>{{Wide image

Revision as of 11:40, 13 September 2011


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