The Phillies cap off the long regular season tonight against the Braves. If they win, they will set a new franchise record with 102 wins. However, this will also allow the Cardinals to make the playoffs with a win, therefore becoming the Phillies opponent in the NLDS. If the Cardinals don't win though (and the Phils do) then the Cards and Braves will play a one game playoff in order to decide the NL Wildcard. (The playoff would also occur if both teams win tonight.) This would be presumably be good for the Phillies, unless the Braves win the playoff since it wouldn't affect them. Personally, I'd rather not have the Phillies play the Cardinals in the first round, as they've been red hot lately (and beat the Phillies 3 of 4 recently). If the Braves become the wildcard team, the Phillies would play the lowest remaining seed in the NLDS, which would be the Diamondbacks. In my opinion, they don't pose much of a threat to the Phillies. Yet despite this, I'd really love the Phillies to set that franchise record, just not at the cost of playing the Cardinals in the first round, unless they burn a starter during the one game playoff.
So best case scenario? The Phillies win, the Cardinals lose, the Braves and Cardinals play a one game playoff to decide the NL Wildcard, the Braves win, and the Phillies play the Diamondbacks in the NLDS. We'll see what happens.