Mapping the magnetic transition temperatures for medium- and high-entropy alloys