Open orffen opened 11 months ago
Pass data from the item/actor into the handlebars helper function to return a formatted roll label.
For example:
Handlebars.registerHelper('localizeRollLabel', function(data) { return `${game.i18n.localize('BASICFANTASYRPG.Roll')}: ${game.i18n.localize('TYPES.Item.' + item.type)} - ${item.name}`; });
Pass data from the item/actor into the handlebars helper function to return a formatted roll label.
For example: