Template:Dead link

From ArchWiki
Jump to navigation Jump to search
This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

A template for marking dead links along with the date they were discovered. This replaces the use of HTML comments that go unnoticed when not editing the source and makes it easy to find dead links on the wiki by checking Special:WhatLinksHere/Template:Dead link.

Usage

{{Dead link|yyyy|mm|dd|status=optional}}
  • 1 Year
  • 2 Month
  • 3 Day
  • status Optional text indicating the link status when it was last checked. It can be either the HTTP status code or a human-readable description such as "redirects to different domain". A ⓘ symbol indicates the presence of some status text, which is displayed in a tooltip when hovering the mouse cursor on the template.

Example

[https://example.com/somepage.html a link]{{Dead link|2011|09|04}} appears as: a link[dead link 2011-09-04]

[https://example.com/somepage.html a link]{{Dead link|2011|09|04|status=example error}} appears as: a link[dead link 2011-09-04 ⓘ]

[https://example.com/somepage.html a link]{{Dead link|2011|09|04|status=}} appears as: a link[dead link 2011-09-04]

See also