Template:Void/doc: Difference between revisions
Template page
More actions
m ExE Boss moved page Template:Void to Template:Void/doc: Move template documentation to subpage |
→top: Add {{Documentation subpage}}; Use {{Sandbox other}} for categories |
||
| Line 1: | Line 1: | ||
< | {{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
This template does nothing. | |||
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. | ||
| Line 14: | Line 16: | ||
*{{tl|Empty}} | *{{tl|Empty}} | ||
*[[:en:Template:Void]] | *[[:en:Template:Void]] | ||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Typing-aid templates|{{PAGENAME}}]] | [[Category:Typing-aid templates|{{PAGENAME}}]] | ||
[[Category:Workaround templates|{{PAGENAME}}]] | [[Category:Workaround templates|{{PAGENAME}}]] | ||
</ | }}</includeonly> | ||
Revision as of 14:36, 21 October 2021
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.