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

Default Template Rows

December 10 (4 years ago)

Hey everyone!  Just starting with Roll20 macros and I am hitting a wall.  I have been setting up token macros for the monsters, like this one for Saving Throws so:

/w gm &{template:default} {{name=Saving Throws}} {{Str Save= [[1d20+@{npc_str_save}]] | [[1d20+@{npc_str_save}]]}} {{Dex Save= [[1d20+@{npc_dex_save}]] | [[1d20+@{npc_dex_save}]]}} {{Con Save= [[1d20+@{npc_con_save}]] | [[1d20+@{npc_con_save}]]}} {{Int Save= [[1d20+@{npc_int_save}]] | [[1d20+@{npc_int_save}]]}} {{Wis Save= [[1d20+@{npc_wis_save}]] | [[1d20+@{npc_wis_save}]]}} {{Cha Save= [[1d20+@{npc_cha_save}]] | [[1d20+@{npc_cha_save}]]}}

They all come out in a nice chart.  

However, I cannot get the character saves to do the same thing.  The modified macros is:

/w gm &{template:default} @{charname_output} {{name=Saving Throws}} {{Str Save=[[@{d20}+@{strength_save_bonus}@{pbd_safe}]] | [[@{d20}+@{strength_save_bonus}@{pbd_safe}]]

Dex Save=[[@{d20}+@{dexterity_save_bonus}@{pbd_safe}]] | [[@{d20}+@{dexterity_save_bonus}@{pbd_safe}]]

Con Save=[[@{d20}+@{constitution_save_bonus}@{pbd_safe}]] | [[@{d20}+@{constitution_save_bonus}@{pbd_safe}]]

Int Save=[[@{d20}+@{intelligence_save_bonus}@{pbd_safe}]] | [[@{d20}+@{intelligence_save_bonus}@{pbd_safe}]]

Wis Save=[[@{d20}+@{wisdom_save_bonus}@{pbd_safe}]] | [[@{d20}+@{wisdom_save_bonus}@{pbd_safe}]]

Chr Save=[[@{d20}+@{charisma_save_bonus}@{pbd_safe}]] | [[@{d20}+@{charisma_save_bonus}@{pbd_safe}]]}}

But I end up with only the first line bolded, like so:

I have tried double-bracing each save, moving them all to the same line, with spaces and without.  Any idea what I am missing?  Thanks in advance for any help!


December 10 (4 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator

You need to wrap each field in double braces and each field has to start on the same line as the field before it, so your macro should look like this:

/w gm &{template:default} @{charname_output} {{name=Saving Throws}} {{Str Save=[[@{d20}+@{strength_save_bonus}@{pbd_safe}]] | [[@{d20}+@{strength_save_bonus}@{pbd_safe}]]}} {{Dex Save=[[@{d20}+@{dexterity_save_bonus}@{pbd_safe}]] | [[@{d20}+@{dexterity_save_bonus}@{pbd_safe}]]}} {{Con Save=[[@{d20}+@{constitution_save_bonus}@{pbd_safe}]] | [[@{d20}+@{constitution_save_bonus}@{pbd_safe}]]}} {{Int Save=[[@{d20}+@{intelligence_save_bonus}@{pbd_safe}]] | [[@{d20}+@{intelligence_save_bonus}@{pbd_safe}]]}} {{Wis Save=[[@{d20}+@{wisdom_save_bonus}@{pbd_safe}]] | [[@{d20}+@{wisdom_save_bonus}@{pbd_safe}]]}} {{Chr Save=[[@{d20}+@{charisma_save_bonus}@{pbd_safe}]] | [[@{d20}+@{charisma_save_bonus}@{pbd_safe}]]}}
December 10 (4 years ago)

Thanks!  I thought I had tried that, but apparently I missed something.