Difference between revisions of "Template:Frozenlink"

From DoomWiki.org

m (hrmm)
m ("Deleted page" means an internal page 99.8% of the time on our site, so this needs clarifying.)
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 ''never'' 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)
Line 6: Line 11:
 
# 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:Internal link templates]]</noinclude>
 
[[Category:Internal link templates]]</noinclude>

Revision as of 22:25, 22 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 never 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