Template:Main page image: Difference between revisions
Created page with "<div class="thumbinner mp-thumb" style="background: transparent; color: inherit; border: none; padding: 0; max-width: {{#expr:{{str number/trim|{{if empty|{{{width|}}}|120}}}}{{#ifeq:{{{border|}}}|yes|+2}}}}px;"> File:<!--if {{{image}}} begins with File:/Image: remove it-->{{PAGENAME:{{{image|{{{1<noinclude>|Example-serious.jpg</noinclude>}}}}}}}}{{#ifeq:{{{border|}}}|yes|{{!}}border|}}|<!-- if {{{width}}} ends with "px" then remove it -->{{Str rep|{{#invoke:string|rep..." Â |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="thumbinner mp-thumb" style="background: transparent; color: inherit; border: none; padding: 0; max-width: | <div class="thumbinner mp-thumb" style="background: transparent; color: inherit; border: none; padding: 0; max-width: 300px;"> | ||
 | |||
<div class="thumbimage"> | |||
<div class="thumbcaption" style=" | {{{image|}}} | ||
</div> | |||
</ | Â | ||
<div class="thumbcaption" style="text-align: {{{caption align|left}}};"> | |||
{{{caption|Caption goes here.}}} | |||
</div> | |||
 | |||
</div> | |||