The |>={value} filter returns "true" if the results of the tag to which it is applied is greater than or equal to "value".

  • New in : SPIP 1.8

{value} can be numeric [1] (5, 18.2, 84,...), or alphanumeric [2] (abc, a word,...)

For example:
[(#TOTAL_BOUCLE) [(#TOTAL_BOUCLE|>={2}|?{'articles', 'article'})] in this section.] to correctly display the singular/plural noun.

See also the
|!=a and
|==a filters.


[1If a decimal number is passed as the value, it must use a decimal point and not a comma as in several European languages

[2The check takes account of uppercase and lowercase characters

Author Mark Published : Updated : 22/07/23

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