Difference between revisions of "Template:Dead link"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (New template: stolen from w:Template:Dead link) |
Explorer09 (Talk | contribs) m (description text update) |
||
Line 6: | Line 6: | ||
=== Usage === | === Usage === | ||
− | '''Common form | + | '''Common form''' |
− | <tt><nowiki>{{ | + | <tt><nowiki>{{dead link}}</nowiki></tt> |
==== Optional parameters ==== | ==== Optional parameters ==== | ||
;url | ;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. | :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 | + | ;date ''(unused parameter)'' |
− | :Given in month name followed by year for use by the categorization system. Use <code>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code>< | + | :<s>Given in month name followed by year for use by the categorization system. Use <code>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code></s> |
=== Caveats === | === Caveats === |
Latest revision as of 08:38, 3 January 2010
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
{{dead link}}
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 (unused parameter)
Given in month name followed by year for use by the categorization system. Usedate=October 2024
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