Template:External Image: Difference between revisions

From Modding Haven
Jump to navigation Jump to search
(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}}

Latest revision as of 17:30, 24 December 2024


Template for auto hyperlinking and resizing images using MediaWiki:Common.css to fit to users' screens.

Usage[edit source]

Just add the URL of an image after the |, like so: {{External Image|https://image.url/image.jpg}}

Adding a title is optional. To add a tile, insert Title=This is a title| before the URL: {{External Image|Title=Image title|https://image.url/image.jpg}}

Examples[edit source]

128x128px Image
YSJT2ry.png
4096x2048px Image
nGhvbu4.png