simplify inner text adding and adding of multiple styles to a template