Rendered with Parsoid
Template:Ifsubst
Jump to navigation
Jump to search
This documentation is transcluded from Template:Ifsubst/doc. (edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
[edit]Meta template that returns the first parameter if evaluated during substitution, and the second parameter if evaluated during transclusion. This is suitable for the template or part of its code that you don't want to make it substituted.
Note that this template need to be used in safesubst mode to work properly:
{{ {{{|safesubst:}}}ifsubst| yes | no }}