API:Expanding templates and rendering/es