Template:External image: Difference between revisions

Xenwolf (talk | contribs)
m consistent spelling
ArrowHead294 (talk | contribs)
mNo edit summary
 
(8 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 an equal sign (<code>=</code>):
<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>