48,406
edits
Changes
→Image links
== Image links ==
To make an image link to a page from an image instead of an image leading to the larger version of the same image which is clicked file shown ona page, add the link parameter to the image markup, eg.:
[[Image:Big_fish.jpg|100px|link=Big_fish]]
<pre>[[Image:Big_fish.jpg|100px|link=Big_fish]]</pre>
== Link to an image or other file ==
To link directly to an image or some other file that has previously been uploaded, rather than the image linking to another page as described above, use the <b>media:</b> prefix. For example: ...
<nowiki>[[media:Big_fish.jpg]]</nowiki>
... will appear as [[media:Big_fish.jpg]]
Or, to use some other word(s) than the filename, separate the file part and the linked word(s) with a vertical bar (<span style="color:#ff0000;"> | </span>), as follows:
[[media:Big_fish.jpg<span style="color:#ff0000; font-weight:bold;">|</span>how to carry large fish]]
The link will then appear as [[media:Big_fish.jpg|How to carry large fish]]
== Displaying an email address ==