dynamictemplate element
From QuestWiki
<dynamictemplate name=" name "> expression </template>
A dynamictemplate is used in a similar way as template, except that its value is an expression, not a static string.
You can print a dynamic template using the DynamicTemplate function. This takes an object or text parameter, which is then passed in to the template expression.