Template:Wayback/olddoc

undefined is intended to simplify the linking process to files at the Internet Archive "Wayback Machine".

Usage
The template is typically used like this:


 * url is the original URL, not the Internet Archive URL.
 * date is the 14-digit Internet Archive snapshot ID obtained from the Wayback website.
 * n will render the date in MDY format. This is the default.
 * y will render the date in DMY format.
 * iso will render in YYYY-MM-DD

For more options, see "Parameters" below.

When to use
The template was originally designed for the  section, on talk pages and any place except inside a  pair. Over time however the template has also been used within ref pairs if the original citation is not a CS1 citation templates (such as Cite web and Cite news). Ideally in such cases, rather than adding the wayback template, the citation should be changed to a CS1 template and the archive link added to archive-url and archive-date. Bots are not always able to do this conversion and they will sometimes tack-on the wayback template to the end of a non-CS1 citation.

Parameters

 * url: The original source URL, not the full link to archive.org
 * title (optional) : The text displayed for the external link. If this is omitted, a generic 'Archive copy' label will be used.
 * date (optional, but recommended) : The Internet Archive timestamp ID . This can be obtained by looking at full the archive.org URL. If the date is omitted or *, the archive history page will be listed instead. Use the full 4 digits for the year, 2 digits for month, day, hour minute and second. Use leading zeros if necessary, and use a 24-hour clock for the time.
 * df (optional) : If yes or y then dates will be displayed in DMY format (e.g. rather than )
 * If iso then dates will be displayed in YYYY-MM-DD format


 * nolink (optional) : If this argument is present, containing any value or empty, the wikilink for Wayback Machine will not be used (eg. Wayback Machine instead of Wayback Machine).

Examples

 * Link to page history, using a generic label:  →


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


 * Link to page history using a title, and displaying a particular archived date (2005-01-07, at 12 : 30 pm and 45 seconds):  →


 * As above, but with DMY date ordering:  →


 * As above, but without title:  →

Errors
The template tracks articles with errors in Category:Pages with wayback template errors. Please see that page for error descriptions.

Redirects

 * Template:Iawm
 * Template:Waybackdate
 * Template:IAWM
 * Template:Internetarchive
 * Template:WayBack
 * Template:Archive url
 * Template:Url archive
 * Template:Web archive
 * Template:Webarchiv
 * Template:Archive.org