|ou

The |ou filter [1] (since SPIP 2.0) is used to check the existence of at least one of two possible elements.

Wikipedia offers a complete definition of the Logical disjunction.

Examples:
[(#CHAPO|ou{#PS}) There is either a stand-first or a post-scriptum (or both) ]
[(#CHAPO|ou{#PS}|non) There is neither a stand-first nor a post-scriptum, and clearly then not both of them either]

See also the |et and |xou filters.

Footnotes

[1This can also be written as |or

Author Mark Published : Updated : 26/10/12

Translations : català, English, Español, français, Nederlands