User:Paxed/Template:dice

From NetHackWiki
< User:Paxed
Revision as of 21:59, 3 March 2008 by Paxed (talk | contribs) (testing a new template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This template shows dicerolls in the standard d-notation and their minimum and maximum values.

Usage: {{dice|A|B|C}}

Where:

  • A is the number of dice to be rolled.
  • B is the number of sides the dices have.
  • C is an (optional) modifier added after the diceroll.

Output:

  • {{dice|1|6}} shows

1d6

(Expression error: Missing operand for +. -

Expression error: Missing operand for +.


  • {{dice|2|10|5}} shows

2d10+5

(7 -

25


  • {{dice|1|8|-2}} shows

1d8-2

(-1 -

6