Format a block depending on region in page

In this example the block.tpl won't include titles if the block is being used in the left sidebar.

Include this snippet in your block.tpl file.

Snippet:
<?php if ($block->region != 'left'){?>
<h2 class="title"><?php print $block->subject ?></h2>
<?php } ?>