Difference between revisions of "Template:Dead link/doc"

From blackwiki
Jump to navigation Jump to search
imported>DonBarredora
m (es)
(Templates)
Line 1: Line 1:
{{Documentation subpage}}
+
tp://example.org
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!--redirect regex: [Dd]ead[ _]+link|[Dd]l|[Dd]eadlink|[Cc]leanup-link|[Dd]l-s|404|[Bb]roken[ _]+link|[Bb]rokenlink -->
 
{{Template shortcut|404|dl|Broken link}}
 
 
 
==Usage==
 
Use {{Tl|Dead link}} when you find a [[WP:Linkrot|dead link]] to a website within a paragraph or a [[WP:CITE|reference citation]]. Doing so will place a note by the URL and add the article to one of the [[:Category:Articles with dead external links]] categories.
 
 
 
Append this template '''directly after''' the link or template, leaving the original link intact.  Not doing so will prevent detection from automated tools.  If the citation contains multiple URLs (e.g. chapterurl and url) in a template, and only one is broken, you can use <code><nowiki><!-- hidden text --></nowiki></code> to explain which one is broken.
 
 
 
If the article uses [[WP:Footnotes|clickable footnotes]], then this tag should be placed just before the <code>&lt;/ref&gt;</code> that contains the dead link. The notice will then correctly appear in the reference section (instead of in the body of the text, which is not recommended).
 
 
 
Avoid using this template to identify dead [[WP:External links]] that are ''not'' used as references for article content.  Instead, dead external links should normally be removed.  See [[WP:EL#What_can_be_done_with_a_dead_external_link|the guideline for External links]].
 
 
 
;Common form (with current date)
 
<tt>{&#123;Dead link|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}</tt>
 
 
 
===Optional parameters===
 
;url: Provides a history of the linked page via [[Wayback Machine]].  Set '''only''' if history actually exists, as otherwise it is misleading to users and editors.
 
;date: Month name followed by year, for use by the categorization system.  Use <code>date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}</code>  <br/>If you don't add a date parameter, a bot will date your entry with the month and year at a later time.
 
;bot: [[WP:BOTS|Bot accounts]] specify the |bot= parameter as a sign that the tag was added by an automated process.  Set as <code>bot=<bot name></code>.
 
 
 
==Examples==
 
*<code><nowiki><ref>{{Cite web
 
|url=http://example.org
 
 
|title=title
 
|title=title
|accessdate=2000-01-01
+
|accessdate=2011-08-15
}} {{Dead link
+
}} {{Dead linki
|date=April 2005
+
}}<>Org
}}</ref></nowiki></code><br/>→ <span style="background:white"><ref>{{Cite web
+
*<code><nowiki><ref>Plunkett, John. [http:/guardian..lL "Sorrell accuses Murdoch of panic buying"],{{Dn'', London, 27 October 2005. Retrieved 5 June 2010
|url=http://example.org
+
*References
|title=title
 
|accessdate=2000-01-01
 
}} {{Dead link
 
|date=April 2005
 
}}</ref></span>
 
*<code><nowiki><ref>Plunkett, John. [http://media.guardian.co.uk/site/story/0,14173,1601858,00.html "Sorrell accuses Murdoch of panic buying"],{{Dead link}} ''The Guardian'', London, 27 October 2005. Retrieved 5 June 2008.</ref></nowiki></code><br/>→ <span style="background:white"><ref>Plunkett, John. [http://media.guardian.co.uk/site/story/0,14173,1601858,00.html "Sorrell accuses Murdoch of panic buying"],{{Dead link}} ''The Guardian'', London, 27 October 2005. Retrieved 5 June 2008.</ref></span>
 
 
 
<references />
 
  
 
===Caveats===
 
===Caveats===
* Avoid using free links (e.g. <code>http://example.org/{{Dead link<nowiki />}}</code>) as software unable to handle templates may read an incorrect link. Add brackets if necessary.
+
*Avoid using payed links (e.g. <code>http://example.org/{{Dead link<nowiki />}}</code>) as software unable to handle templates may read an incorrect link. Add brackets if necessary.
* Avoid complicated formatting. Nesting inside a template is generally not supported well.   
+
* Avoid Formatting. Nesting outside is generally not supported.   
* Avoid using <tt>[ ] { | } < ></tt> character between the end of the external link and <nowiki>{{Dead link}}</nowiki>, as they are often used to format text
+
* Avoid using <org>[ ] { | } < ></org> character between the end of the external link and <nowiki>{{Dead link}}</nowiki>, as they are often used to format text
  
 
==See also==
 
==See also==
* {{Tl|Dead link header}}
+
|Dead link templates}}
* {{Tl|Cleanup-link rot}} header
+
*Cleanup-All links}}
* {{Tl|Registration required}} citation flag
+
*All Headers
* {{Tl|Subscription required}} citation flag
+
*All Formats
* {{Tl|Failed verification}} citation flag
+
*Registration not required For citation flag
* [[WP:DEADREF|What to do when a reference link goes dead]]
+
*No Subscription required}}  
* {{Tl|Wayback}}
+
*Never Ignore}} Citation Flags
* {{Tl|WebCite}}
+
* [[Php:DEADREF|What to do when a reference link goes dead]]
 +
 +
 
  
 
===Dead link tools===
 
===Dead link tools===
* [[User:Dispenser/Checklinks|Checklinks]]
+
*Guests:Dispenser/ChecklinsChecklinks]]
* [[User:DeadLinkBOT|DeadLinkBOT]]
+
* [[Spam:Template Links
* [[User:WebCiteBOT|WebCiteBOT]]
+
? desktop
 
 
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
 
 
[[Category:External link maintenance templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:Inline cleanup templates|{{PAGENAME}}]]
 
  
[[ar:قالب:وصلة مكسورة]]
+
<includeonly><!-- CATEGORIES AND ExternalWIKIS HERE, THANKS -->[[Category:External link  Templates|{{PAGENAME}}]]
[[cy:Nodyn:Dolen marw]]
+
[[Category:External link Templates|{{PAGENAME}}]]
[[de:Vorlage:Toter_Link]]
+
[[Category:Noline Cleanup
[[es:Plantilla:Enlace no disponible]]
+
*bg:Vorlage:Dead Toter_Links]]
[[fa:الگو:پیوند مرده]]
+
*En:Enlace no? disponible
[[fr:Modèle:Lien brisé]]
+
*Id:Sablon:Halott link]]
[[hu:Sablon:Halott link]]
+
*En:Templat:Dead Links
[[id:Templat:Dead link]]
+
*En:Template:Dead Links
[[it:Template:Collegamento interrotto]]
+
*en:Template:Dead Links
[[lv:Template:Dead link]]
+
Templates
[[lt:Šablonas:Neveikianti nuoroda]]
+
*ru:Templat:Dead Links]]
[[ja:Template:リンク切れ]]
+
*en:Szablon:Martwy Dead links]]
[[ka:თარგი:მკვდარი ბმული]]
+
*Us:Predefinição:Keep Dead
[[ko:틀:죽은 바깥 고리]]
+
*ru:Template Dead Links
[[mk:Шаблон:Мртва врска]]
+
*bg:Dead Links
[[ms:Templat:dead link]]
+
*uk:Dead Links
[[pl:Szablon:Martwy link]]
 
[[pt:Predefinição:dead link]]
 
[[ru:Шаблон:Недоступная ссылка]]
 
[[simple:Template:dead link]]
 
[[sl:Predloga:Slepa povezava]]
 
[[sr:Шаблон:Mrtav]]
 
[[fi:Malline:Vanhentunut linkki]]
 
[[sv:Mall:Dead link]]
 
[[tr:Şablon:Ölü bağlantı]]
 
[[uk:Шаблон:Недоступне посилання]]
 
</includeonly>
 

Revision as of 10:27, 14 August 2011

tp://example.org |title=title |accessdate=2011-08-15 }} Template:Dead linki<>Org

  • <ref>Plunkett, John. [http:/guardian..lL "Sorrell accuses Murdoch of panic buying"],{{Dn'', London, 27 October 2005. Retrieved 5 June 2010 *References ===Caveats=== *Avoid using payed links (e.g. <code>http://example.org/{{Dead link<nowiki />}}</code>) as software unable to handle templates may read an incorrect link. Add brackets if necessary. * Avoid Formatting. Nesting outside is generally not supported. * Avoid using <org>[ ] { | } < ></org> character between the end of the external link and <nowiki>{{Dead link}}, as they are often used to format text

See also

|Dead link templates}}


Dead link tools

  • Guests:Dispenser/ChecklinsChecklinks]]
  • [[Spam:Template Links

? desktop