Difference between revisions of "Demo:IfExpr2"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
}}</nowiki> | }}</nowiki> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{#invoke|CodeWrapper|returnNowkiText|{{:{{PAGENAME}}}} }} | |||
</noinclude> | </noinclude> | ||
Revision as of 10:01, 19 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>
{{#invoke|CodeWrapper|returnNowkiText|{{#ifexpr: 7=3 | {{#expr: 3+2=5}} RESULT | some text representing {{#expr: 1<1}} result }}
}}