Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Adding query to default template

So I've been creating some macros using the default template to add descriptive text etc.

i wanted to add a line so that it will ask if a certain criteria is filled and if so, adds an extra line with the extra damage.  When I try to add the query in between the {{}} for a new line, it asks the question but doesn't add the line or damage.

Any advice?
August 07 (8 years ago)
The Aaron
Pro
API Scripter
Can you post your macro?  You probably need to use some HTML Entities to escape the }} {{.  Silvyre and Scott C. are the real experts on that.
The macro I'm using is below.  My understanding is pretty basic though so its probably all wrong haha

&{template:default} {{name=description}} {{note= Range: 150/600}} {{attack=[[1d20+5]]|[[1d20+5]]}} {{damage=[[1d8+3]] Piercing damage}}{{?{Sneak Attack?|No, |Yes, 1d6[Sneak Attack]}}
August 07 (8 years ago)
The Aaron
Pro
API Scripter
I think Scott C. or Silvyre will have to help with that...
August 07 (8 years ago)
Looks like you're missing a } at the end of the macro.
Omg.  Thank you lol.  That's been driving me crazy :D