Template:Ifsubst
From OpenSimulator
(Difference between revisions)
(Created page with "{{ {{{|safesubst:}}}#ifeq:{{ {{{|safesubst:}}}NAMESPACE}}|{{NAMESPACE}} |{{{no|{{{2|}}}}}} |{{{yes|{{{1|}}}}}} }}<noinclude> {{Documentation}} </noinclude>") |
Latest revision as of 02:14, 21 October 2011
[edit] [ ] Template documentation
[edit] Usage
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 }}
The above documentation is transcluded from Template:Ifsubst/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |