wdpr
    Preparing search index...
    • Render a [[#ifexpr]] conditional expression element.

      Evaluates the mathematical expression; a result of 0 selects the else branch, any non-zero result selects the then branch. On evaluation error, a Wikidot-compatible error message is displayed and neither branch is rendered.

      Parameters

      • ctx: RenderContext

        The current render context.

      • data: IfExprData

        If-expression data with expression string and then/else branches.

      Returns void