1,043
edits
(add extraafterroll support) |
(oops, pcall no longer necessary) |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
function DiceFormat.diceStats(frame) | function DiceFormat.diceStats(frame) | ||
local | local dice = Dice.parse(frame.args.roll) | ||
local template_title = (frame.args.template ~= nil and frame.args.template ~= '') and frame.args.template or 'Dice string' | local template_title = (frame.args.template ~= nil and frame.args.template ~= '') and frame.args.template or 'Dice string' |