{{#*inline "button"}} {{!-- Image (and label, optionally) --}} {{#if data.img}} {{#if data.label}} {{{data.label}}} {{/if}} {{!-- Label only, if no image --}} {{else}} {{{data.label}}} {{/if}} {{/inline}} {{#each dicerows as |dice|}} {{#each dice as |data key|}} {{> button data=data key=key}} {{/each}} {{#if (and @root.settings.compactMode @last)}} {{#unless @root.settings.hideNumberInput}} {{/unless}} {{#unless @root.settings.hideAdv }} {{/unless}} {{#unless @root.settings.hideRollButton}} {{localize "DICE_TRAY.Roll"}} {{/unless}} {{/if}} {{/each}} {{#unless settings.compactMode}} {{#if @root.settings.hideNumberButtons}} {{else}} {{/if}} {{#unless @root.settings.hideAdv }} {{/unless}} {{#unless settings.hideRollButton}} {{localize "DICE_TRAY.Roll"}} {{/unless}} {{/unless}}