Thread:Flanqer/@comment-31595794-20200126164108/@comment-24931587-20200127155559

The order of the parameters has no effect, they're all passed to the template at the same time. So yes, it's possible to have the cost section test the contents of the notes field. But template parameters are fully evaluated before they are passed to the template -- the 'notes' variable won't contain " " because it'll have already been replaced with the "Removed from the shop" message, so you'd have to check for that text instead of the template.

Haven't there been some items that were added to the shop, then removed, then added again? If so, you'll need a more complicated test than just looking for the word "Removed" to determine whether the item is currently available.