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

|non

July 2010 — updated on : June 2010

All the versions of this article:


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

Examples:
[(#TITRE|strlen|>{30}|non) This title is a short one]
[(#EMAIL|non) #FORMULAIRE_SAISIE_EMAIL ]

 
 
 
 

voir aussi le filtre |oui

Footnotes

[1this can also be written as |not


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