I have a roll button: <button
type="roll"
value="?{Add damage modifier?|
None,Damage: [[@{damage}]]|
Punch,Damage: [[@{damage}+@{mod_punch}]]|
P.S. Bonus,Damage: [[@{damage}+@{mod_ps_bonus}]]
}"
name="roll_bonus_damage"
></button>
Instead of, for example: Damage: [[@{damage}]] I'd like to use a roll template, like: &{template:custom} {{title=@{character_name} inflicts damage!}} {{Damage=[[@{damage}]]}} However I can't figure out the correct syntax. Replacing the former string with the latter causes some weird parsing and doesn't work properly: <button
type="roll"
value="?{Add damage modifier?|
None,&{template:custom} {{title=@{character_name} inflicts damage!}} {{Damage=[[@{damage}]]}} |
Punch,Damage: [[@{damage}+@{mod_punch}]]|
P.S. Bonus,Damage: [[@{damage}+@{mod_ps_bonus}]]
}"
name="roll_bonus_damage"
></button>
What's the correct way to do this?