see also Inline SVG use.
Example of template use:
{{myTemplate|100|yellow}} {{myTemplate|200|red}}
Example of template declaration:
<svg width="{{{1}}}" height="100"><circle cx="50" cy="50" r="40" stroke="green" stroke-width="4" fill="{{{2}}}" /></svg>