<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.americanmusicclub.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ADelink%2Fdoc</id>
	<title>Template:Delink/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.americanmusicclub.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ADelink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.americanmusicclub.com/index.php?title=Template:Delink/doc&amp;action=history"/>
	<updated>2026-04-07T01:28:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wiki.americanmusicclub.com/index.php?title=Template:Delink/doc&amp;diff=5341&amp;oldid=prev</id>
		<title>Amc-admin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.americanmusicclub.com/index.php?title=Template:Delink/doc&amp;diff=5341&amp;oldid=prev"/>
		<updated>2016-11-19T00:54:49Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{lua|Module:Delink}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template removes links from wikitext. It de-links wikilinks, URL links, removes HTML comments, and normalises whitespace. It handles most wikitext correctly, including category links, the [[Help:Colon trick|colon trick]], the [[Help:Pipe trick|pipe trick]] (normal and reverse), nested wikilinks, and invalid link characters.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
; Basic&lt;br /&gt;
&lt;br /&gt;
 &amp;amp;#123;{delink|&amp;#039;&amp;#039;text&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
; All parameters&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{delink&lt;br /&gt;
| 1          = &lt;br /&gt;
| wikilinks  = no&lt;br /&gt;
| urls       = no&lt;br /&gt;
| comments   = no&lt;br /&gt;
| whitespace = no&lt;br /&gt;
| refs       = yes&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; - the text to be de-linked.&lt;br /&gt;
* &amp;lt;code&amp;gt;wikilinks&amp;lt;/code&amp;gt; - if set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;false&amp;quot;, or &amp;quot;0&amp;quot;, wikilinks are not de-linked.&lt;br /&gt;
* &amp;lt;code&amp;gt;urls&amp;lt;/code&amp;gt; - if set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;false&amp;quot;, or &amp;quot;0&amp;quot;, URL links are not de-linked.&lt;br /&gt;
* &amp;lt;code&amp;gt;comments&amp;lt;/code&amp;gt; - if set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;false&amp;quot;, or &amp;quot;0&amp;quot;, HTML comments are not removed.&lt;br /&gt;
* &amp;lt;code&amp;gt;whitespace&amp;lt;/code&amp;gt; - if set to &amp;quot;no&amp;quot;, &amp;quot;n&amp;quot;, &amp;quot;false&amp;quot;, or &amp;quot;0&amp;quot;, whitespace is not normalised. The normalisation makes the whitespace of the resulting text look as if it had been put through the MediaWiki parser. For example, single new lines are converted to a single space, but double new lines are left alone. &lt;br /&gt;
* &amp;lt;code&amp;gt;refs&amp;lt;/code&amp;gt; - (experimental) if set to &amp;quot;yes&amp;quot;, &amp;quot;y&amp;quot;, &amp;quot;true&amp;quot;, or &amp;quot;1&amp;quot;, removes references. This is not recommended, as only the &amp;lt;sup&amp;gt;[1]&amp;lt;/sup&amp;gt;, &amp;lt;sup&amp;gt;[2]&amp;lt;/sup&amp;gt;, etc. markers will be removed - the references themselves will still appear at the end of the page. There is no known workaround for this problem as of April 2014.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{delink|[[Foo]]}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{delink|[[Foo]]}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{delink|[[Foo]], [[bar]] and [[baz]].}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{delink|[[Foo]], [[bar]] and [[baz]].}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{delink|I visited [http://www.example.com example.com].}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{delink|I visited [http://www.example.com example.com].}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{String-handling templates |delink}}&lt;/div&gt;</summary>
		<author><name>Amc-admin</name></author>
	</entry>
</feed>