MissThundercat
Are the cis okay?
If it's a three way tie, the procedure is A hosts B, with the loser playing at C for the second spot. The two winners then play the actual wild card game.
The teams get to pick which designation (A, B, or, C) based on other procedures like head to head record and the like.
This leads to the possible scenario of the Mets playing five games in six days in four different cities. They end the season in Philly. They could then go to St. Louis for the first tiebreaker, lose, go to S.F. for the second tiebreaker, win, go back to St. Louis for the actual wild card game, win, then go to Chicago for the NLDS.
Mets and Giants won last night. Cardinals didn't play.