This is a documentation subpage for Template:Null. It contains usage information, categories and other content that is not part of the original template page. |
Usage
editThe template just passes the parameter unharmed. This is useful when you wish to either use a certain template or none at all in another template, depending on parameters.
Example
edit{{{{#switch:{{{float|}}}|left=float-left|null}}|{{{1}}}}}
If float=left, you get:
{{float left|{{{1}}}}}
Else you get:
{{null|{{{1}}}}}
Which is equivalent to just {{{1}}} (i.e. no template at all)