The |choixsivide{ifyes, ifnot}
filter is equivalent to the |?{sioui, sinon}
filter. It accepts either one or two parameters:
- ifyes is the value to display instead of the filtered element if that element returns an empty value itself.
- ifnot is the value to display if the filtered element is not empty.
[(#TEXTE|choixsivide{"no text present", #TEXTE})]
displays "no text present" if the #TEXTE
field has not been filled out in the private zone when the item was created, and just displays the contents of#TEXTE
if it was entered.