Difference between revisions of "Demo:IfExpr2"

From PKC
Jump to navigation Jump to search
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>


{{#invoke:CodeWrapper|returnHighLightedPage|{{:{{PAGENAME}}}}}}
{{#invoke:CodeWrapper| returnNowkiText |{{:{{PAGENAME}}}}}}
</noinclude>
</noinclude>

Revision as of 04:21, 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<1}} result }}