
Is it possible to create an API Command Button that when clicked creates a roll template?
I'm trying to get this template:
&{template:simple} {{normal=1}} {{rname=Booming Blade Trigger}} {{r1=[[2d8]]}} {{charname=Thunder}}

to show after clicking an API Command Button in chat,

but none of my attempted combinations of characters and html entities have worked so far. I get the template right away with no button, a button that does nothing or outputs leftover brackets, or just the text inside the square brackets for the button.
I'm trying to get this template:
&{template:simple} {{normal=1}} {{rname=Booming Blade Trigger}} {{r1=[[2d8]]}} {{charname=Thunder}}

to show after clicking an API Command Button in chat,

but none of my attempted combinations of characters and html entities have worked so far. I get the template right away with no button, a button that does nothing or outputs leftover brackets, or just the text inside the square brackets for the button.