Difference between revisions of "Template:Dead link"

From Bronies.wiki
Jump to navigation Jump to search
(Created page with "<sup>''[dead link{{#if: {{{1|}}} | , [{{{1}}} archive] }}]''</sup><includeonly>Category:Pages with dead links</includeonly><noinclude> {{Documentation}}</noinclude>")
 
(Make addition of category conditional on there not being an archive link present.)
 
Line 1: Line 1:
<sup>''[dead link{{#if: {{{1|}}} | , [{{{1}}} archive] }}]''</sup><includeonly>[[Category:Pages with dead links]]</includeonly><noinclude>
+
<sup>''[dead link{{#if: {{{1|}}} | , [{{{1}}} archive] }}]''</sup><includeonly>{{#if: {{{1|}}} | |[[Category:Pages with dead links]]}}</includeonly><noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 19:46, 3 October 2020

[dead link]

This documentation is transcluded from Template:Dead link/doc and needs to be edited separately.

Marks the preceding link as a dead link.

Usage

If the link is dead, and no archive version is available, call the template. This will add the "dead link" text and categorize the page as containing one or more dead links.

{{dead link}}

If there is an archive version available, pass it as a parameter.

{{dead link|https://web.archive.org/web/20150330085634/http://www.buckcon.org/}}