Template:R to template