Temperature sensors are often located in the MAF (if the engine has a MAF) which is before the throttle plate.
Pressure sensors are located after the throttle plate so they can read the intake manifold pressure.
Wastegates can be plumbed directly to the intake manifold or the line can be interrupted via a valve controlled by the ECU.