The following are very important tools in my box when creating node template for drupal 6:
<?php
print '
';
print_r(get_defined_vars());
print '
';
?>
<?php
print '
';
print htmlspecialchars(print_r(get_defined_vars(), TRUE), ENT_QUOTES);
print '
';
?>
<?php print_r($node); ?>