Presuming your TV has at least one DVI connector, you'll need the mini displayport to DVI adapter.
If your TV only has HDMI, you'll need the mini displayport to HDMI adapter.
If your TV has neither, but has an analog VGA (HD-15) port, you can get by with a mini displayport to VGA adapter.
For any of the above, you'll also need the correct cable, of course - HDMI cable, or DVI-D cable, or plain old VGA cable.
The macbook pro WILL detect the usable resolutions when it is connected, and adjust automatically.