Lifestyle
 

Template:Void/doc

From Familypedia

This is the template documentation page for Template:Void.

This page is not necessarily intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Similar templates at English sister projects [edit]
mta Meta-wiki Void/doc
wpd Wikipedia Void/doc
cms Commons Void/doc
wbk Wikibooks Void/doc
wnw Wikinews void/doc
wsp Wikispecies Void/doc
wvy Wikiversity Void/doc

This template does nothing.
More exactly, it outputs the null string. It's useful for programming advanced templates.

It often is used within a template to the right of an equals sign.

[edit] Alternatives

It's also possible to use {{ns:0}} instead of {{void}}. Attackers could manipulate {{void}} but not {{ ns:0Image:Wp_globe_tiny.gif }}, the empty/void/null string for the main namespaceImage:Wp_globe_tiny.gif. Some magic wordsImage:Wp_globe_tiny.gif like __END__ might also have the desired effect of doing nothing.

This page uses content from the English language Wikipedia. The original content was at Template:Void/doc. The list of authors can be seen in the page history. As with this Familypedia wiki, the content of Wikipedia is available under the Creative Commons License.