Difference between revisions of "Demo:IfExpr2"

From PKC
Jump to navigation Jump to search
 
(14 intermediate revisions by the same user not shown)
Line 12: Line 12:
}}</nowiki>
}}</nowiki>
</syntaxhighlight>
</syntaxhighlight>
{{#invoke:CodeWrapper| returnHTMLText |
{{#invoke:CodeWrapper| returnDecodedText |{{:{{PAGENAME}}}}}}
}}
</noinclude>
</noinclude>

Latest revision as of 04:24, 20 May 2022

{{#ifexpr: 7=3 | {{#expr: 3+2=5}} RESULT | some text representing {{#expr: 1<1}} result }}


For illustration purpose, the above code segment is shown as follows:

<nowiki>{{#ifexpr: 7=3
 | {{#expr: 3+2=5}} RESULT
 | some text representing {{#expr: 1<1}} result
}}</nowiki>
{{#ifexpr: 7=3
 | {{#expr: 3+2=5}} RESULT
 | some text representing {{#expr: 1&lt;1}} result
}}