Allow multiple template variables

Allow multiple template variables to be set, such as getting 2 users.