Template:Void/doc: Difference between revisions
Template page
More actions
expand use notes |
|||
| Line 2: | Line 2: | ||
More exactly, it outputs the [[:en:null string|null string]]. It's useful for programming advanced templates. | More exactly, it outputs the [[:en:null string|null string]]. It's useful for programming advanced templates. | ||
It often is used within a template to the right of an equals sign. | *It often is used within a template to the right of an equals sign. | ||
*It can be useful in killing part of template or page containing text and html comments (<!--- some commented stuff --->) surrounding the combined strings and multiple lines inside the template, which feeds them ... nowhere. Into the mythological bit bucket. | |||
==Alternatives== | ==Alternatives== | ||
| Line 11: | Line 12: | ||
==See also== | ==See also== | ||
*{{tl|Empty}} | *{{tl|Empty}} | ||
[[Cateogory:Typing-aid templates|{{PAGENAME}}]] | |||
[[Category:Workaround templates|{{PAGENAME}}]] | [[Category:Workaround templates|{{PAGENAME}}]] | ||
[[en:Template:Void]] | [[en:Template:Void]] | ||
</noinclude> | </noinclude> | ||
Revision as of 15:09, 8 September 2013
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.
- It can be useful in killing part of template or page containing text and html comments (<!--- some commented stuff --->) surrounding the combined strings and multiple lines inside the template, which feeds them ... nowhere. Into the mythological bit bucket.
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.