Difference between revisions of "Template:BrokenLink"
From CPCWiki - THE Amstrad CPC encyclopedia!
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 22: | Line 25: | ||
| | | | ||
{{BrokenLink|http://www.grimware.org/lib/exe/fetch.php/documentations/devices/z80/z80.memptr.eng.txt|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}} | ||
+ | |} | ||
+ | |||
+ | {| | ||
+ | | | ||
+ | <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}} | ||
|} | |} | ||
Revision as of 05:57, 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) |