Template:Tooltip dice range string

From Caves of Qud Wiki
Revision as of 15:59, 22 December 2020 by Egocarib (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Meant for use as a template parameter for Module:Dice/Format. Returns only the range for a dice roll string (example: 16-19), formatted in a <span> block appropriate for the Character and Item template tooltips. This probably won't be useful anywhere else. Returns an empty string if there is no range (minimum == maximum).