Template:External Image: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Created page with "<includeonly><div class="externalimage-holder" style="text-align: center; font-size:large">{{#if:{{{Title|}}}|'''{{{Title}}}'''<br />}}[{{{1}}} {{{1}}}]</includeonly> <noinclude> Template for auto hyperlinking and resizing images using MediaWiki:Common.css to fit to users' screens. Option to add a title to the image, use <code>Title=</code> {{External Image|Title=128x128px Image |https://i.imgur.com/YSJT2ry.png}} {{External Image|Title=4096x2048px Image |https://i.im...")
 
mNo edit summary
 
Line 1: Line 1:
<includeonly><div class="externalimage-holder" style="text-align: center; font-size:large">{{#if:{{{Title|}}}|'''{{{Title}}}'''<br />}}[{{{1}}} {{{1}}}]</includeonly>
<includeonly><div class="externalimage-holder" style="text-align: center; font-size:large">{{#if:{{{Title|}}}|'''{{{Title}}}'''<br />}}[{{{1}}} {{{1}}}]</includeonly>
<noinclude>
<noinclude>
Template for auto hyperlinking and resizing images using [[MediaWiki:Common.css]] to fit to users' screens. Option to add a title to the image, use <code>Title=</code>
Template for auto hyperlinking and resizing images using [[MediaWiki:Common.css]] to fit to users' screens.  
==Usage==
Just add the URL of an image after the |, like so: <code><nowiki>{{External Image|https://image.url/image.jpg}}</nowiki></code>
 
Adding a title is optional. To add a tile, insert <code>Title=This is a title|</code> before the URL: <code><nowiki>{{External Image|Title=Image title|https://image.url/image.jpg}}</nowiki></code>
 
==Examples==
{{External Image|Title=128x128px Image
{{External Image|Title=128x128px Image
|https://i.imgur.com/YSJT2ry.png}}
|https://i.imgur.com/YSJT2ry.png}}

Navigation menu