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

How to Display Inline Roll Result From Macro? (purely cosmetic)

I'm using this handy macro for displaying results from healing potions: &{template:desc} {{desc= ?{Choose a Potion of...|Healing, **Potion of Healing**: [[2d4+2]]|Greater Healing, **Potion of Greater Healing**: [[4d4+4]]|Superior Healing, **Potion of Superior Healing**: [[8d4+8]]|Supreme Healing, **Potion of Supreme Healing**: [[10d4+20]]|Keoghtom's Ointment, **Keoghtom's Ointment**: [[2d8+2]] and cured of poison and any disease} }} Which gives a result like this: I'm wondering if there's a way to get that yellow box to just display around the number, rather than stretching across the display box, like this: &{template:default} {{name=Test Attack}} {{attack=[[1d20+3]]}} {{note= This is some note content}} {{Saving Throw= vs Will}} I would like to retain the "select your potion" functionality of the first macro, however, so I'm willing to accept the unpretty display result if it can't be done without API.
1642893006
GiGs
Pro
Sheet Author
API Scripter
I suspect that is set in the poroperties if the desc rolltemplate, and you wont be able to change it. You need to look at the template's options, and if there are other rolltemplates supported by the sheet that might do better what you want.