Admonition in template?

Is there something specific I need to do to get an admonition working within a template? I’m trying to do something along the lines of:

\`\`\`template
> **note** Campaigns
{{#each @p in {page where name =~ 'Campaign'}}}
>{{@p.name}}
{{/each}}
\`\`\`

I would expect it to render like the top one which I added manually instead of the bottom, which is the template. Baking it does cause it to render how I would expect:

Thanks!

Side question:
Would anyone have any idea why I’m having trouble getting the additional admonition types to work? I’m not seeing any difference between the way the elements render, it just seems I’m not getting the css to apply correctly…