Difference between revisions of "User:Yenwood/Sandbox/Template:Dice"
From DDO Compendium
< User:Yenwood | Sandbox
Line 1: | Line 1: | ||
{{# | <nowiki>{{{1}}} = amount of dice | ||
{{{2}}} = side of dice | |||
{{{3}}} = (optional) number to add | |||
{{{4}}} = (optional) multiplier (multiplies base roll) | |||
Example: | |||
1.25[2d8] + 6 | |||
{{Dice | 2 | 8 | 6 | 1.25}}</nowiki> | |||
<onlyinclude> | |||
{{#bootstrap_tooltip: {{{1}}}d{{{2}}} | text = {{{1}}}-{{#expr:{{{1}}}*{{{2}}}}} | placement = bottom }} | |||
</onlyinclude> |
Revision as of 17:26, 30 April 2018
{{{1}}} = amount of dice {{{2}}} = side of dice {{{3}}} = (optional) number to add {{{4}}} = (optional) multiplier (multiplies base roll) Example: 1.25[2d8] + 6 {{Dice | 2 | 8 | 6 | 1.25}}
{{{1}}}d{{{2}}}