scripting:api:application:expand-template