Template:DieRoll



Usage
  gives:

Or, you can omit the text variable, in which case the dice variable contents will be used as the text label. For example:   gives:

NaN result
If you get a result of "NaN" in the popup results window ("Not a Number" in JavaScript), most likely you've mistyped your 'dice' attribute. Make sure your result meets the syntax on the Talk page and try again.