 node templates template files all themes usually come with a default nodetplphp template drupal core lets you use the following variant suggestion node contenttypename tplphp ex nodestorytplphp if present will be used to theme a story node important  whenever you add new template files in your theme you need to rebuild the theme registry or the theme engine won t see them you can do that by visiting the administer modules page or using devel module  s clear cache link template variables cck makes the following variables available in your theme s node templates fieldname rendered contains the rendered html for the field including the label and all the field s values with the settings defined on the display fields tab groupname rendered contains the rendered html for the fieldgroup if any including the label and all the group s fields with the settings defined on the display fields tab this variable therefore includes the html contained in all the fieldname rendered variables for the group s fields fieldname contains the raw values of the fields in the usual arrayformat used internally by cck what you find in there depends on the field type each value also contains a view element that holds the readytodisplay value as rendered by the formatter for instance array 0 array nid 5 view a href node 5 title of node 5 a  raw data are not sanitized for output it is therefore not advised to use them directly  use the view value or run the values through contentformat  excluding fields from the content variable by default the content variable used in node templates contains the rendered html for the whole node cck fields and fieldgroups but also body file attachments fivestar widgets if for some fields you want to use the more finegrained variables described above you might want to use the exclude checkboxes on the display fields screen so that the output of those fields is excluded from the content variable you can then customize the display and layout of some cck fields or groups using the fieldname rendered groupname rendered variables and trust content to display the rest without getting duplicate information advanced trick the exclude checkboxes affect all active themes on sites with multiple themes however the list of fields to exclude from content might need to be different across the themes depending on how their respective node templates are structured a theme can bypass those settings by overriding the themecontentexclude function to specify the list of fields to exclude for this theme see the phpdoc of the function for more information  special case nodes in nodereference fields in addition to the above the following suggestions will be looked for in priority for nodes that are displayed as values of a nodereference field using the teaser or full node formatters nodenodereference referringfieldname typename tplphp ex nodenodereferencefieldnoderefstorytplphp if present will be used to theme a story node when refererenced in the fieldnoderef field nodenodereference typename tplphp ex nodenodereferencestorytplphp if present will be used to theme a story node when refererenced in any nodereference field nodenodereference referringfieldname tplphp ex nodenodereferencefieldnodereftplphp if present will be used to a node refererenced in the fieldnoderef field nodenodereferencetplphp if present will be used to theme nodes referenced in nodereference fields the following additional variables are available in templates for referenced nodes referringfield the nodereference field that references the current node referringnode the node referencing the current node  