Template:Archivelink: Difference between revisions
From Battlestar Wiki Media
(initial creation) |
m (+ date field) |
||
Line 1: | Line 1: | ||
<includeonly>[{{{url}}} {{{title}}}] ([[archive:{{{url}}}|web.archive.org backup link]])</includeonly> | <includeonly>[{{{url}}} {{{title}}}] ([[archive:{{{date|*/}}}{{{url}}}|web.archive.org backup link]])</includeonly> | ||
<noinclude> | <noinclude> | ||
= Documentation = | = Documentation = | ||
Line 10: | Line 10: | ||
| url = | | url = | ||
| title = | | title = | ||
| date = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 19: | Line 20: | ||
* '''url''': Full URL of the link to the web page. | * '''url''': Full URL of the link to the web page. | ||
* '''title''': The web page's title. | * '''title''': The web page's title. | ||
* '''date''': Date code numeric string from web.archive.org's URL, typically found between "/web/" and the 2nd iteration of "/http://". | |||
*: e.g. <nowiki>http://web.archive.org/web/</nowiki>'''20081121225556'''<nowiki>/http://toyfair08.asmzine.com/gallery/amok-time/</nowiki> | |||
</noinclude> | </noinclude> |
Revision as of 21:50, 2 September 2019
Documentation
This template facilitates the inclusion of linking external websites and tying it into the Internet Wayback Machine's backup system within articles.
Usage
{{archivelink | url = | title = | date = }}
Fields
Both fields are required.
- url: Full URL of the link to the web page.
- title: The web page's title.
- date: Date code numeric string from web.archive.org's URL, typically found between "/web/" and the 2nd iteration of "/http://".
- e.g. http://web.archive.org/web/20081121225556/http://toyfair08.asmzine.com/gallery/amok-time/