Difference between revisions of "User:Paxed/Template:dice"
Jump to navigation
Jump to search
(testing a new template) |
m |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude><includeonly> | + | <onlyinclude><includeonly>{{{1}}}{{{2|}}}{{{3|}}} ({{#expr:{{:User:Paxed/Template:dicemin|{{{1}}}}}+{{:User:Paxed/Template:dicemin|{{{2|0}}}}}+{{:User:Paxed/Template:dicemin|{{{3|0}}}}} }} - {{#expr:{{:User:Paxed/Template:dicemax|{{{1}}}}}+{{:User:Paxed/Template:dicemax|{{{2|0}}}}}+{{:User:Paxed/Template:dicemax|{{{3|0}}}}} }})</includeonly></onlyinclude> |
− | {{{1}}} | ||
− | + | This template shows dicerolls in the standard [[d notation|d-notation]] and their minimum and maximum values. | |
− | |||
− | </ | + | '''Usage:''' <tt><nowiki>{{dice|AdB|+C}}</nowiki></tt> |
− | + | '''Parameters:''' Accepts 1-3 parameters, each of which can be either a d-notation or a simple plus or minus. | |
− | + | '''Examples:''' | |
+ | *<tt><nowiki>{{dice|1d6}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|1d6}}</tt> | ||
+ | *<tt><nowiki>{{dice|2d10|+5}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|2d10|+5}}</tt> | ||
+ | *<tt><nowiki>{{dice|3d8|-2}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|3d8|-2}}</tt> | ||
− | + | *<tt><nowiki>{{dice|1d10|+1d8}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|1d10|+1d8}}</tt> | |
− | * | + | *<tt><nowiki>{{dice|2d8|+2d4|+5}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|2d8|+2d4|+5}}</tt> |
− | * | + | *<tt><nowiki>{{dice|10d10|+5d4|-10}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|10d10|+5d4|-10}}</tt> |
− | |||
− | + | *<tt><nowiki>{{dice|1d10|-1d4|+2}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|1d10|-1d4|+2}}</tt> | |
− | *<tt><nowiki>{{dice| | + | *<tt><nowiki>{{dice|3d6|-1d4|-3}}</nowiki></tt> shows <tt>{{:User:Paxed/Template:dice|3d6|-1d4|-3}}</tt> |
− | *<tt><nowiki>{{dice| | + | |
− | + | '''Depends on:''' [[:User:Paxed/Template:dicemin]] and [[:User:Paxed/Template:dicemax]] |
Latest revision as of 08:07, 5 March 2008
This template shows dicerolls in the standard d-notation and their minimum and maximum values.
Usage: {{dice|AdB|+C}}
Parameters: Accepts 1-3 parameters, each of which can be either a d-notation or a simple plus or minus.
Examples:
- {{dice|1d6}} shows 1d6 (1 - 6)
- {{dice|2d10|+5}} shows 2d10+5 (7 - 25)
- {{dice|3d8|-2}} shows 3d8-2 (1 - 22)
- {{dice|1d10|+1d8}} shows 1d10+1d8 (2 - 18)
- {{dice|2d8|+2d4|+5}} shows 2d8+2d4+5 (9 - 29)
- {{dice|10d10|+5d4|-10}} shows 10d10+5d4-10 (5 - 110)
- {{dice|1d10|-1d4|+2}} shows 1d10-1d4+2 (2 - 8)
- {{dice|3d6|-1d4|-3}} shows 3d6-1d4-3 (-1 - 11)
Depends on: User:Paxed/Template:dicemin and User:Paxed/Template:dicemax