Template:Archived: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Dr. Orange moved page User:Dr. Orange/Template:Archived to Template:Archived: Moved to main template name space.)
(Added documentation)
Line 1: Line 1:
<i>({{#if: {{{url|}}} |[{{{url}}} Archived version]|Archived version}}{{#if: {{{date|}}} |&nbsp;retrieved on {{{date}}}}})</i>
<includeonly><i>({{#if: {{{url|}}} |[{{{url}}} Archived version]|Archived version}}{{#if: {{{date|}}} |&nbsp;retrieved on {{{date}}}}})</i></includeonly><noinclude>
Template for use with archived links.
 
== Usage ==
Place the template after a dead or archived link.
 
== Parameters ==
; <code>url</code>: Link to archived version of a dead link.
; <code>date</code>: The date the archived version was retrieved on.
 
== Examples ==
*<nowiki>{{Archived}}</nowiki> 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.
 
*<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.
 
*<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.

Revision as of 07:33, 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.