<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AVoid%2Fdoc</id>
	<title>Template:Void/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AVoid%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Void/doc&amp;action=history"/>
	<updated>2026-05-09T01:13:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Void/doc&amp;diff=42091&amp;oldid=prev</id>
		<title>imported&gt;Cedar101: /* Alternatives */ replace &lt;nowiki&gt; with templates</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Void/doc&amp;diff=42091&amp;oldid=prev"/>
		<updated>2023-03-10T06:59:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Alternatives: &lt;/span&gt; replace &amp;lt;nowiki&amp;gt; with templates&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;
{{Template shortcut|^|X0|Nul|&amp;#039;,_&amp;#039;|Null|This template deliberately left blank}}&lt;br /&gt;
{{High-use|400000}}&lt;br /&gt;
This template does nothing visually. Technically, it throws away its parameters and outputs the null string.&lt;br /&gt;
&lt;br /&gt;
It is useful for programming advanced templates, and is often used within a template to the right of an equals sign. It may also be used in a template to disambiguate parsing of braces.&lt;br /&gt;
&lt;br /&gt;
It can also be used to temporarily disable code. Unlike &amp;quot;[[commenting out]]&amp;quot; using [[HTML comment|HTML]] &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;!-- --&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, it nests. This means that &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{void|foo {{void|bar}} baz}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; is valid, whereas &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;!-- foo &amp;lt;!-- bar --&amp;gt; baz --&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will produce &amp;lt;code&amp;gt;&amp;lt;!-- foo &amp;lt;!-- bar --&amp;gt; baz --&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
It provides a particularly concise way of temporarily disabling &amp;#039;&amp;#039;templates&amp;#039;&amp;#039;, by prefixing the template name with &amp;lt;code&amp;gt;^|&amp;lt;/code&amp;gt;, making the template name becomes the (ignored) first unnamed parameter. For example, suppose you have a page {{tlx|Under construction}} for several days, and wish to change that to {{tlx|In use}} during active editing sessions. Rather than delete the unused template, you can leave both templates in the wikitext and change from &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{^|In use|...}}{{Under construction|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{In use|...}}{{^|Under construction|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Another possible application would be to temporarily disable an infobox on an article page while a problem with the infobox template itself is resolved.&lt;br /&gt;
&lt;br /&gt;
A deeper no-op is &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:void|foobar}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:^|foobar}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. It disappears completely upon saving.&lt;br /&gt;
&lt;br /&gt;
==Alternatives==&lt;br /&gt;
{{Tlx|Null}} also redirects here. It is also possible to use {{tlc|ns:0}}, the empty/void/null string for the main [[m:Help:Namespace|namespace]].&lt;br /&gt;
&lt;br /&gt;
It can be used in place of {{xtag|nowiki|s}} to break character sequence parsing, for example {{tlx|nowrap|&amp;lt;nowiki&amp;gt;{&amp;#039;&amp;#039;a&amp;#039;&amp;#039;}&amp;lt;/nowiki&amp;gt;{{tl|null}}}} to force the first closing brace to be treated as part of the template parameter instead of as the end of the template expression.&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&amp;lt;TemplateData&amp;gt;{&amp;quot;description&amp;quot;:&amp;quot;A template to show the null string, i.e. nothing. Any parameters are accepted and ignored.&amp;quot;,&amp;quot;params&amp;quot;:{}}&amp;lt;/TemplateData&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Template:Nothing]] – a template that displays an invisible HTML tag&lt;br /&gt;
* [[Template:Text]] – a template that just displays its first parameter unchanged.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
[[Category:Wikipedia formatting and function templates]]&lt;br /&gt;
[[Category:Templates with no visible output]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Cedar101</name></author>
	</entry>
</feed>