Treatment planning for permanent and temporary percutaneous implants with custom made templates