Template:Void/doc

From Wikiversity
Jump to navigation Jump to search
Edit-paste.svg
This is the template documentation page for {{Void}}.
It 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]
Wikipedia-logo.png wpd Wikipedia Void/doc
Commons-logo.svg cms Commons Void/doc
Wikibooks-logo.svg wbk Wikibooks Void/doc
Wikinews-logo.svg wnw Wikinews void/doc
Wikispecies-logo.svg wsp Wikispecies Void/doc
Wikiversity-logo.svg 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.

Alternatives[edit]

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.