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 get the default d20 symbol for a button in chat?

So, I've put together a character sheet with roll templates. One of the things I have working is that, when rolling an attack, the roll template displays a button to roll damage in the chat. If I wanted to put roll20's default "d20" symbol on the button, like the default buttons on the character sheet itself, how would I do that?
1585877729
GiGs
Pro
Sheet Author
API Scripter
The d20 image is character in a font. The font details are on the css wizardry page, I believe, in the wiki. Have a look there.
Yep, found it! For anyone else looking for this answer: set the label of the button to be a lowercase t, and use CSS to make the button's font-family attribute "dicefontd20"
1585883397
GiGs
Pro
Sheet Author
API Scripter
Yay! I'd have posted more complete instructions, but I was still waking up :)