I am using the following macro for initiative:
&{template:default} {{name=@{selected|token_name} rolls for initiative}} {{Initiative=[[1d20+@{selected|dexterity_mod}+@{selected|dexterity}/100&{tracker}]]}}
It works as intended. I made it available to all players, and if they select their token, they get the initiative button as a token action and with one click can roll for initiative and add that to the tracker. However the output in the chat looks like this:
If I use the D&D 5E by Roll20 sheet to roll initiative from the character sheet, the output looks like this:
The difference is obviously that my macro uses &{template:default}, and the sheet uses a different template, presumably the "simple" one described at https://wiki.roll20.net/D%26D_5e_by_Roll20_Roll_Templates. But if I try to use that one:
&{template:simple} {{rname=Initiative}} {{mod=@{selected|dexterity_mod}+@{selected|dexterity}/100&{tracker}}} {{r1=1d20}} {{normal=1}} {{charname=@{selected|token_name}}}
the output is all wrong:
Can somebody help me to fix my macro? I probably messed up somewhere with the brackets and parentheses.