Template:Ifsubst

From Bogleheads
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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