Template:Void/doc

From Meta, a Wikimedia project coordination wiki

Jump to: navigation, search

This documentation subpage contains instructions, categories, or other information for technical reasons.
To view the Template page itself, see Template:Void.

Similar templates at English sister projects
Wikimedia-logo.svg Meta Void/doc
Wikipedia-logo.png Wikipedia Void/doc
Commons-logo.svg Commons Void/doc
Wikibooks-logo.svg Wikibooks Void/doc
Wikinews-logo.svg Wikinews void
Wikispecies-logo.svg Wikispecies Void/doc
Wikiversity-logo.svg Wikiversity Void/doc

This template does nothing (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:0 }}, the empty/void/null string for the main namespace. Some magic words like __END__ might also have the desired effect of doing nothing.