[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] [uk] [vi] [zh] Espace de traduction



July 2010 — updated on : June 2010

All the versions of this article:

The |oui filter [1] (since SPIP 2.0) returns either a space or nothing at all.
It is equivalent to |?{' ',''} or |?{' '}, and is used to return a non-empty content (a space) to indicate that the optional parts of the tag should be displayed.

[(#TITRE|strlen|>{30}|oui) This title is a long one


See also the |non filter.


[1This can also be written as |yes

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