Template:Dead link: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
| special = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}| since {{{date}}}}}">dead link</span>]| | | special = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}| since {{{date}}}}}">dead link</span>]| | ||
[[ | [[Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}| since {{{date}}}}}">dead link</span>]]}}</i>]</span></sup> | ||
| date = {{{date|}}} | | date = {{{date|}}} |
Revision as of 01:01, 1 March 2016
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Template:Template doc page transcluded
Use {{dead link}} when you find a dead external link within a paragraph or a reference citation. Append this template after the link, leaving the original link intact. This template is designed similar to {{fact}}, so it will not disrupt the flow of the text in the article.
Parameters
- url (optional)
- Provides a history of the linked page via Wayback Machine. Do not set if no history is provided as this does not help other editors.
- date (optional)
- Given in month name followed by year for use by the categorization system. Use
{{subst:DATE}}
which yieldsdate=January 2025
.
Examples
Dead external links:
[http://example.org/ title] [http://example.org/ title] [http://example.org/ title]
Replaced with:
[http://example.org/ title]{{dead link}} [http://example.org/ title]{{dead link|date=January 2025}} [http://example.org/ title]{{dead link|url=http://example.org/|date=January 2025}}
Produces:
title[dead link]
|
title[dead link]
|
title[dead link]
|
See also
- {{waybackdate}}
The above documentation is transcluded from Template:Dead link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |