Create template from uri