
I am trying to create a set of text-only roll buttons on a character sheet. I have managed to do this where the name of the roll button is fixed: <button type="roll" class="skillbutton"name="roll_Dodge" value="&{template:skill} {{name=@{Dodge}}}...">Dodge</button> However, I can't figure out a way to do this in a repeating section. I have tried this: <button type="roll" class="skillbutton" name="roll_RepeatingSkill" value="&{template:skill} {{name=@{RepeatingSkillName}}}...">@{RepeatingSkillName}</button>
The roll template correctly pulls the @{RepeatingSkillName} variable and displays it, but Roll20 interprets "<button...>@{RepeatingSkillName}</button>" as plain text rather than an attribute/variable. I've tried content=@{RepeatingSkillName} and a number of other things with no success. I also tried <button...><input... /></button>. This displayed the correct text, but not as a button. Is it possible to get the text of the button to display as a repeating variable?