Template:Ifsubst/doc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Usage[edit source]

Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion.
Note that this template must be used in safesubst mode to work properly:

{{ {{{|safesubst:}}}ifsubst| yes | no }}