This is correctly written, but one has to pay attention to all the words:http://hyperphysics.phy-astr.gsu.edu/hbase/thermo/temper.html
which shows some complications using only kinetic energy as the only desigated definition of temperature for heat ransfer.
(emphasis added)Clearly, temperature has to do with the kinetic energy of the molecules, and if the molecules act like independent point masses, then we could define temperature in terms of the average translational kinetic energy of the molecules, the so-called "kinetic temperature". The average kinetic energy of the molecules of an object is an important part of the concept of temperature and provides some useful intuition about what temperature is. If all matter just consisted of independently moving point masses that just experienced elastic collisions with each other, that would be an adequate picture of temperature.