Rankine, who joined United from the Bluebirds last season, was recalled to act as cover to first-choice front pair Billy Sharp and Andy Keogh.
He was on the bench at Tranmere, but with Tommy Johnson now fit after a virus has again dropped back out of the first-team picture at Glanford Park.