Template:Dead link: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
(Boldy expand fix-attempted parameter to make template display [permanent dead link].)
Line 1: Line 1:
<!--{{Dead link}} begin-->
{{ {{{|safesubst:}}}#invoke:Unsubst||date=__DATE__ |$B=
 
<!--{{Dead link}} begin-->{{Fix
{{Fix
| special  = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;since {{{date}}}}}">dead link</span>]|[[Wikipedia:Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;Dead link since {{{date}}}}}">{{#if:{{{fix-attempted|}}}|permanent dead link|dead link}}</span>]]}}</i>&#93;</span></sup>
| special  = <sup class="noprint Inline-Template"><span style="white-space: nowrap;">&#91;<i>{{#if: {{{url|}}}|[http://web.archive.org/web/*/{{{url|}}} <span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;since {{{date}}}}}">dead link</span>]|
 
[[Link rot|<span title="{{{title|}}}{{#if:{{{date|}}}|&nbsp;since {{{date}}}}}">dead link</span>]]}}</i>&#93;</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}} <!-- Having a separate category based on date seems rather superfluous for this site. Do we really need to keep this line? -->
| cat-date = Category:Articles with dead external links}}<includeonly>{{#if:{{{fix-attempted|}}}|[[Category:Articles with permanently dead external links]]}}</includeonly><!--{{Dead link}} end-->
 
}}<noinclude>
<!--{{Dead link}} end-->
 
<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 18:37, 18 July 2016

[dead link]

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 yields date=May 2024.

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=May 2024}}
[http://example.org/ title]{{dead link|url=http://example.org/|date=May 2024}}

Produces:

title[dead link]
title[dead link]
title[dead link]


See also

ms:Template:dead link