Template:Dlw/doc

From Wikipedia, the free encyclopedia

This is the template documentation page for Template:Dlw.

This page is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

The correct title of this article is Template:dlw/doc. The initial letter is shown capitalized due to technical restrictions.

{{dlw}}, Dead Link Working, tags external dead links and provides a history via the Internet Archive for the link. However, it interrupts the follow of the sentence, use {{dlw-inline}} for where necessary.

[edit] Parameters

url or the first parameter
The URL of the dead link, url= style must be used if the link contains an equals sign (=) as this is Restrictions on parameter values.
title or the second second
The link name of the dead link. If url= style was used then this must be in the title= style.

[edit] Example

Dead external link:

[http://example.org link name]

Replaced with:

{{dlw|http://example.org|link name}}

Produces:

link name is a dead link; use the Internet Archive link instead

[edit] See also