SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [vi] [zh] Espace de traduction

Download

|>={a}

July 2010 — updated on : June 2010

All the versions of this article:


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

{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, |<a, |<=a, |!=a and |==a filters.

Footnotes

[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


Show the template of this page Site powered by SPIP | Translation area | Private area