Template:Wayback

From K6ka's Wiki
Jump to navigation Jump to search

Archive copy at the Wayback Machine

Template documentation (View · Edit · History · Purge)

Description[edit]

This template can be used in footnotes as an easy link to a page's entry at the Wayback Machine. This is especially important for fixing a dead link (a link whose target no longer exists). The Wayback Machine can "go back in time" and display a page at what it looked like during a particular time period. For example, at this URL we can see what Google looked like on January 17, 1999. Nostalgic, right?

Usage[edit]

This template has the following parameters:
{{Wayback|url=|title=|date=}}
url
This is for the URL of the page that is being referenced by the Wayback Machine - not the actual URL of the archive on the Wayback Machine. This template will automatically generate the full archive link using the URL you supply in this parameter.
date (optional but recommended)
The Internet Archive timestamp (YYYYMMDDhhmmss) for the date of the archived page that is to be displayed. If provided, the template will format the date and display it: Month-name, day-number, year. If omitted, the history of the referenced page will be listed instead. You must use the full 4 digits for the year, and 2 digits for month, day, hour minute and second. Use leading zeros if necessary, and use a 24 hour clock for the time.
To find the timestamp, go to the URL of the archived page. For example:
https://web.archive.org/web/20010727112808/http://www.wikipedia.org/
The numbers that are highlighted in red is the Wayback Machine archive timestamp. Copy that and paste it into the date parameter.
title (optional but recommended)
The text label for the external link. If this is omitted, a generic 'Archive copy' label will be used.

Examples[edit]

Link to page history, using a generic label

{{Wayback |url=http://www.wikipedia.org/}}

Produces: Archive copy at the Wayback Machine

Link to page history, using a title rather than the generic label

{{Wayback |url=http://www.wikipedia.org/ |title=Wikipedia}}

Produces: Wikipedia at the Wayback Machine

Link to page history using a title, and displaying a particular archived date (July 27, 2001 at 11:28:08)

{{Wayback |url=http://www.wikipedia.org/ |title=Wikipedia |date=20010727112808 }}

Produces: Wikipedia at the Wayback Machine (archived July 27, 2001)

Note[edit]

This template will always use HTTPS links to the Wayback Machine.

Credits[edit]

This template's code originated from the original version on Wikipedia.

Visit Template:Wayback/doc to edit this text! (How does this work?) (Refresh this text - why?)