8,756
edits
(use Dice string template by default) |
mNo edit summary |
||
Line 5: | Line 5: | ||
function DiceStats.diceStats(frame) | function DiceStats.diceStats(frame) | ||
local dice = Dice.fromString(frame.args.roll) | local dice = Dice.fromString(frame.args.roll) | ||
if (frame.args.template ~= nil | if (frame.args.template ~= nil and frame.args.template ~= '') then | ||
local templatetitle = frame.args.template | local templatetitle = frame.args.template | ||
else | else |