Transferring Leg strength to sprint power an ramp test

Have you tried training for power instead of strength in the gym? You know, things like box jumps, one leg “throws”, etc.? That’s how track sprinters seem to do it.