code: function (name, imageCount, textCount) {
  	// contains placeholder for optional binding attributes
  	// contains placeholder for each text and image payload
  	var template = '<binding template="' + name + '"%s>';
  	for (var i = 0; i < imageCount; i++)
  		template += '<image id="' + (i + 1) + '" src="%s" alt="%s"/>';
  	for (var i = 0; i < textCount; i++)
  		template += '<text id="' + (i + 1) + '">%s</text>';
  	template += '</binding>';
  
  	return template;
  }
docs: creates a toast or tile binding template given the name and a specific number of text and image elements