Aaron has posted an excellent reference for anybody interested in editing or migrating templates. In his Template Tag Reference Sheet he cross-references tags between the Blogger, MovableType and WordPress platforms. Worth bookmarking and coming back to when you needed.
It’s a shame Drupal isn’t in there. Hey Aaron, here are the Drupal equivalents (using PHPTemplate)
Note: Some of the above variables are not always available, you might need to use variable_get or add to a Global statement