Difference between revisions of "Template:Dead link"

From ArchWiki
Jump to: navigation, search
(Usage)
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>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 seeing which pages use this template.
+
<noinclude>{{Template}}[[es:Template:Linkrot]]
 +
[[it:Template:Linkrot]]
 +
[[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==
 
==Usage==
<nowiki>{Linkrot|yyyy|mm|dd}}</nowiki>
+
<nowiki>{{Linkrot|yyyy|mm|dd}}</nowiki>
  
 
==Example==
 
==Example==
  
<nowiki>[http://example.com/somepage.html a link]{{Linkrot|2011|05|21}}</nowiki>
+
<nowiki>[http://example.com/somepage.html a link]{{Linkrot|2011|09|04}}</nowiki>
  
 
Appears as:
 
Appears as:
  
[http://example.com/somepage.html a link]{{Linkrot|2011|05|21}}</noinclude><includeonly><sup title={{{1}}}-{{{2}}}-{{{3}}}>[dead link]</sup></includeonly>
+
[http://example.com/somepage.html a link]<sup><nowiki>[</nowiki>[[:Wikipedia:Wikipedia:Linkrot|dead link]] 2011-09-04<nowiki>]</nowiki></sup>
 +
 
 +
==See also==
 +
*[[Wikipedia:Wikipedia:Linkrot]]</noinclude><includeonly><sup><nowiki>[</nowiki>[[:Wikipedia:Wikipedia:Linkrot|dead link]] {{{1}}}-{{{2}}}-{{{3}}}<nowiki>]</nowiki></sup></includeonly>

Revision as of 19:27, 13 June 2012

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

Usage

{{Linkrot|yyyy|mm|dd}}

Example

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

Appears as:

a link[dead link 2011-09-04]

See also