Template:Void/doc: Difference between revisions
Template page
More actions
→top: Add {{Documentation subpage}}; Use {{Sandbox other}} for categories |
Fix language-code links to use Wikipedia interwiki prefixes |
||
| Line 3: | Line 3: | ||
This template does nothing. | This template does nothing. | ||
More exactly, it outputs the [[ | More exactly, it outputs the [[w: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. | ||
| Line 15: | Line 15: | ||
==See also== | ==See also== | ||
*{{tl|Empty}} | *{{tl|Empty}} | ||
*[[ | *[[w:Template:Void]] | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!-- Categories below this line; interwikis at Wikidata --> | <!-- Categories below this line; interwikis at Wikidata --> | ||
Latest revision as of 18:45, 12 August 2026
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.