<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://twentyonewiki.info/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://twentyonewiki.info/index.php?action=history&amp;feed=atom&amp;title=Template%3ADelink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Template:Delink/doc&amp;action=history"/>
	<updated>2026-04-13T22:12:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://twentyonewiki.info/index.php?title=Template:Delink/doc&amp;diff=2264&amp;oldid=prev</id>
		<title>Buburka Rinderbuy: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Template:Delink/doc&amp;diff=2264&amp;oldid=prev"/>
		<updated>2024-01-29T09:39:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 05:39, 29 January 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Buburka Rinderbuy</name></author>
	</entry>
	<entry>
		<id>https://twentyonewiki.info/index.php?title=Template:Delink/doc&amp;diff=2263&amp;oldid=prev</id>
		<title>Template:Delink/doc&gt;Cedar101: replace &lt;code&gt;&lt;nowiki&gt; with {{tlx}}, {{elc}} and &lt;syntaxhighlight&gt;</title>
		<link rel="alternate" type="text/html" href="https://twentyonewiki.info/index.php?title=Template:Delink/doc&amp;diff=2263&amp;oldid=prev"/>
		<updated>2023-10-11T05:28:20Z</updated>

		<summary type="html">&lt;p&gt;replace &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt; with {{tlx}}, {{elc}} and &amp;lt;syntaxhighlight&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-use}}&lt;br /&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;
&lt;br /&gt;
This template removes links from wikitext. It de-links wikilinks and 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;
* Basic&lt;br /&gt;
*: {{tlx|delink|''text''}}&lt;br /&gt;
&lt;br /&gt;
* All parameters&lt;br /&gt;
*: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&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;/syntaxhighlight&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;&lt;br /&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;
*: - if set to &amp;quot;target&amp;quot;, wikilinks are reduced to the target portion of a wikilink ({{elc|{{vr|{{var|target}}}}|{{vr|{{var|label}}}}}} → {{samp|{{vr|{{var|target}}}}}})&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 newlines are converted to a single space, but double newlines 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;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|[[Foo]]}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|[[Foo]]}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|[[Foo|Bar]]}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|[[Foo|Bar]]}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|[[Foo|Bar]]|wikilinks=target}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|[[Foo|Bar]]|wikilinks=target}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|[[Foo]], [[bar]], and [[baz]].}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|[[Foo]], [[bar]], and [[baz]].}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|I visited [https://www.example.com example.com].}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|I visited [https://www.example.com example.com].}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|Foo}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|Foo}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Non-examples==&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;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{delink|https://www.example.com}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
| {{delink|https://www.example.com}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*{{tl|trim brackets}}&lt;br /&gt;
*{{tl|delink question hyphen-minus}}&lt;br /&gt;
*{{tl|Escape page link from within}}&lt;br /&gt;
* {{tl|Linked}} – links if not already linked&lt;br /&gt;
&lt;br /&gt;
{{String-handling templates|delink}}&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;
[[Category:String manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Template:Delink/doc&gt;Cedar101</name></author>
	</entry>
</feed>