Module:Dice/Format: Difference between revisions

12 bytes removed ,  14:27, 31 July 2019
no edit summary
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
         local templatetitle = frame.args.template
         templatetitle = frame.args.template
     else
     else
         local templatetitle = 'Dice string'
         templatetitle = 'Dice string'
     end
     end
     return frame:expandTemplate{
     return frame:expandTemplate{