Is this really the version you are looking for? Kentico 8 documentation is no longer updated. Use the switch in the header to choose your Kentico version.

Extending the macro engine

The system allows you to extend the macro engine in several different ways. You can prepare custom macros that provide any functionality required by your users.