How can I print something conditionally on node.tpl.php depending on what taxonomy term the node is tagged with? For example, I would like to print something only when the currently viewed node is tagged with tid = 100. How can I do this?
Can you try this...

&lt;?php if ($node-&gt;taxonomy[100]): ?&gt; 
    print anything here 
&lt;?php endif; ?&gt;