Template:Ifsubst/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Ifsubst. It contains usage information, categories and other content that is not part of the original template page. |
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 }}