Template:Archive/doc

This template allows you to link to a Wayback Machine or archive.today capture, and also get the original URL and human-readable timestamp. It also automatically prioritizes the archive if the original is dead, and the original if it is still alive (this may not work for some time after the first edit).

Examples

Wayback Machine

Wikitext Output
{{Archive | https://web.archive.org/web/20240610002929/https://example.com | Example}}

Example, archived from the original on 10 June 2024

{{Archive | https://web.archive.org/web/202406100029/https://example.com | Example}}

Example, archived from the original on 10 June 2024

{{Archive | https://web.archive.org/web/20240501/https://example.com | Example}}

Example, archived from the original on 1 May 2024

{{Archive | https://web.archive.org/web/2002/https://example.com | Example}}

Example, archived from the original in 2002

{{Archive | https://web.archive.org/web/20230731145239im_/https://i.redd.it/quiaie04cbfb1.png | Explanation of TCP}}

Explanation of TCP, archived on 31 July 2023

A quick primer on TCP is available {{Archive | https://web.archive.org/web/20230731145239im_/https://i.redd.it/quiaie04cbfb1.png | here | inline=true}}.

A quick primer on TCP is available here (archived on 31 July 2023).

{{Archive | https://web.archive.org/web/20240610002929/https://example.com | Example | mini=1}}

Example[src]

{{Archive | https://web.archive.org/web/20240416200222oe_/https://wayback-fakeurl.archive.org/yt/93qXvwDpRDY | Rain - How to Train Your Rabbit? }}

Rain - How to Train Your Rabbit?, archived on 16 April 2024

archive.today

Wikitext Output
{{Archive | https://archive.today/2029.12.31-235959/http://example.com | Example}}

Example, archived from the original on 31 December 2029

{{Archive | https://archive.today/20190102/https://example.com | Example}}

Example, archived from the original on 2 January 2019

An easy to use test site is {{Archive | https://archive.today/2029.12.31-235959/http://example.com | example.com | inline=1}}.

An easy to use test site is example.com (archived from the original on 31 December 2029).

{{Archive | https://archive.today/2029.12.31-235959/http://example.com | Example | mini=1}}

Example[src]

Template data

This template allows you to link to a Wayback Machine or archive.today capture, and also get the original URL and human-readable timestamp

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Archive URL1

no description

Example
https://web.archive.org/web/20240610002929/https://example.com
URLrequired
Title/Link text2

no description

Example
Example
Contentrequired
Inlineinline

Whether or not this template is used inline in a paragraph

Default
false
Booleanoptional
Minimini

Whether or not to display the source URL as a superscript "[src]" instead of the long-form "archived from the original"

Default
false
Booleanoptional