<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://capipedia.cap.gov/index.php?action=history&amp;feed=atom&amp;title=Template%3ADead_link%2Fdoc</id>
	<title>Template:Dead link/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://capipedia.cap.gov/index.php?action=history&amp;feed=atom&amp;title=Template%3ADead_link%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://capipedia.cap.gov/index.php?title=Template:Dead_link/doc&amp;action=history"/>
	<updated>2026-04-19T15:06:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://capipedia.cap.gov/index.php?title=Template:Dead_link/doc&amp;diff=1883&amp;oldid=prev</id>
		<title>NMcLarty27: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://capipedia.cap.gov/index.php?title=Template:Dead_link/doc&amp;diff=1883&amp;oldid=prev"/>
		<updated>2024-01-23T17:30:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:30, 23 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>NMcLarty27</name></author>
	</entry>
	<entry>
		<id>https://capipedia.cap.gov/index.php?title=Template:Dead_link/doc&amp;diff=1882&amp;oldid=prev</id>
		<title>en&gt;Jonesey95: Fix Linter errors.</title>
		<link rel="alternate" type="text/html" href="https://capipedia.cap.gov/index.php?title=Template:Dead_link/doc&amp;diff=1882&amp;oldid=prev"/>
		<updated>2023-12-27T14:35:13Z</updated>

		<summary type="html">&lt;p&gt;Fix &lt;a href=&quot;/wiki/Special:LintErrors&quot; class=&quot;new&quot; title=&quot;Special:LintErrors (page does not exist)&quot;&gt;Linter&lt;/a&gt; errors.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-use}}&lt;br /&gt;
{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])--&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{pp-template|small=yes}}&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Redirect regex: [Dd]ead[ _]+link|[Dd]l|[Dd]eadlink|[Cc]leanup-link|[Dd]l-s|404|[Bb]roken[ _]+link|[Bb]rokenlink --&amp;gt;&lt;br /&gt;
{{Template shortcut|404|dl|deadlink|dead|Broken link|broken}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
This template is used to mark [[WP:Link rot|dead link]]s, either within a paragraph or within a [[WP:Citing sources |reference citation]]. Marking dead links signals to editors and to [[WP:Link rot]] bots that this link needs to be replaced with an archive link.&lt;br /&gt;
&lt;br /&gt;
Before considering whether to use the {{tl|dead link}} template it is often useful to make a search for an [[Wikipedia:LR#Internet archives|archive copy]] of the dead link and thereby avoid using the tag altogether. All {{cite xxx}} templates have the facility for adding {{para|archive-date}} and {{para|archive-url}} parameters for linking to an archive copy. Non-{{cite xxx}} citations can use {{tl|webarchive}}.&lt;br /&gt;
&lt;br /&gt;
Using {{Tl|Dead link}} will place a note by the URL and add the article to one of the [[:Category:Articles with dead external links]] categories.&lt;br /&gt;
&lt;br /&gt;
Append this template &amp;#039;&amp;#039;&amp;#039;directly after&amp;#039;&amp;#039;&amp;#039; the link (after the link code&amp;#039;s terminating &amp;lt;code&amp;gt;]&amp;lt;/code&amp;gt; if you are using [[wikitext]]), or, if you are using a {{cite xxx}} template, &amp;#039;&amp;#039;&amp;#039;directly after&amp;#039;&amp;#039;&amp;#039; the {{cite xxx}} transclusion (not inside it), but inside the reference, if any, i.e. before the &amp;lt;code&amp;gt;&amp;lt;/ref&amp;gt;&amp;lt;/code&amp;gt;, in all cases leaving the original link intact:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;{{cite web|url=http://www.example.org|title=The Example Website|access-date=22 September 2012}}&amp;lt;/nowiki&amp;gt;&amp;lt;b style=&amp;quot;color:green&amp;quot;&amp;gt;&amp;lt;nowiki&amp;gt;{{Dead link|date=&amp;lt;/nowiki&amp;gt;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/b&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For bare links, leave a space after the end of the URL and the template:&lt;br /&gt;
:&amp;lt;code&amp;gt;* http://www.example.org &amp;lt;nowiki&amp;gt;{{Dead link|date=&amp;lt;/nowiki&amp;gt;{{CURRENTMONTHNAME}} {{CURRENTYEAR}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Otherwise automated tools can have trouble determining where the URL ends, because it will ambiguously contain [[percent encoding|url-encoding]] and wiki-encoding mixed together.&lt;br /&gt;
&lt;br /&gt;
Not following these syntax rules might hinder detection by automated tools. If the citation contains multiple URLs (e.g. chapter-url and url) in a template, and only one is broken, you can use wiki comments like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;!-- &amp;lt;your hidden explanation here&amp;gt; --&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to explain which one is broken.&lt;br /&gt;
&lt;br /&gt;
If the article uses [[WP:Footnotes|clickable footnotes]], then this template should be placed just before the &amp;lt;code&amp;gt;&amp;amp;lt;/ref&amp;amp;gt;&amp;lt;/code&amp;gt; that contains the dead link. The notice will then correctly appear in the reference section instead of in the body of the text, and so [[WP:Link rot]] bots can properly find and fix the link. &lt;br /&gt;
&lt;br /&gt;
If you are placing this template inside a &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt; &amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; reference, do not leave any [[Special:Permalink/1105953472|substitution template]] such as &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:CURRENTMONTHNAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:CURRENTYEAR}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, because substitutions fail inside ref tags.&lt;br /&gt;
&lt;br /&gt;
Avoid using this template when the reference is fully adequate without the link. In this case, simply remove the link. For example, if a &amp;lt;code&amp;gt;{{tl|cite journal}}&amp;lt;/code&amp;gt; template is used with a [[Digital object identifier|DOI]], remove the {{para|url}} parameter.&lt;br /&gt;
&lt;br /&gt;
;Common form (with current date)&lt;br /&gt;
{{Tlx|Dead link|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}&lt;br /&gt;
&lt;br /&gt;
=== Optional parameters ===&lt;br /&gt;
; &amp;lt;code&amp;gt;url&amp;lt;/code&amp;gt;: Provides a history of the linked page via the [[Wayback Machine]]. Set &amp;#039;&amp;#039;&amp;#039;only&amp;#039;&amp;#039;&amp;#039; if history actually exists, as otherwise it is misleading to users and editors.&lt;br /&gt;
; &amp;lt;code&amp;gt;date&amp;lt;/code&amp;gt;: The date parameter consists of the full English name of the current month with initial capital, a space, and the year, not full dates; e.g., &amp;quot;January 2013&amp;quot;, but not &amp;quot;jan13&amp;quot;. &amp;#039;&amp;#039;Any deviation from these two rules will result in an &amp;quot;invalid date parameter&amp;quot; error&amp;#039;&amp;#039;.&lt;br /&gt;
; &amp;lt;code&amp;gt;bot&amp;lt;/code&amp;gt;: [[WP:Bots|Bot accounts]] specify the &amp;lt;code&amp;gt;|bot=&amp;lt;/code&amp;gt; parameter as a sign that the tag was added by an automated process. Set as &amp;lt;code&amp;gt;bot=&amp;lt;bot name&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
; &amp;lt;code&amp;gt;fix-attempted&amp;lt;/code&amp;gt;: Set this to &amp;quot;yes&amp;quot; if you have tried unsuccessfully to find an archived copy, or a copy with a different URL. This will put the page in [[:Category:Articles with permanently dead external links]], and the annotation will be rendered as &amp;quot;{{dead link |date=July 2022 |fix-attempted=yes}}&amp;quot; instead of just &amp;quot;{{dead link |date=July 2022}}&amp;quot;. Note that this currently will occur for any value supplied, including &amp;quot;no&amp;quot;, so if a fix was not attempted, simply leave this parameter off, or set it to be blank. Also note that if a page cannot be found in the [[Internet Archive]] (Wayback Machine), [[WP:DEADREF |often a live copy can be found]] via a web search for the full title, in quotes, on the original website, or on the Internet at large.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Notes&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
* The date-substitution template may be used to automatically generate the date, e.g., &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Dead link|{{subst:DATE}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. See [[Help:Substitution]] for more information.&lt;br /&gt;
* The &amp;lt;code&amp;gt;date=&amp;lt;/code&amp;gt; parameter need not be added by the editor: if not entered, a [[Wikipedia:Bots|bot]] will soon add it.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=http://www.example.org |title=Web page title |website=Example.com |access-date=22 September 2012}} {{Dead link |date=September 2012}}&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;br /&amp;gt;→ &amp;lt;span style=&amp;quot;background:white&amp;quot;&amp;gt;&amp;lt;ref&amp;gt;{{cite web |url=http://www.example.org |title=Web page title |website=Example.com |access-date=22 September 2012}} {{Dead link |date=September 2012}}&amp;lt;/ref&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt;{{cite news |title=Sorrell accuses Murdoch of panic buying |author=Plunkett, John |url=http://media.guardian.co.uk/site/story/0,14173,1601858,00.html |newspaper=[[The Guardian]] |date=27 October 2005 |access-date=22 September 2012}} {{Dead link}}&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;br /&amp;gt;→ &amp;lt;span style=&amp;quot;background:white&amp;quot;&amp;gt;&amp;lt;ref&amp;gt;{{cite news |title=Sorrell accuses Murdoch of panic buying |author=Plunkett, John |url=http://media.guardian.co.uk/site/story/0,14173,1601858,00.html |newspaper=[[The Guardian]] |date=27 October 2005 |access-date=22 September 2012}} {{Dead link}}&amp;lt;/ref&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&lt;br /&gt;
=== Caveats ===&lt;br /&gt;
* Avoid using free links (e.g. &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;http://www.example.org/{{Dead link}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;), as software that is unable to handle templates may read an incorrect link. Add brackets if necessary.&lt;br /&gt;
* Avoid complicated formatting. Nesting inside a template is generally not supported well.  &lt;br /&gt;
* Avoid using &amp;lt;kbd&amp;gt;[ ] { | } &amp;lt; &amp;gt;&amp;lt;/kbd&amp;gt; characters between the end of the external link and &amp;lt;nowiki&amp;gt;{{Dead link}}&amp;lt;/nowiki&amp;gt;, as they are often used to format text.&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template to indicate that the preceding URL is dead&amp;quot;,&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;date&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Month and year&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The month and year the URL was found to be dead, like \&amp;quot;June 2013\&amp;quot;&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;autovalue&amp;quot;: &amp;quot;{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;bot&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Bot name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The name of the bot used to identify the dead link (not used by regular editors)&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;wiki-user-name&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;url&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Wayback URL&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The dead URL, used only if there is a Wayback Machine archive&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;url&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;fix-attempted&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Fix attempted&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Setting to &amp;#039;yes&amp;#039; (or any non-blank value) indicates that no archive copy is available&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;yes&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Tl|Full citation needed}} (inline) to be used when a reference suffers from a more severe problem than a mere [[HTTP 404|broken link]]&lt;br /&gt;
* {{Tl|Citations broken}}&lt;br /&gt;
* {{Tl|Cleanup bare URLs}} header&lt;br /&gt;
* {{Tl|Closed access}} and {{Tl|Open access}} citation flags&lt;br /&gt;
* {{Tl|Dead YouTube link}}&lt;br /&gt;
* {{Tl|Registration required}} citation flag&lt;br /&gt;
* {{Tl|Subscription or libraries}} citation flag for when a subscription or library access may be required&lt;br /&gt;
* {{Tl|Subscription required}} citation flag&lt;br /&gt;
* {{Tl|Webarchive}}&lt;br /&gt;
* {{Tl|Website defunct}} to be used in place of the {{tl|URL}} parameter in infoboxes for defunct websites&lt;br /&gt;
* [[WP:DEADREF|What to do when a reference link goes dead]]&lt;br /&gt;
* [[Wikipedia:Link rot|Link rot]]&lt;br /&gt;
&lt;br /&gt;
=== Dead link tools ===&lt;br /&gt;
* Probably of historical interest only:&lt;br /&gt;
** [[User:Dispenser/Checklinks|Checklinks]]&lt;br /&gt;
** [[User:DeadLinkBOT|DeadLinkBOT]]&lt;br /&gt;
** [[User:WebCiteBOT|WebCiteBOT]]&lt;br /&gt;
&lt;br /&gt;
{{Inline cleanup tags}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!--Categories below this line, please; interwikis at Wikidata--&amp;gt;&lt;br /&gt;
[[Category:External link maintenance templates]]&lt;br /&gt;
[[Category:Inline citation cleanup templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;Jonesey95</name></author>
	</entry>
</feed>