Ah ok, there's a couple of issues in there, which only crop up once you try to nest it inside another template. All of the @ and the double left braces need to be escaped to avoid confusing the default roll template: /w gm &{template:default} {{name=**Equipment**}}{{Inventory=[@{selected|repeating_inventory_$0_itemname}](`#&{template:npcaction} {{rname=@{selected|repeating_inventory_$0_itemname}}} {{name=@{selected|repeating_inventory_$0_itemmodifiers}}} {{description=@{selected|repeating_inventory_$1_itemcontent}}}") }} Nesting entire templates in buttons is a relatively recent arcane art, but the good thing is you can generally escape anything inside the ( parentheses ), since we don't need any of it to parse successfully when the macro is run. There's a few single { braces left in there which could also be escaped, but leaving them in there to see what they break in the future is also fun :) Just make sure you leave the attribute reference in the [ squackets ] alone, or you'll get a very ugly button label!