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 .
×
May your rolls be chill this holiday season!
Create a free account

Pretty Macros

Hello! I have done some (small) HTML writing in the past but that was around 20 years ago and I'm rusty. Now, apparently, the Macro system uses API? or something else? So my HTML writing experience is... not applicable LOL! So here's what I'm trying to do. I'm using the D&D 5E by Roll20 character sheet and I would like my macros to match that template. So they look like: instead of:  I know I can use the &{template:xxx} command to add a template but I don't know what the names of the templates are and all the ones that I have found either don't work so it's just text or they show up as blank. Is there a list somewhere of the template names?
1598031160
David M.
Pro
API Scripter
This does a pretty good job of summarizing the templates for that sheet <a href="https://wiki.roll20.net/D%26D_5e_by_Roll20_Roll_Templates" rel="nofollow">https://wiki.roll20.net/D%26D_5e_by_Roll20_Roll_Templates</a>
1598035082
Ziechael
Forum Champion
Sheet Author
API Scripter
In addition to the resource supplied by David, a common way to get a feel for a particular template is to call something that uses it (an attack, spell or whatever) then click into the chat and press the up key to call the last command, you can then copy that and reverse engineer the components to get a feel for what can be done to customise them :)
I tried doing the up arrow thing but it only shows&nbsp;@{Zelda|performance_roll} or something similar. Thank you David!! I was looking for that EXACT guide but couldn't find it!
1598048839
David M.
Pro
API Scripter
Ziechael's method is very useful when you are starting out. I still use it often to get a "head start" on a new macro. Go into your character sheet and trigger an attack or spell that uses one of the 5e templates, then try the up arrow thing :)
Awesome! I was able to get BOTH of these to work for me! Thank you all so much for your help!!