8,756
edits
mNo edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
local dice = Dice.fromString(frame.args.roll) | local dice = Dice.fromString(frame.args.roll) | ||
if (frame.args.template ~= nil and frame.args.template ~= '') then | if (frame.args.template ~= nil and frame.args.template ~= '') then | ||
templatetitle = frame.args.template | |||
else | else | ||
templatetitle = 'Dice string' | |||
end | end | ||
return frame:expandTemplate{ | return frame:expandTemplate{ |