Template:Dead link: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Matt Pijoan (talk | contribs) m 1 revision imported |
||
(2 intermediate revisions by 2 users not shown) | |||
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;">[<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|}}}| Dead link since {{{date}}}}}">{{#if:{{{fix-attempted|}}}|permanent dead link|dead link}}</span>]]}}</i>]</span></sup> | ||
| 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}} < | | 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> |
Latest revision as of 08:12, 9 January 2019
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. |