Difference between revisions of "Template:Dead link"
From Worms Knowledge Base
Explorer09 (Talk | contribs) (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...) |
Explorer09 (Talk | contribs) m (description text update) |
||
(One intermediate revision by the same user not shown) | |||
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></ref></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''' | ||
+ | |||
+ | <tt><nowiki>{{dead link}}</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 ''(unused parameter)'' | ||
+ | :<s>Given in month name followed by year for use by the categorization system. Use <code>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code></s> | ||
+ | |||
+ | === 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> |
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