Template:Ifsubst: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}} |{{{no|{{{2|}}}}}} |{{{yes|{{{1|}}}}}} }}<noinclude> {{Documentation}} </noinclude>") |
mNo edit summary |
||
Line 5: | Line 5: | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||
[[Category:Templates]] |
Latest revision as of 21:17, 14 December 2012
[edit] Template documentation
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 }}