The syntax for qie.evaluateTemplate() is this:
qie.evaluateTemplate('template', parameters*, 'escapeFor*', isJSON*, 'endpointURL*', alternateMessages);
Take note of the final argument, alternateMessages. To use an alternate message with qie.evaluateTemplate(), you would pass a message object (i.e. an HL7 or JSON object) as that final argument.
Then, in your template, you would use this node tag syntax to access that message:
{alt:nodePath}
For example, if you passed an HL7 message object as the alternateMessage, you could access PID-3 of that altnernate message like this:
{alt:PID-3}