Template:Null

From Wikisource
Jump to navigation Jump to search

{{{1}}}

Template documentation[view] [edit] [history] [purge]


Usage[edit]

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[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)