<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/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="http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3AVoid%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Void/doc&amp;action=history"/>
	<updated>2026-04-21T08:21:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Template:Void/doc&amp;diff=3224&amp;oldid=prev</id>
		<title>FilipeFonseca: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Void/doc&amp;diff=3224&amp;oldid=prev"/>
		<updated>2021-07-08T08:36:25Z</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;
{{Template shortcut|^|X0|Nul|',_'|Null}}&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 ''templates'', 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;
{{Tl|Null}} also redirects here. It is also possible to use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ns:0}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, 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 &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;nowiki/&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to break character sequence parsing, for example &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{nowrap|{''a''}{{null}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; 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>FilipeFonseca</name></author>
	</entry>
</feed>