Mini template (format) function for html, urls, etc