Difference between revisions of "Demo:IfExpr1"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
<nowiki>'''Wrapper wikicode or text''' <code>{{#ifexpr: 3<5
<nowiki>'''Wrapper wikicode or text''' {{#ifexpr: 3<5
  | This expression is {{#expr: 0=0}}
  | This expression is {{#expr: 0=0}}
  | This expression is evaluated to {{#expr: 9>9}}
  | This expression is evaluated to {{#expr: 9>9}}
}}</code> '''Wrapper wikicode'''.</nowiki>
}} '''Wrapper wikicode'''.</nowiki>
<noinclude>
 
For illustration purpose, the above code segment is shown as follows:
<syntaxhighlight lang=HTML>
<nowiki>'''Wrapper wikicode or text''' {{#ifexpr: 3<5
| This expression is {{#expr: 0=0}}
| This expression is evaluated to {{#expr: 9>9}}
}} '''Wrapper wikicode'''.</nowiki>
</syntaxhighlight>
</noinclude>

Revision as of 09:15, 19 May 2022

'''Wrapper wikicode or text''' {{#ifexpr: 3<5 | This expression is {{#expr: 0=0}} | This expression is evaluated to {{#expr: 9>9}} }} '''Wrapper wikicode'''.


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

<nowiki>'''Wrapper wikicode or text''' {{#ifexpr: 3<5
 | This expression is {{#expr: 0=0}}
 | This expression is evaluated to {{#expr: 9>9}}
}} '''Wrapper wikicode'''.</nowiki>