Template:Dead link: Difference between revisions

From Japanese Mahjong Wiki
Jump to navigation Jump to search
(An attempt to make a dead link template)
 
(Fix the template page itself being included in the category)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sup>&#91;<span style="white-space: nowrap;" title="This link no longer works, and should be replaced with an up-to-date one, or an archived link.">''dead link''</span>&#93;</sup>
<noinclude>
<noinclude>
This is the "Dead link" template, for indicating that an external link no longer works.
This is the "Dead link" template, for indicating that an external link no longer works.
Line 4: Line 5:
Simply add it to the end of a link: <code>www.dead_link_to_website.com<nowiki>{{dead link}}</nowiki></code>
Simply add it to the end of a link: <code>www.dead_link_to_website.com<nowiki>{{dead link}}</nowiki></code>


The result should look like this:
The result should look like this: Link that doesn't work<sup>&#91;<span style="white-space: nowrap;" title="This link no longer works, and should be replaced with an up-to-date one, or an archived link.">''dead link''</span>&#93;</sup>
<sup>[<span title="This link no longer works, and should be replaced with an up-to-date one, or an archived link.">''dead link''</span>]</sup>
</noinclude>
</noinclude>
 
<includeonly>[[Category:Pages with dead links]]</includeonly>
<includeonly>
{{#template_display:_format=plain}}
<sup>[<span title="This link no longer works, and should be replaced with an up-to-date one, or an archived link.">''dead link''</span>]</sup>
</includeonly>

Latest revision as of 16:51, 7 April 2023

[dead link]

This is the "Dead link" template, for indicating that an external link no longer works.

Simply add it to the end of a link: www.dead_link_to_website.com{{dead link}}

The result should look like this: Link that doesn't work[dead link]