How to convert <$lst filter=.... to {{{....}}}

Hi! I have good working filter
<$list filter="[!ostatok[0]]" emptyMessage=“под заказ”>в корзину</$list>

But I want to convert it to {{{…}}} view
I test variant with “else” but it didn`t work.

Try this:

{{{ [!ostatok[0]]then[в корзину]else[под заказ]] }}}

2 Likes

Thank, you! This variant {{{[<currentTiddler>!ostatok[0]then[в корзину]else[под заказ]]}}}
works good.