User:Paxed/Template:dicemax
Jump to navigation
Jump to search
This template returns the maximum value a die roll in the standard d-notation can give. This cannot handle more than one d-notation, so no 1d6+1d4.
Usage: {{dicemax|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:
- {{dicemax|1|6}} shows 6
- {{dicemax|2|10|5}} shows 25
- {{dicemax|3|8|-2}} shows 22