{{if or .Data.T.Results .Data.I.Results}}
{{range .Data.T.Results}}
{{if eq .Media_type "movie"}}
{{else if eq .Media_type "person"}}
{{else if eq .Media_type "tv"}}
{{end}}
{{end}}
{{range .Data.I.Results}}
{{if eq .Type "works"}}
{{else if eq .Type "humans"}}
{{else if eq .Type "series"}}
{{end}}
{{end}}
{{else if eq .Data.T.Total_pages 0}}
{{if .Poster_path}}
{{else if eq .Media_type "movie"}}
{{else if eq .Media_type "tv"}}
{{else if eq .Media_type "person"}}
{{end}}



{{.Name}}
{{if not .Release_date.IsZero}}{{.Release_date.Year}}
{{end}} {{if eq .Media_type "tv"}}{{$.Strings.Search.tvserie}}
{{else if eq .Media_type "movie"}}{{$.Strings.Search.film}}
{{else if eq .Media_type "person"}}{{$.Strings.Search.person}}
{{end}}
{{if .ImagePath}}
{{else if eq .Type "works"}}
{{else if eq .Type "humans"}}
{{else if eq .Type "series"}}
{{end}}



{{.Label}}
{{if eq .Type "works"}}{{$.Strings.Search.book}}
{{else if eq .Type "humans"}}{{$.Strings.Search.author}}
{{else if eq .Type "series"}}{{$.Strings.Search.bookserie}}
{{end}}{{.Strings.Search.not_found_quote}}
—{{.Strings.Search.not_found_character}} ({{.Strings.Search.not_found_title}}, {{.Strings.Search.not_found_code}} {{.Strings.Search.not_found_episode}})
{{else if gt .Data.T.Page .Data.T.Total_pages}}
{{end}}
{{.Strings.Search.too_far_quote}}
—{{.Strings.Search.too_far_character}} ({{.Strings.Search.too_far_title}})