How 401(k) money is taxed

How contributions, growth, withdrawals, loans, and rollovers are taxed, for traditional and Roth accounts.