Template:Dead link/doc: Difference between revisions

Jump to navigation Jump to search
SMooney (talk | contribs)
 
SMooney (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 20: Line 20:
Replaced with:
Replaced with:


  <nowiki>[http://example.org/ title]{{dead link</nowiki>}}
  <nowiki>[http://example.org/ title]{{dead link}}</nowiki>
  <nowiki>[http://example.org/ title]{{dead link</nowiki>|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  <nowiki>[http://example.org/ title]{{dead link|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>
  <nowiki>[http://example.org/ title]{{dead link|url=http://example.org/</nowiki>|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  <nowiki>[http://example.org/ title]{{dead link|url=http://example.org/|</nowiki>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>


Produces:
Produces:
Line 29: Line 29:
| [http://example.org/ title]{{dead link}}
| [http://example.org/ title]{{dead link}}
|-
|-
| [http://example.org/ title]{{dead link|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
| [http://example.org/ title]{{dead link|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
|-
|-
| [http://example.org/ title]{{dead link|url=http://example.org/|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
| [http://example.org/ title]{{dead link|url=http://example.org/|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
|}
|}
<!-- No idea how to get those ‘produces’ to display properly... -->


== See also==
== See also==

Latest revision as of 01:12, 1 March 2016

Template:Template doc page viewed directly

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

Produces:

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


See also