ಟೆಂಪ್ಲೇಟು:Null/doc

ವಿಕಿಸೋರ್ಸ್ದಿಂದ

Usage[ಸಂಪಾದಿಸಿ]

The 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[ಸಂಪಾದಿಸಿ]

{{{{#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)