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

Drop Down Prompts Inside Of Templates?

Is it possible to use a drop down prompt inside of a template? Like to option advantage and disadvantage and wrap it all up inside of a nice neat template?
1478920983
Lithl
Pro
Sheet Author
API Scripter
You should be able to use radio/checkbox tabs/toggle areas in a custom template (see  CSS Wizardry for both). You could also put an  API Command Button in the template output with something like <a href="!
?{Dropdown|One|Two|Three}">It's a button!</a>
Are these plus/pro features?
1478924370

Edited 1478924594
Is it possible to use a drop down prompt inside of a template? Like to option advantage and disadvantage and wrap it all up inside of a nice neat template? Yes; it is possible to write a Drop-Down Roll Query that handles rolling, and then place that Roll Query within an Inline Roll . Inline Rolls can be placed within Roll Templates . e.g. &{template:default} {{Roll=[[ ?{Roll|Normal, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + ?{Modifiers|0} ]]}}
Silvyre said: Is it possible to use a drop down prompt inside of a template? Like to option advantage and disadvantage and wrap it all up inside of a nice neat template? Yes; it is possible to write a Drop-Down Roll Query that handles rolling, and then place that Roll Query within an Inline Roll . Inline Rolls can be placed within Roll Templates . e.g. &{template:default} {{Roll=[[ ?{Roll|Normal, 1d20|Advantage, 2d20kh1|Disadvantage, 2d20kl1} + ?{Modifiers|0} ]]}} Wow thanks so much! This is a great help!