Difference between revisions of "Template:Dead link"

From ArchWiki
Jump to: navigation, search
(Example)
Line 11: Line 11:
 
Appears as:
 
Appears as:
  
[http://example.com/somepage.html a link]{{Linkrot|yyyy|mm|dd}}</noinclude><includeonly><sup title={{{1}}}-{{{2}}}-{{{3}}}>[dead link]</sup></includeonly>
+
[http://example.com/somepage.html a link]{{Linkrot|2011|05|21}}</noinclude><includeonly><sup title={{{1}}}-{{{2}}}-{{{3}}}>[dead link]</sup></includeonly>

Revision as of 21:42, 10 July 2011

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.

Usage

{Linkrot|yyyy|mm|dd}}


Example

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

Appears as:

a linkTemplate:Linkrot