Template:Archivelink: Difference between revisions
Template page
More languages
More actions
tweak |
No edit summary |
||
| Line 2: | Line 2: | ||
|no | |no | ||
|No | |No | ||
|N=[[archive:{{{url}}}|{{{title}}}]] | |N=[[archive:{{#if:{{{date|}}}|{{{date}}}/}}{{{url}}}|{{{title}}}]] | ||
|yes | |yes | ||
|Y | |Y | ||
|Yes | |Yes | ||
|#default=[{{{url}}} {{{title}}}] <small>([[archive:{{{url}}}|web.archive.org backup link]])</small>}}</includeonly><noinclude> | |#default=[{{{url}}} {{{title}}}] <small>([[archive:{{#if:{{{date|}}}|{{{date}}}/}}{{{url}}}|web.archive.org backup link]])</small>}}</includeonly><noinclude> | ||
= Documentation = | = Documentation = | ||
This template facilitates the inclusion of linking external websites and tying it into the Internet Wayback Machine's backup system within articles. | This template facilitates the inclusion of linking external websites and tying it into the Internet Wayback Machine's backup system within articles. | ||
| Line 17: | Line 17: | ||
| title = | | title = | ||
| live = | | live = | ||
| date = | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 31: | Line 32: | ||
* '''live''': Site is still live ''outside'' of the Wayback Machine. | * '''live''': Site is still live ''outside'' of the Wayback Machine. | ||
** ''Yes'' by default, '''so there is no need to specify when calling out this template.''' | ** ''Yes'' by default, '''so there is no need to specify when calling out this template.''' | ||
** ''No'' means that the site is offline, and ''only'' available via the Wayback Machine. | ** ''No'' means that the site is offline, and ''only'' available via the Wayback Machine. | ||
* '''date''': Specifies the date, which can typically be found in the URL. | |||
** Example: '''20081011202746''' in the url <nowiki>https://web.archive.org/web/</nowiki>'''20081011202746'''<nowiki>/http://tviv.org/wiki/Battlestar_Galactica_(2003)/Flashlight</nowiki> | |||
[[de:{{FULLPAGENAME}}]] | [[de:{{FULLPAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 00:17, 26 May 2025
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 =
| live =
| date =
}}
Fields
Both fields are required.
- url: Full URL of the link to the web page.
- title: The web page's title.
Optional fields.
- live: Site is still live outside of the Wayback Machine.
- Yes by default, so there is no need to specify when calling out this template.
- No means that the site is offline, and only available via the Wayback Machine.
- date: Specifies the date, which can typically be found in the URL.
- Example: 20081011202746 in the url https://web.archive.org/web/20081011202746/http://tviv.org/wiki/Battlestar_Galactica_(2003)/Flashlight