What is the entity variable I will use in my template

Ticket Lister will only work for tickets not orders. For orders you need to use the Task Editor widget. Here is a tutorial to get you started.