Change TPL file based on taxonomy term
You could probably handle it with the following code:

function mytheme_preprocess_node(&amp;$variables) {
  if (isset($variables['node']-&gt;field_myfield[$variables['node']-&gt;language][0]['tid'])) {
    $tid = $variables['node']-&gt;field_myfield[$variables['node']-&gt;language][0]['tid'];
    $variables['theme_hook_suggestions'][] = 'node__term_'. $tid;
  }
}


Now if a term with the id 6 would be referenced from a node's 'field_myfield' Drupal would look for a template named 'node--term_6.tpl.php' and use that if available.