MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
src = '/images/' + encodeURIComponent(imageFile); | src = '/images/' + encodeURIComponent(imageFile); | ||
} | } | ||
return '<img src="' + src + '" alt="' + imageFile + '" style="max-width: | return '<img src="' + src + '" alt="' + imageFile + '" style="max-width:50%; display:block; margin-top:5px; margin-bottom:5px;">'; | ||
}); | }); | ||