Difference between revisions of "Template:Link"

From IFWiki
Jump to: navigation, search
(Created page with "[{{{url}}} {{{1}}}] <noinclude> <hr> The "link" template provides a way to store both the original URL and the URL of an archived snapshot of the page. The snapshot can be use...")
 
Line 2: Line 2:
 
<noinclude>
 
<noinclude>
 
<hr>
 
<hr>
The "link" template provides a way to store both the original URL and the URL of an archived snapshot of the page. The snapshot can be used if/when the original link is found dead. Taking the extra step of storing a page at the Internet Archive when the link is still live--you can do this with the click of a button, using [https://en.wikipedia.org/wiki/Help:Using_the_Wayback_Machine#JavaScript_bookmarklet a bookmarklet]--will ensure there is an archived snapshot available later, and will give you a URL that you can paste it into the template as the "archive" parameter.
+
The "link" template provides a way to store both the original URL and the URL of an archived snapshot of the page. The snapshot can be used if/when the original link is found dead. If there is not already an archived snapshot, taking the extra step of requesting one when the link is still live will ensure there is an archived snapshot available later, and will give you a URL that you can paste it into the template as the "archive" parameter. Either searching for an open page on the Internet Archive or taking a snapshot of a page can be done with a single click if you add [https://en.wikipedia.org/wiki/Help:Using_the_Wayback_Machine#JavaScript_bookmarklet bookmarklets] to your browser toolbar.
  
 
When the original link is found dead, the word "dead" can be added in front of "dead link" so that the "dead link" template can be used instead.
 
When the original link is found dead, the word "dead" can be added in front of "dead link" so that the "dead link" template can be used instead.

Revision as of 16:10, 8 June 2016

[{{{url}}} {{{1}}}]


The "link" template provides a way to store both the original URL and the URL of an archived snapshot of the page. The snapshot can be used if/when the original link is found dead. If there is not already an archived snapshot, taking the extra step of requesting one when the link is still live will ensure there is an archived snapshot available later, and will give you a URL that you can paste it into the template as the "archive" parameter. Either searching for an open page on the Internet Archive or taking a snapshot of a page can be done with a single click if you add bookmarklets to your browser toolbar.

When the original link is found dead, the word "dead" can be added in front of "dead link" so that the "dead link" template can be used instead.

Arguments for this template:

  • url (required) the original link.
  • archive (recommended): the full url of an archived snapshot of the link.
  • link text (unnamed parameter): the text that appears on the wiki page (for instance, "Review")

For example, when the "link" template is used, the following

{{link|url=http://emshort.wordpress.com/2016/06/05/the-mary-jane-of-tomorrow/|archive=https://web.archive.org/web/20160608153033/http://emshort.wordpress.com/2016/06/05/the-mary-jane-of-tomorrow/|The Mary Jane of Tomorrow}}

shows up as

The Mary Jane of Tomorrow

and leads to the original link.