Template:Ifsubst

From Wikibooks, open books for an open world
Jump to: navigation, search
[edit] [history] [purge] Template documentation

Usage

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 }}