Template:Dead link: Difference between revisions
Jump to navigation
Jump to search
Created page with " <!--{{Dead link}} begin-->{{Fix | special = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">[<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
<!--{{Dead link}} begin--> | |||
{{Fix | |||
| 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>]| | |||
[[Wikipedia:Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}| since {{{date}}}}}">dead link</span>]]}}</i>]</span></sup> | |||
| date = {{{date|}}} | | date = {{{date|}}} | ||
| cat = [[Category:All articles with dead external links]] | | cat = [[Category:All articles with dead external links]] | ||
| cat-date = Category:Articles with dead external links}}<!--{{Dead link}} end--> | | cat-date = Category:Articles with dead external links}} <!-- Having a separate category based on date seems rather superfluous for this site. Do we really need to keep this line? --> | ||
<!--{{Dead link}} end--> | |||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> |
Revision as of 00:33, 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. |