Extensibility and maintainability of software becomes more an issue as the complexity of the software development process rises. Design patterns in the sense of Gamma et al. [3] aid in reducing the problem of architectural decay. However, new publications steadily increase the number of documented patterns. This makes the automated and tool-supported processing of design patterns more important. Here, the definition of pattern templates receives prominent relevance. A pattern template is a semantically enriched definition of a pattern for a specific process, e.g. the selection of the pattern. This paper supports the definition of pattern templates by introducing manually added semantics via annotations to the template and to source code, along with distinguishing several types of elements that correspond between pattern template and source code. Annotations allow for explicitly declaring the sense/intention and the meaning of pattern and program parts that would otherwise not be reaso...