A function to get a list of the params inside of a given template string, excluding the hidden ones we tag on to preserve template contents