Template:External link icon
Jump to navigation
Jump to search
Inserts a MediaWiki external link icon.
- {{external link icon}} →
- {{external link icon|lock}} → (or "https")
- {{external link icon|mail}} → (or "mailto" or "email")
- {{external link icon|news}} → (or "newsgroups")
- {{external link icon|file}} → (or "ftp")
- {{external link icon|irc}} → (or "discussion")
- {{external link icon|audio}} → (or a audio file extension, e.g. "mp3")
- {{external link icon|video}} → (or video file extension, e.g. "avi")
- {{external link icon|pdf}} → (or "document")
Note: These icons are clickable but only for this page, otherwise |link= is added.
Alternate way
[edit]You can also make the external link icons appear by using the following CSS classes.
Note: Only the ones listed will work with the HTML allowed in wikitext. & aren't possible this way. Also note that certain skins do not support this!
Examples
[edit]After links:
[edit]* <span class="link-https">[[Main Page]]</span>
* <span class="link-mailto">[[Main Page]]</span>
* <span class="link-ftp">[[Main Page]]</span>
* <span class="link-irc">[[Main Page]]</span>
* <span class="link-audio">[[Main Page]]</span>
* <span class="link-video">[[Main Page]]</span>
* <span class="link-document">[[Main Page]]</span>
gives:
And for the right color:
[edit]* <span class="link-document">[[Main Page|<span style="color:#36b">Main Page</span>]]</span>
gives:
To create an icon by itself:
[edit]* <span class="link-https"><span style="display:none">_</span></span>
gives: