Difference between revisions of "Template:BrokenLink"

From CPCWiki - THE Amstrad CPC encyclopedia!
Jump to: navigation, search
(New Template for alternative link to web.archive.org when a website is not available)
 
Line 25: Line 25:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
[{{{1}}} {{{text|{{{1}}}}}}]
+
[{{{1}}} {{{text|{{{1}}}}}}] / [https://web.archive.org/web/{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}/{{{1}}} Web archive {{{2}}}-{{{3}}}-{{{4}}} {{{5}}}:{{{6}}}:{{{7}}}]
- Resource no more available, archived here: [https://web.archive.org/web/{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}/{{{1}}} Web archive {{{2}}}-{{{3}}}-{{{4}}} {{{5}}}:{{{6}}}:{{{7}}}]
+
 
</includeonly>
 
</includeonly>

Revision as of 06:54, 30 December 2018

Description

This template is used to present an alternative link to an archive on web.archive.org of a web site that became unavailable.

Syntax

{{BrokenLink|url|year|month|day|hour|minute|second}}

Parameters are the following:

url
URL of the website
year, month, day
Snapshot date from web.archive.org of the website. Each value must be padded with zeroes to have 4-digit year, and 2-digits month and day.
hour, minute, second
Snapshot time from web.archive.org of the website. Each value must be padded with zeroes to have 2-digits hour, minute and second.

Example

{{BrokenLink|http://www.grimware.org/lib/exe/fetch.php/documentations/devices/z80/z80.memptr.eng.txt|
 2017|01|22|21|32|33}}

http://www.grimware.org/lib/exe/fetch.php/documentations/devices/z80/z80.memptr.eng.txt (Web archive 2017-01-22 21:32:33)