Kitchen/Bar Display using Task Printer - separate displays for Food and Drink

Hello,
I’ve implemented this awesome kitchen display and now I’m trying to customize the UI. What I would like to achieve is sth like @emre showed in the SambaPOS 5.1.62 Release thread (no need for the waitor’s queue although it would be nice thing to have in the future).
The problem is that I don’t really get the task printer template tags. I made some changes to the template shared by QMcKay:


This is what I get:
result
It does not interpret the tag anymore (after deleting the ++… line as do not need it)
However, when I delete these tags, it stops working altogether giving me this error:
result2

Where can I get some info on how to format the kitchen display card? Any help is much appreciated.
Thank you, stroodl