Template:Wayback/doc: Difference between revisions
(Create) |
(Update Wikipedia link) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | |||
{{tl|{{PAGENAME}}}} is intended to simplify the linking process to files at the | {{tl|{{PAGENAME}}}} is intended to simplify the linking process to files at the {{Wpd|Internet Archive}} "Wayback Machine". | ||
{{see also|Wikipedia:Using the Wayback Machine|Template:Dead link}} | {{see also|Wikipedia:Using the Wayback Machine|Template:Dead link}} | ||
:''Additionally, {{tl|Cite web}} provides an [[Template:Cite web#Optional_parameters|archiveurl]]'' | |||
== Parameters == | |||
<nowiki>{{Wayback|url | <nowiki>{{Wayback|url=}}</nowiki> | ||
<nowiki>{{Wayback|url=|title=|date=}}</nowiki> | |||
== | ;url | ||
:The URL of the link that is being referenced in the Internet Archives. | |||
;title <span style="font-weight: normal;">(optional)</span> | |||
:The text label for the external link. If this is omitted, a generic 'Archive copy' label will be used. | |||
;date <span style="font-weight: normal;">(optional, but recommend)</span> | |||
:The Internet Archive timestamp (<code>YYYYMMDDhhmmss</code>) for the date of the archived page that is to be displayed. 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. | |||
== Examples == | |||
;Link to page history, using a | ;Link to page history, using a generic label | ||
:<nowiki>{{Wayback |url=http://example.org/ }}</nowiki><br>→ <span style="background: none repeat scroll 0% 0% white;">{{Wayback |url=http://example.org/ }}</span> | |||
;Link to page history using a title | ;Link to page history, using a title rather than the generic label | ||
:<nowiki>{{Wayback |url=http://example.org/ |title=Example Title }} </nowiki><br>→ <span style="background: none repeat scroll 0% 0% white;">{{Wayback |url=http://example.org/ |title=Example Title }}</span> | |||
== | ;Link to page history using a title, and displaying a particular archived date (2005-01-07, at 12 | ||
:30 pm and 45 seconds.) | |||
:<nowiki>{{Wayback |url=http://example.org/ |title=Example Title |date=20050107123045 }} </nowiki><br>→ <span style="background: none repeat scroll 0% 0% white;">{{Wayback |url=http://example.org/ |title=Example Title |date=20050107123045 }}</span> | |||
== External links == | == See also == | ||
* [http://web.archive.org/collections/web/advanced.html Advanced URL locator hints and tips] - Internet Archive | |||
*{{tl|Internet Archive film}} for two methods of linking to parts of the Archive.org's collection of films and documents | |||
== External links == | |||
*[http://web.archive.org/collections/web/advanced.html Advanced URL locator hints and tips] - Internet Archive | |||
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:External link templates|{{PAGENAME}}]] | [[Category:External link templates|{{PAGENAME}}]] | ||
[[Category:Internet Archive templates|{{PAGENAME}}]] | [[Category:Internet Archive templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
Latest revision as of 13:07, 26 February 2010
![]() |
This is a documentation subpage for Template:Wayback (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
{{Wayback/doc}} is intended to simplify the linking process to files at the Internet Archive "Wayback Machine".
- Additionally, {{Cite web}} provides an archiveurl
Parameters
{{Wayback|url=}}
{{Wayback|url=|title=|date=}}
- url
- The URL of the link that is being referenced in the Internet Archives.
- title (optional)
- The text label for the external link. If this is omitted, a generic 'Archive copy' label will be used.
- date (optional, but recommend)
- The Internet Archive timestamp (
YYYYMMDDhhmmss
) for the date of the archived page that is to be displayed. 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.
Examples
- Link to page history, using a generic label
- {{Wayback |url=http://example.org/ }}
→ Archive copy at the Internet Archive
- Link to page history, using a title rather than the generic label
- {{Wayback |url=http://example.org/ |title=Example Title }}
→ Example Title at the Internet Archive
- 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 Internet Archive
See also
- {{Internet Archive film}} for two methods of linking to parts of the Archive.org's collection of films and documents
External links
- Advanced URL locator hints and tips - Internet Archive