Template:Wayback
From Mises Wiki, the global repository of classical-liberal thought
Archive copy at the Wayback Machine
{{Wayback}} is intended to simplify the linking process to files at the Internet Archive "Wayback Machine".
- Additionally, {{Cite web}} provides an archiveurl
Contents
Parameters
{{Wayback|url=}}
{{Wayback|url=|title=|date=}}
- url
- The URL of the link that is being referenced in the Internet Archives; not the link to the archive.org page, the template will automatically generate the full archive link using the URL of the referenced page.
- title (optional)
- The text label for the external link. If this is omitted, a generic 'Archive copy' label will be used.
- 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. - df (optional)
- When a date is specified, set this to "yes" to output dates day-first (e.g. 31 January 2025 rather than January 31, 2025).
Examples
- Link to page history, using a generic label
- {{Wayback |url=http://example.org/ }}
→ Archive copy at the Wayback Machine
- Link to page history, using a title rather than the generic label
- {{Wayback |url=http://example.org/ |title=Example Title }}
→ Example Title at the Wayback Machine
- Link to page history using a title, and displaying a particular archived date (2005-01-07, at 12:30 pm and 45 seconds.)
- {{Wayback |url=http://example.org/ |title=Example Title |date=20050107123045 }}
→ Example Title at the Wayback Machine (archived January 7, 2005)
- As above, but with DMY date ordering
- {{Wayback |url=http://example.org/ |title=Example Title |date=20050107123045 |df=yes }}
→ Example Title at the Wayback Machine (archived 7 January 2005)
See also
- {{Query web archive}}
- {{Internet Archive film}} for two methods of linking to parts of the Archive.org's collection of films and documents
- {{WebCite}}
External links
- Advanced URL locator hints and tips [dead link] - Internet Archive
The above documentation is transcluded from Template:Wayback/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |