Honorable Sarah@legacy41690778 (talk | contribs) m (+documentation) |
PanSola@legacy41563399 (talk | contribs) (→Notes) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ |
+ | {{#if:{{{if}}}|{{{then}}}|{{{else}}}}}<includeonly>[[Category:Uses deprecated templates]]</includeonly><noinclude> |
+ | <span style="color:red">This template is deprecated. For logic-related functions, please use [[metawm:ParserFunctions|ParserFunctions]].</span> |
||
+ | |||
==Usage== |
==Usage== |
||
<nowiki>{{If-Then-Else|if=if condition|then=Then text|else=else text}}</nowiki> |
<nowiki>{{If-Then-Else|if=if condition|then=Then text|else=else text}}</nowiki> |
||
+ | |||
− | ==Notes== |
||
⚫ | |||
− | *to check if a parameter exists, use a null replacement syntax. for instance, to see if parameter 1 was passed from the calling page, set <nowiki>"{{{1|}}}"</nowiki> as the if condition. |
||
⚫ |
Latest revision as of 12:50, 3 May 2008
{{{then}}} This template is deprecated. For logic-related functions, please use ParserFunctions.
Usage
{{If-Then-Else|if=if condition|then=Then text|else=else text}}