Jump to content

Template:Ifsubst/doc

From Wikivoyage

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