Template:External image: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
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.

Revision as of 12:52, 12 October 2018

External image: URL of the image

WARNING: MediaWiki doesn't have very good support for external images.
Furthermore, since external images can break, we recommend that you replace the above with a local copy of the image.

This template controls the appearance of references to external images which are currently not well supported in MediaWiki. The feature is therefore deactivated.

Use it like this:

External image|complete URL of image}}

or, in case the URL contains an equal sign (=):

External image|URL=complete URL of image}}

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.