Template:External image: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Xenwolf (talk | contribs)
Created page with "<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..."
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
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 toccolours" style="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>
: <span style="font-size: 75%;"><b>WARNING</b>: MediaWiki doesn't have very good support for external images.</span><br />
: <small>Furthermore, since external images can break, we recommend that you replace the above with a local copy of the image.</small>
: <span style="font-size: 75%;">Furthermore, since external images can break, we recommend that you replace the above with a local copy of the image.</span>
</div><noinclude>
</div>{{#ifeq: {{lc:{{ARTICLEROOTPAGENAME}}}}|template:external image||[[Category:IMPORTDEBUG - Change External Images]]}}<noinclude>
{{documentation}}


This template controls the appearance of references to external images which are currently not well supported in MediaWiki. The feature is therefore deactivated.
[[Category:Inline note templates]]
 
</noinclude>
Use it like this:
<nowiki>External Image|</nowiki>''complete URL of image''<nowiki>}}</nowiki>
 
or, in case the URL contains the equals sign:
<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.
 
[[Category:Templates]]
</noinclude><includeonly>[[Category:IMPORTDEBUG - Change External Images]]</includeonly>

Latest revision as of 13:59, 4 March 2025

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.
Template documentation[view] [edit] [history] [purge]

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

Usage

Use it like this:

{{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.