FANDOM


Usage Edit

{{DieRoll|title=Damage|dice=3d6+9|text=Roll for Damage}} gives: Roll for Damage

Or, you can omit the text variable, in which case the dice variable contents will be used as the text label. For example: {{DieRoll|title=Damage|dice=3d6+9}} gives: 3d6+9.

For specialized uses, there are derivatives of this template to make certain die rolls less wikitext to type out:

NaN result Edit

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.