Template:dead link/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Dead link (see that page for the template itself). It contains 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. Append this template directly after the link or template, leaving the original link intact. Not doing so will prevent detection from automated tools. If desired </ref>
could be placed before this template, so appears in the body of the text, but is recommended against.
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". http://example.org. Retrieved on 2000-01-01.[dead link] - <ref>{{cite web |url=http://example.org |title=title |accessdate=2000-01-01}}</ref>{{dead link |date=May 2024 }}
→ [1][dead link]
- ↑ "title". http://example.org. Retrieved on 2000-01-01.
- 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
- {{Wayback}}
- What to do when a reference link goes dead
Tools
- Checklinks
Category:
- Template documentation