How do I create my own tokens?
This module is very good for that: Custom Tokens.


  It gives the user the ability to create custom tokens for specific replacements that can improve other modules relying on the Drupal 7 token API or, for Drupal 6, the Token module.