Template:External image: Difference between revisions

Xenwolf (talk | contribs)
m Xenwolf moved page Template:External Image to Template:External image: so it will be resolved with normal English spelling
Xenwolf (talk | contribs)
m consistent spelling
Line 1: Line 1:
<div class='external-image-warning' style='background-color:#f8f9fa; border: 1px solid #eaecf0; padding-left: 0.5em; padding-right:0.5em; display:inline-block'>
<div class='external-image-warning' style='background-color:#f8f9fa; border: 1px solid #eaecf0; padding-left: 0.5em; padding-right:0.5em; display:inline-block'>
External image: {{{1|{{{URL|<noinclude>URL of the image</noinclude><includeonly>[[Template:External Image|URL missing! See help ...]]</includeonly>}}}}}}<br>
External image: {{{1|{{{URL|<noinclude>URL of the image</noinclude><includeonly>[[Template:External image|URL missing! See help ...]]</includeonly>}}}}}}<br>
: <small><b>WARNING</b>: MediaWiki doesn't have very good support for external images.</small><br>
: <small><b>WARNING</b>: MediaWiki doesn't have very good support for external images.</small><br>
: <small>Furthermore, since external images can break, we recommend that you replace the above with a local copy of the image.</small>
: <small>Furthermore, since external images can break, we recommend that you replace the above with a local copy of the image.</small>
Line 8: Line 8:


Use it like this:
Use it like this:
  <nowiki>External Image|</nowiki>''complete URL of image''<nowiki>}}</nowiki>
  <nowiki>External image|</nowiki>''complete URL of image''<nowiki>}}</nowiki>


or, in case the URL contains the equals sign:
or, in case the URL contains an equal sign (<code>=</code>):
  <nowiki>External Image|URL=</nowiki>''complete URL of image''<nowiki>}}</nowiki>
  <nowiki>External image|URL=</nowiki>''complete URL of image''<nowiki>}}</nowiki>


This causes a box on the wiki page the automatic addition in [[:Category:IMPORTDEBUG - Change External Images]] for later access. So after a local copy was uploaded, the image can be embedded easily.
This causes a box on the wiki page the automatic addition in [[:Category:IMPORTDEBUG - Change External Images]] for later access. So after a local copy was uploaded, the image can be embedded easily.