Template:Archive/doc
This is a documentation subpage for Template:Archive. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 151,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage
This template is used on archived talk and non-talk pages.
The template has multiple optional parameters:
|1=
(first unnamed parameter) – the name of the current talk page if it is not automatically detected properly by the template or is from a different base name. Note that|currentpage=
is an alternate name for this parameter.|period=
– adds the editorial time period the archive represents|diff=
– adds a link to the PermaLink of the original page at the archival time|histOffset=
– adds a link to the history of the page, offset with the given timestamp
Examples
With no parameters:
This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Example with (almost) all parameters: Talk:Generation X was manually archived to Talk:Generation X/Archive 1 before itself being moved to Talk:Generation X/Archive 2 as an archive, so the content of /Archive 1 was technically copied from /Archive 2. Placing {{archive|diff=29421877|histOffset=20051127232500|Talk:Generation X/Archive 2}}
at /Archive 1 gives:
This page is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
See also
- {{Automatic archive navigator}} for a version that includes a navigation bar to earlier/later archives.
- {{Archives}} for including links to the talk page's archive(s) on the talk page itself.
- {{Webarchive}} for linking to web archiving services such as the Wayback Machine, WebCite and all other web archiving services.
- {{Oldid}}