Template talk:Void
From Meta, a Wikimedia project coordination wiki
- abc{{void}}def gives abcdef.
{{tt|void}}using Template:Tt containing "{{{{{1}}}|a{{{2}}}b{{{2}}}c{{{2}}}d}}" gives "".
An alternative is using the variable {{ns:0}}:
- abc{{ns:0}}def gives abcdef.
{{tt|ns:0}}using Template:Tt containing "{{{{{1}}}|a{{{2}}}b{{{2}}}c{{{2}}}d}}" gives "".
That has the advantage that no template is needed (convenient for portability across projects) and that a variable is not vulnerable to vandalism.
See also en:Template talk:Void.