Template:Wide image: Difference between revisions
Jump to navigation
Jump to search
m (centering fix) |
(+caption) |
||
Line 1: | Line 1: | ||
<includeonly><div style="text-align:center;"><div style="overflow:auto;max-width:100%;">[[File:{{{filename}}}|x{{{height}}}]]</div></div></includeonly> | <includeonly><div style="text-align:center;"><div style="overflow:auto;max-width:100%;">[[File:{{{filename}}}|x{{{height}}}]]</div>{{#if:{{{caption|}}}|{{{caption}}}}}</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> |
Revision as of 11:49, 13 September 2011
{{Wide image | filename = Foo.jpg | height = 50px | caption = }}