Difference between revisions of "Template:Dead link"

From Worms Knowledge Base

Jump to: navigation, search
(New page: <sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{{{url|}}} dead link]|dead link}}</i...)
 
(New template: stolen from w:Template:Dead link)
Line 2: Line 2:
 
----
 
----
 
Use <nowiki>{{</nowiki>'''dead link'''<nowiki>}}</nowiki> when you find a dead external link within a paragraph or a reference citation. Doing so will place a note by the URL.
 
Use <nowiki>{{</nowiki>'''dead link'''<nowiki>}}</nowiki> when you find a dead external link within a paragraph or a reference citation. Doing so will place a note by the URL.
 +
 +
Append this template '''directly after''' the link or template, leaving the original link intact. Not doing so will prevent detection from automated tools. This tag should be placed just before the <code>&lt;/ref&gt;</code> that contains the dead link. The notice will then appear in the footnote reference (instead of in the body of the text, which is not recommended).
 +
 +
=== Usage ===
 +
'''Common form (with current date)'''
 +
 +
<tt><nowiki>{{</nowiki>dead link|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></tt>
 +
 +
==== Optional parameters ====
 +
;url
 +
:Provides a history of the linked page via Wayback Machine. Set only if history actually exists, as otherwise it is misleading to users and editors.
 +
;date
 +
:Given in month name followed by year for use by the categorization system. Use <code>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code><br/>If you don't add a date parameter, a bot will date your entry with the month and year at a later time.
 +
 +
=== Caveats ===
 +
* Avoid using free links (e.g. <code>http://example.org/{{dead link<nowiki />}}</code>) as software unable handle templates may read an incorrect link, add brackets if necessary.
 +
* Avoid complicated formatting, nesting inside a template in generally not support well. 
 +
* Avoid using <tt>[ ] { | } < ></tt> character between the end of the external link and <nowiki>{{dead link}}</nowiki>, as they are often use to format text
 
</noinclude>
 
</noinclude>

Revision as of 08:36, 3 January 2010

[dead link]


Use {{dead link}} when you find a dead external link within a paragraph or a reference citation. Doing so will place a note by the URL.

Append this template directly after the link or template, leaving the original link intact. Not doing so will prevent detection from automated tools. This tag should be placed just before the </ref> that contains the dead link. The notice will then appear in the footnote reference (instead of in the body of the text, which is not recommended).

Usage

Common form (with current date)

{{dead link|date=November 2024}}

Optional parameters

url
Provides a history of the linked page via Wayback Machine. Set only if history actually exists, as otherwise it is misleading to users and editors.
date
Given in month name followed by year for use by the categorization system. Use date=November 2024
If you don't add a date parameter, a bot will date your entry with the month and year at a later time.

Caveats

  • Avoid using free links (e.g. http://example.org/{{dead link}}) as software unable handle templates may read an incorrect link, add brackets if necessary.
  • Avoid complicated formatting, nesting inside a template in generally not support well.
  • Avoid using [ ] { | } < > character between the end of the external link and {{dead link}}, as they are often use to format text
Personal tools