Allow templates to be passed with a src or html