Template:Dead link/doc: Difference between revisions
Content deleted Content added
OwenBlacker (talk | contribs) m Unpiped link to Wayback Machine |
clarified procedure for use, per talk page |
||
Line 6: | Line 6: | ||
Use {{tl|dead link}} when you find a [[Wikipedia:Dead external links|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. |
Use {{tl|dead link}} when you find a [[Wikipedia:Dead external links|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. |
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 after the <code></ref></code> that contains the dead link. The notice will then appear in the body of the text (instead of in the footnote reference, which is not recommended). |
||
== Usage == |
== Usage == |
Revision as of 01:19, 22 November 2009
This is a documentation subpage for Template:Dead link. It may contain usage information, categories 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 after the </ref>
that contains the dead link. The notice will then appear in the body of the text (instead of in the footnote reference, which is not recommended).
Usage
- Common form (with current date)
{{dead link|date=May 2024}}
- All parameters (with current date)
{{dead link|url= |date=May 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
{{subst:DATE}}
which yieldsdate=May 2024
. If not set it will be filled in by a bot. - 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
- [http://example.org/ Link title] {{dead link}}
→ title[dead link] - {{cite web |url=http://example.org |title=title |accessdate=2000-01-01}} {{dead link |url=http://example.org/ |date=May 2024 }}
→ "title". Retrieved 2000-01-01.{{cite web}}
: Check date values in:|accessdate=
(help)[dead link] - <ref>{{cite web |url=http://example.org |title=title |accessdate=2000-01-01}}</ref>{{dead link |date=May 2024 }}
→ [1][dead link]
- Note
The following is not valid if software, unaware of templates, would misread the link since {{ is valid for links.
- http://example.org/{{dead link}}
See also
- {{dead links}}
- {{Wayback}}
- {{linkrot}}
- {{Registration required}}
- What to do when a reference link goes dead
Tools