Difference between revisions of "Template:Frozenlink"

From DoomWiki.org

m (hrmm)
m (punctuation)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{hover|{{{4|Dead link: {{{1}}}}}}|{{#tag:nowiki|{{{2|{{{1|}}}}}}}}}}&nbsp;{{deadlink|date={{{3|}}}}}</includeonly><noinclude>This template is used to replace links to deleted pages in order to clear up any confusion. It takes four arguments:
+
<includeonly>{{hover|{{{4|Dead link: {{{1}}}}}}|{{#tag:nowiki|{{{2|{{{1|}}}}}}}}}}&nbsp;{{deadlink|date={{{3|}}}}}</includeonly><noinclude>
 +
=== Usage ===
 +
 
 +
This template replaces broken or irretrievably outdated external links, analogous to [[Template:Deleted]] for internal links.  It should be used as necessary to avoid misleading or misdirecting readers, reduce search rank penalties for {{wp|404 error}}s, and aid editors in [[Help:Fixing dead links|replacing or restoring links]] (external links should not usually simply be erased due to rot).
 +
 
 +
It takes four arguments:
 
  <nowiki>{{frozenlink|link|display text|date|hover text}}</nowiki>
 
  <nowiki>{{frozenlink|link|display text|date|hover text}}</nowiki>
 
# link: URL of the dead website (mandatory)
 
# link: URL of the dead website (mandatory)
 
# display text: text to show (optional)
 
# display text: text to show (optional)
 
# date: the date the template was added to the article (optional)
 
# date: the date the template was added to the article (optional)
# hover text: text displayed on mouseover (optional, defaults to "Dead link: <link>"
+
# hover text: text displayed on mouseover (optional, defaults to "Dead link: <link>")
 +
 
 +
=== Source ===
  
 +
* Adapted from [[uesp:Template:Deleted|UESP]].
  
Adapted from [[uesp:Template:Deleted|UESP]].
+
[[Category:External link templates]]</noinclude>
[[Category:Internal link templates]]</noinclude>
 

Revision as of 15:45, 23 August 2018

Usage

This template replaces broken or irretrievably outdated external links, analogous to Template:Deleted for internal links. It should be used as necessary to avoid misleading or misdirecting readers, reduce search rank penalties for 404 errors, and aid editors in replacing or restoring links (external links should not usually simply be erased due to rot).

It takes four arguments:

{{frozenlink|link|display text|date|hover text}}
  1. link: URL of the dead website (mandatory)
  2. display text: text to show (optional)
  3. date: the date the template was added to the article (optional)
  4. hover text: text displayed on mouseover (optional, defaults to "Dead link: <link>")

Source