• New in : SPIP 1.8

|choixsiegal{value,ifyes,ifnot} will display "ifyes" of the value of the tag equals "value", and will display "ifnot" if it does not equal that value.

<BOUCLE_blog(ARTICLES) {par date} {inverse} {"<br>"}>
[<hr><h1>(#ID_ARTICLE|choixsiegal{10, "IMPORTANT", ""})</h1>]
#TITRE ...

will display the word "IMPORTANT" if the ID_ARTICLE equals "10", and will display nothing if it does not.

Author Mark Published : Updated : 14/07/23

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