Template:Ifsubst/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Ifsubst (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
This template is used on 500,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on the talk page before implementing them. |
Usage[edit source]
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 }}