Your school’s past ranking (which varies year to year and can be ranked in many different ways) is not a direct input into your ATAR and therefore has no effect.
The only so-called ‘effects’ are indirect ones, for example the school’s culture, its availability of resources, quality of teachers etc