Hanley Ramirez in Game 6 lineup

ST. LOUIS -- Los Angeles Dodgers shortstop Hanley Ramirez, dealing with a painful hairline fracture in his ribs, was a last-minute addition to Friday night's lineup in Game 6 of the National League Championship Series.

Ramirez went hitless in three at-bats as the Cardinals routed the Dodgers 9-0 to reach the World Series.

Dodgers manager Don Mattingly had said Thursday that he expected Ramirez to play, but Nick Punto was in the team's original lineup, playing shortstop and batting eighth. The Dodgers then released a new lineup 30 minutes before game time with Ramirez batting fourth.

Ramirez was not on the field when the Dodgers were taking batting practice, but he emerged later to stretch and jog in the outfield. Ramirez had two bloop hits in 15 at-bats in the NLCS. He struck out five times.

However, he was 8-for-16 with six extra-base hits and six RBIs in the NL Division Series against the Atlanta Braves. He was struck in the ribs with a 95 mph Joe Kelly fastball in Game 1 of the NLCS and was in and out of the lineup this round.

Punto started Game 2 of the NLCS and entered as an injury replacement in two games. He was picked off second base to kill a Dodgers rally in Game 4.

Center fielder Andre Ethier, who has been playing with an ankle injury, was also in the starting lineup. He struck out twice in three at-bats.