Template:Ifsubst
Revision as of 09:05, 29 April 2010 by blackwiki>Amalthea (New, more useful version, using safesubst.)
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 }}
| The above documentation is transcluded from Template:Ifsubst/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Subpages of this template. |