Template:Void/doc: Difference between revisions
Template page
More actions
+doc (separate page not needed) / new cat |
m m |
||
| Line 5: | Line 5: | ||
==Alternatives== | ==Alternatives== | ||
It's also possible to use <code>{ | It's also possible to use <code>{{x|ns|ns:0}}</code> instead of <code><nowiki>{{void}}</nowiki></code>. | ||
Some [[m:Help:Magic words|magic words]] like {{ | Some [[m:Help:Magic words|magic words]] like {{x|END}} might also have the desired effect of doing nothing. | ||
[[Category:Workaround templates|{{PAGENAME}}]] | [[Category:Workaround templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> | ||
Revision as of 08:54, 19 August 2009
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
It's also possible to use {{ns:0}} instead of {{void}}.
Some magic words like __END__ might also have the desired effect of doing nothing.