A page citation would be helpful when the rules aren't easily found in the ToC. I had to go to the monster index to find it.
This template is not well written, but the relevant rules are in the "attack" and "full attack" sections of the template, which state the templated creature retains all the "attacks" of the base creature, with those requiring physical contact becoming incorporeal touch attacks. From context, these are weapon attacks because those are the kind of "attacks" that appear in the attack and full attack lines of monster stats. If you take the template literally it might apply to manufactured weapons even though that makes no sense. A more reasonable interpretation makes it apply only to natural weapons. A green dragon's breath is not a natural weapon or any kind of an "attack" that appears in the "attack" and "full attack" sections at all---it's listed under "special attacks"---and doesn't require an attack roll, so it doesn't get energy drain.