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)
“Non-Loop” (page.tpl.php)
- $base_url
- $site_name
- $site_slogan
“Loop” (node.tpl.php)
- $content
- $teaser
- $name
- $terms
Note: Some of the above variables are not always available, you might need to use variable_get or add to a Global statement