Difference between revisions of "Demo:IfExpr2"

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


<syntaxhighlight lang=HTML>
{{#invoke|CodeWrapper|returnNowkiText|{{:{{PAGENAME}}}} }}
{{#invoke|CodeWrapper|returnNowkiText|{{:{{PAGENAME}}}} }}
 
</syntaxhighlight>
</noinclude>
</noinclude>

Revision as of 10:02, 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|{{:{{PAGENAME}}}} }}