A long Time ago
You probably mean temples instead of templates. And yes, Babylonians for one built them, often using their roofs for astronomical research. They discovered and documented the location and movements of many planets and stars.
Planets orbit stars.
stars, the planets have to get heat from stars
Planets orbit stars, stars orbit a galaxy. Planets are not "on" anything. A lot of stars out there have planets - we are just finding out how many now that we have better techniques to find them. So probably all galaxies have at least some stars with planets.
No. Dwarf planets orbit stars just like planets do. Stars orbit the center of their galaxy. An object orbiting a planet would be a moon.
A long Time ago
1990-1780b.C.
Babylonians
You probably mean temples instead of templates. And yes, Babylonians for one built them, often using their roofs for astronomical research. They discovered and documented the location and movements of many planets and stars.
The ancient Greeks. I know the Babylonians and Sumerians were before the Greeks. I think the Chinese studied the stars even earlier.
Charting of the stars
Planets orbit stars.
Since ancient Greece maybe, the ancient Greeks named the 88 constellations. Edit: It was probably the Babylonians who really started naming groups of stars. The modern system of 88 constellations was only finalised in the last century. Obviously the Babylonians, Greeks, etc., couldn't even see the stars that can be seen only from the Southern Hemisphere.
planets, meaning the wanderers.
stars, the planets have to get heat from stars
The stars and three of the planets were discovered in about 27,000 BC by Professor Ughhh the Caveman when he happened to be out of his cave at nightfall. They are, after all, pretty obvious to anybody who looks up in the evening or before dawn. The ancient Babylonians and Egyptians were careful observers of the night sky, and by the time of the Greeks, had cataloged most of the brighter stars and the five "visible" planets. The earliest known star atlas was the Almagest of Claudius Ptolemy, a Roman citizen who lived in Alexandria, Egypt. (The Almagest refers to earlier catalogs which have not survived the intervening 2000 years.)
Question: did Greeks distinguish planets from stars? Answer: Greeks distinguished planets from stars by studying them for a while and they just so happen to be really smart people. No offence to any other races , seriously because I'm not even Greek. i hope that helped