Template:Dead link/doc
From Wikiporno
Jump to navigationJump to search
File:Edit-copy green.svg | This is a documentation subpage for Template:Dead link (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
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 and add the article to one of the Category:Articles with dead external links categories.
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=April 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=April 2024
If you don't add a date parameter, a bot will date your entry with the month and year at a later time. - bot
- Bot accounts will specify the |bot= parameter to notify the others that the page was tagged by an automated process. Set as
bot=ExampleBot
.
Examples
<ref>{{cite web |url=http://example.org |title=title |accessdate=2000-01-01 }} {{dead link |date=April 2005 }}</ref>
→ [1]<ref>Plunkett, John. [http://media.guardian.co.uk/site/story/0,14173,1601858,00.html "Sorrell accuses Murdoch of panic buying"],{{dead link}} ''The Guardian'', London, October 27, 2005. Retrieved June 5, 2008.</ref>
→ [2]
- ↑ "title". http://example.org. Retrieved 2000-01-01. [dead link]
- ↑ Plunkett, John. "Sorrell accuses Murdoch of panic buying",[dead link] The Guardian, London, October 27, 2005. Retrieved June 5, 2008.
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 is generally not supported well.
- Avoid using [ ] { | } < > character between the end of the external link and {{dead link}}, as they are often use to format text
See also
- {{dead links}}
- {{Wayback}}
- {{linkrot}}
- {{Registration required}}
- {{Subscription required}}
- {{Failed verification}}
- What to do when a reference link goes dead
Dead link tools