Difference between revisions of "Template:BrokenLink"
From CPCWiki - THE Amstrad CPC encyclopedia!
(5 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
− | <nowiki>{{</nowiki>BrokenLink|''url''|''year''|''month''|''day''|''hour''|''minute''|''second''}} | + | <nowiki>{{</nowiki>BrokenLink|''url''|''year''|''month''|''day''|''hour''|''minute''|''second''|text=''text''}} |
− | + | Mandatory parameters are the following: | |
;''url'': URL of the website | ;''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. | ;''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. | ;''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. | ||
+ | |||
+ | Optional parameter is: | ||
+ | ;''text'':Text for the link. By default, same as URL. | ||
== Example == | == Example == | ||
Line 24: | Line 27: | ||
|} | |} | ||
− | </noinclude><includeonly> | + | {| |
− | [{{{1}}} {{{text|{{{1}}}}}}] | + | | |
− | </includeonly> | + | <nowiki>{{BrokenLink|http://www.grimware.org/lib/exe/fetch.php/documentations/devices/z80/z80.memptr.eng.txt| |
+ | 2017|01|22|21|32|33| | ||
+ | text=Short information about the internal "MEMPTR" 16bit register of the Z80 and its influence on the F-Register}}</nowiki> | ||
+ | |- | ||
+ | | | ||
+ | {{BrokenLink|http://www.grimware.org/lib/exe/fetch.php/documentations/devices/z80/z80.memptr.eng.txt|2017|01|22|21|32|33|text=Short information about the internal "MEMPTR" 16bit register of the Z80 and its influence on the F-Register}} | ||
+ | |} | ||
+ | |||
+ | [[Category:External link templates]] | ||
+ | </noinclude><includeonly>[{{{1}}} {{{text|{{{1}}}}}}] <small> ([https://web.archive.org/web/{{{2}}}{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}/{{{1}}} Web archive {{{2}}}-{{{3}}}-{{{4}}} {{{5}}}:{{{6}}}:{{{7}}}])</small></includeonly> |
Latest revision as of 06:06, 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|text=text}}
Mandatory 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.
Optional parameter is:
- text
- Text for the link. By default, same as URL.
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) |
{{BrokenLink|http://www.grimware.org/lib/exe/fetch.php/documentations/devices/z80/z80.memptr.eng.txt| 2017|01|22|21|32|33| text=Short information about the internal "MEMPTR" 16bit register of the Z80 and its influence on the F-Register}} |
Short information about the internal "MEMPTR" 16bit register of the Z80 and its influence on the F-Register (Web archive 2017-01-22 21:32:33) |