Difference between revisions of "Demo:IfExpr2"

From PKC
Jump to navigation Jump to search
Line 13: Line 13:
</syntaxhighlight>
</syntaxhighlight>
</noinclude>
</noinclude>
{{#invoke|CodeWrapper|returnNowkiText|{{:{{PAGENAME}} }}}}

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 }}


{{#invoke|CodeWrapper|returnNowkiText|Template loop detected: Demo:IfExpr2}}}}