Plantilla:Archived link
Ir a la navegación
Ir a la búsqueda
Documentation The documentation below is transcluded from Plantilla:Archived link/doc. (edit | history)
[purge]
Standardizes the display of a link to an archived version of a website.
Usage
{{ archived link | <original URL> | archive-url = <URL to archived version> | <custom display text> | archive-date = <creation date of the archive> | short = y/yes }}
- First unnamed parameter
Original URL which was archived.
- archive-url
Link to the archive.
- Second unnamed parameter
Display text for the link, defaults to $archive-url
.
- archive-date
Timestamp of the creation of the archived version, in Coordinated Universal Time (UTC). Must be a valid string that is accepted by {{#time:}}
, i.e. PHP's strtotime() function.
- short
Suppresses the display of the explanatory note and instead adds a hover text to the link.
Notes
- The first unnamed parameter can also be a valid Wayback Machine link, in which case
$archive-url
and$archive-date
are automatically determined and can be omitted.
Examples
Code | Result |
---|---|
{{archived link|http://www.terrariaonline.com/threads/terraria-wiki-is-now-live.4640|archive-url=https://archive.ph/ZSEDs|Terraria Wiki is now live!}}
|
Terraria Wiki is now live! (archived from the original) |
{{archived link|http://www.terrariaonline.com/threads/terraria-wiki-is-now-live.4640|archive-url=https://archive.ph/ZSEDs|Terraria Wiki is now live!|short=y}}
|
Terraria Wiki is now live! |
{{archived link|http://www.terrariaonline.com/threads/terraria-wiki-is-now-live.4640|archive-url=https://archive.ph/ZSEDs|Terraria Wiki is now live!|archive-date=2014-01-04 15:56:06}}
|
Terraria Wiki is now live! (archived from the original on 04 ene 2014, 15:56:06 UTC) |
{{archived link|http://www.terrariaonline.com/threads/terraria-wiki-is-now-live.4640|archive-url=https://archive.ph/ZSEDs|Terraria Wiki is now live!|archive-date=2014-01-04 15:56:06|short=y}}
|
Terraria Wiki is now live! |
{{archived link|https://web.archive.org/web/20131226161352/http://www.terrariaonline.com/threads/terraria-release-day-has-come-and-gone.4072/|Terraria release day has come and gone.}}
|
Terraria release day has come and gone. (archived from the original on 26 dic 2013, 16:13:52 UTC) |