A man is standing in front of a temple while wearing a red hat and red shirt.
The man is outside.
A man in front of a temple would be outside.
A man being in front of a temple implies that the man is outside of the temple.
A man is standing outside of the temple while wearing a red hat and red shirt.