Difference between revisions of "Template:Dice"
From DDO Compendium
MNDeveloper (talk | contribs) |
|||
Line 1: | Line 1: | ||
<noinclude>[[Category:Template]]{{TemplateDocumentation | <noinclude>[[Category:Template]]{{TemplateDocumentation | ||
|name = Dice | |name = Dice | ||
|description = This template is used to display a possible dice roll. This is specifically used on weapons to say what is the basic damage amount possible. It uses a bootstrap tooltip to show the | |description = This template is used to display a possible dice roll. This is specifically used on weapons to say what is the basic damage amount possible. It uses a bootstrap tooltip to show the range of values. | ||
|example1 = <nowiki>{{Dice|1.25|2|8|4|6}}</nowiki> | |example1 = <nowiki>{{Dice|1.25|2|8|4|6}}</nowiki> | ||
|example1output = {{Dice|1.25|2|8|4|6}} | |example1output = {{Dice|1.25|2|8|4|6}} |
Revision as of 19:13, 5 May 2018
Dice[edit]
This template is used to display a possible dice roll. This is specifically used on weapons to say what is the basic damage amount possible. It uses a bootstrap tooltip to show the range of values.
Example Usage | |
{{Dice|1.25|2|8|4|6}} | 1.25[2d8+4]+6 |
{{Dice||2|8}} | 2d8 |
{{Dice||2|8||3}} | 2d8+3 |
{{Dice||2|8|4|3}} | [2d8+4]+3 |
Usage[edit]
{{Dice|(Multipler)|(Die Count)|(Die Sides)|(Add Before Multiplier)|(Add After Multiplier)}}
Parameter Documentation | |
Multipler | This is the amount that the dice roll is multiplied by: 1.25[2d8+4]+6 |
Die Count | This is the number of die that will be rolled: 1.25[2d8+4]+6 |
Die Sides | This is the number of sides that the die that is rolled will have: 1.25[2d8+4]+6 |
Add Before Multiplier | This is the amount that is added to the die roll before the multiplier: 1.25[2d8+4]+6 |
Add After Multiplier | This is the amount that is added to the roll after the multiplier: 1.25[2d8+4]+6 |
Template
Ignore any errors below this line, The errors occur because there is no input into the template, in the template itself.
{{{2}}}d{{{3}}}