Template:Archived: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added documentation)
m (Formatting)
Line 10: Line 10:


== Examples ==
== Examples ==
*<nowiki>{{Archived}}</nowiki> shows up as {{Archived}} and should be placed after links to an archived version of a web page.
*<code><nowiki>{{Archived}}</nowiki></code> shows up as {{Archived}} and should be placed after links to an archived version of a web page.


*<nowiki>{{Archived|url=https://www.example.com/}}</nowiki> shows up as {{Archived|url=https://www.example.com/}} and should be placed after a dead external link with an archived version available.
*<code><nowiki>{{Archived|url=https://www.example.com/}}</nowiki></code> shows up as {{Archived|url=https://www.example.com/}} and should be placed after a dead external link with an archived version available.


*<nowiki>{{Archived|date=Date}}</nowiki> shows up as {{Archived|date=Date}} and should be placed after links to an archived version of a web page, along with the date of retrieval of the archived version.
*<code><nowiki>{{Archived|date=Date}}</nowiki></code> shows up as {{Archived|date=Date}} and should be placed after links to an archived version of a web page, along with the date of retrieval of the archived version.


*<nowiki>{{Archived|url=https://www.example.com/|date=Date}}</nowiki> shows up as {{Archived|url=https://www.example.com/|date=Date}} and should be placed after a dead external link with an archived version available, along with the date of retrieval of the archived version.
*<code><nowiki>{{Archived|url=https://www.example.com/|date=Date}}</nowiki></code> shows up as {{Archived|url=https://www.example.com/|date=Date}} and should be placed after a dead external link with an archived version available, along with the date of retrieval of the archived version.

Revision as of 07:34, 30 May 2018

Template for use with archived links.

Usage

Place the template after a dead or archived link.

Parameters

url
Link to archived version of a dead link.
date
The date the archived version was retrieved on.

Examples

  • {{Archived}} shows up as (Archived version) and should be placed after links to an archived version of a web page.
  • {{Archived|url=https://www.example.com/}} shows up as (Archived version) and should be placed after a dead external link with an archived version available.
  • {{Archived|date=Date}} shows up as (Archived version retrieved on Date) and should be placed after links to an archived version of a web page, along with the date of retrieval of the archived version.
  • {{Archived|url=https://www.example.com/|date=Date}} shows up as (Archived version retrieved on Date) and should be placed after a dead external link with an archived version available, along with the date of retrieval of the archived version.