Template:R from database entry