Jump to content

Template:Void/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 08:45, 13 May 2013 by imported>Osiris (not really needed)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Alternatives[change]

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.