HOWTO: Show Page Template Name
A cool function to simply display the path of the WordPress template used on a particular page:
<?php echo get_page_template() ?>
How/when to use this?
If you are trying to debug a site and want to quickly see what page template is used – you can put that PHP code into footer.php and it will then echo out the path so you can quickly and easily see what template is being used.