Difference between revisions of "Template:ExternalImage"
Jump to navigation
Jump to search
m (transfered by WikiBackup wikiTask at 2019-10-10T19:36:25Z) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 17: | Line 17: | ||
</pre> | </pre> | ||
=== usage === | === usage === | ||
− | <pre>{{ExternalImage|size=250px|title=Smiling Girl|link=http://philia-care.com/wp-content/uploads/2015/04/smiling_girl_small.jpg | + | <pre>{{ExternalImage|size=250px|title=Smiling Girl|link=http://philia-care.com/wp-content/uploads/2015/04/smiling_girl_small.jpg}}</pre> |
− | {{ExternalImage|size=250px|title=Smiling Girl|link=http://philia-care.com/wp-content/uploads/2015/04/smiling_girl_small.jpg | + | {{ExternalImage|size=250px|title=Smiling Girl|link=http://philia-care.com/wp-content/uploads/2015/04/smiling_girl_small.jpg}} |
[[Category:Template]] | [[Category:Template]] | ||
− | </noinclude><includeonly><div class='externalimage-holder' title='{{{title|}}}' style='width:{{{size|250px}}}'>{{{link|} | + | </noinclude><includeonly><div class='externalimage-holder' title='{{{title|}}}' style='width:{{{size|250px}}}'>{{{link|}}}</div></includeonly> |
Latest revision as of 20:36, 10 October 2019
This is the Template ExternalImage It works along the lines of:
You might want to add the following lines to MediaWiki:Common.css
.externalimage-holder { position: relative; } .externalimage-holder img { width: 100%; height: auto; }
usage
{{ExternalImage|size=250px|title=Smiling Girl|link=http://philia-care.com/wp-content/uploads/2015/04/smiling_girl_small.jpg}}