Difference between revisions of "Template:Dead link"

From ArchWiki
Jump to: navigation, search
m (Kynikos moved page Template:Linkrot to Template:Dead link: wikipedia:Template:Linkrot has a different function (reporting bare links))
m (update after renaming; the link to Wikipedia:Wikipedia:Link rot is still relevant)
Line 5: Line 5:
  
 
==Usage==
 
==Usage==
<nowiki>{{Linkrot|yyyy|mm|dd}}</nowiki>
+
<nowiki>{{Dead link|yyyy|mm|dd}}</nowiki>
  
 
==Example==
 
==Example==
  
<nowiki>[http://example.com/somepage.html a link]{{Linkrot|2011|09|04}}</nowiki>
+
<nowiki>[http://example.com/somepage.html a link]{{Dead link|2011|09|04}}</nowiki>
  
 
Appears as:
 
Appears as:
Line 16: Line 16:
  
 
==See also==
 
==See also==
*[[Wikipedia:Wikipedia:Linkrot]]</noinclude><includeonly><sup><nowiki>[</nowiki>[[:Wikipedia:Wikipedia:Linkrot|dead link]] {{{1}}}-{{{2}}}-{{{3}}}<nowiki>]</nowiki></sup></includeonly>
+
*[[Wikipedia:Wikipedia:Link rot]]</noinclude><includeonly><sup><nowiki>[</nowiki>[[:Wikipedia:Wikipedia:Link rot|dead link]] {{{1}}}-{{{2}}}-{{{3}}}<nowiki>]</nowiki></sup></includeonly>

Revision as of 17:34, 26 March 2014

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.
zh-CN:Template:Linkrot

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:Linkrot.

Usage

{{Dead link|yyyy|mm|dd}}

Example

[http://example.com/somepage.html a link]{{Dead link|2011|09|04}}

Appears as:

a link[dead link 2011-09-04]

See also