Template:Archived: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Missing </noinclude>)
mNo edit summary
 
Line 1: Line 1:
<i>({{#if: {{{url|}}} |[{{{url}}} Archived version]|Archived version}}{{#if: {{{date|}}} |&nbsp;retrieved on {{{date}}}}})</i><noinclude>
{{doc}}


== Usage ==
<includeonly>
Template for use with archived links. Place the template after a dead or archived link.


== Parameters ==
<onlyinclude><i>({{#if: {{{url|}}} |[{{{url}}} Archived version]|Archived version}}{{#if: {{{date|}}} |&nbsp;retrieved on {{{date}}}}})</i></onlyinclude>
; <code>url</code>: Link to archived version of a dead link.
; <code>date</code>: The date the archived version was retrieved on.


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


*<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.
[[Category:Templates]]
 
*<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.
 
*<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.
</noinclude>

Latest revision as of 09:45, 29 June 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

Usage

Template for use with archived links. 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.