As a code generation engine, T4 is as capable as CodeSmith or MyGeneration. It's main advantage is the tight integration in Visual Studio; the main drawback is the smaller number of ready-to-use templates.
I personally prefer the T4 editor from Tangible because it works with the T4 Toolbox.