Template:Dice tooltip

From Caves of Qud Wiki
Revision as of 15:59, 22 December 2020 by Egocarib (talk | contribs)
Jump to navigation Jump to search

Takes a Dice roll formula and returns it with the minimum, maximum, and mean as a tooltip.

Usage:

{{dice tooltip|2+3d2+2d6}}

2+3d2+2d67-20 (Avg: 13.5)

If you want the summary tooltip as the main text, set the second argument to summary

{{dice tooltip|2+3d2+2d6|summary}}

7-20 (Avg: 13.5)2+3d2+2d6