Interface ParseParametersConfig

The parsing config of Wikitext.parseParameters.

Hierarchy

  • ParseParametersConfig

Properties

conditionPredicate?: ((parameter) => boolean)

Type declaration

    • (parameter): boolean
    • Only include {{{parameter}}}s that match this predicate. Note that this predicate is evaluated after the recursive config. For this reason, it had better not specify both of the configs simultaneously, but rather include a condition to see if the callback function's parameter of nestLevel has the value of 0.

      Parameters

      Returns boolean

recursive?: boolean

Whether to parse {{{parameter}}}s inside another {{{parameter}}}.

Default: true

Generated using TypeDoc