With the version 2.2.7 we have launched a new system for model element templates. Now you can define almost anything as a template, and if you find something that cannot be done like this, let us know.
How templates work is documented in the template guide and the template reference.
However this is heavy stuff and to ease your start with new templates, and provide with some real-world examples, we have prepared a predefined template library. If you miss some template there, or if you have some template that is really useful in your projects, share it with the community.