I'm not familiar enough with making sections of sheets. On the megaverse sheet, the roll for the button is all contained in the value= section, like is shown on line 109. I'm assuming the attr_OCCT is the full skill rating you are rolling against. A complete working value may look something like this. value="&{template:default} {{name=**@{Name}**}} {{@{OCCSK}=[[d100cs<@{OCCT}cf>(@{OCCT}+1)]]}}" From looking at the sheet, I think @{Name} will pull the character name, @{OCCSK} is the name of the skill, and @{OCCT} is the full skill rating. If any of that is off, you would need to adjust it to have the correct label. I admit that doesn't help you with the other section you are writing which may make the output more presentable in some way, and avoid using the default template. Hopefully someone will come along that can address that! Edit: I tried doing this on my sheet, and it will not accept a calculation as part of cs/cf. I can't get it to accept a ( in that part of the macro. However, you can still use the call. This will work to make a higher roll red and a lower roll green. I haven't played with it enough to see what it does when you land exactly on the OCCT number, but my guess is that it will be outlined in blue since it qualifies as both cs and cf. value="&{template:default} {{name=**@{Name}**}} {{@{OCCSK}=[[d100cs<@{OCCT}cf>@{OCCT}]]}}"