Template:Ifsubst/doc

From blackwiki
< Template:Ifsubst
Revision as of 12:30, 28 June 2011 by imported>Amalthea (+ Category:If-then-else templates)
Jump to navigation Jump to search

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

See also