Codex

CondExpr...

is an expression parser. You use it via the "expr" markup, thusly:

Operations available are:

  • and
  • or
  • xor
  • &&
  • ||
  • !

I think you can also use parenthetical expressions like

Usage examples here: Cookbook:JJSApprovePage

This page may have a more recent version on pmwiki.org: PmWiki:CondExpr, and a talk page: PmWiki:CondExpr-Talk.