Tooltip improvements
This MR improves sheet tooltips.
-
5cdcb37 converts all
title=
uses todata-tooltip=
; previously, both were used, leading to inconsistent tooltips e.g. on the PC sheet for different fields. - b82f3e5 fixes a few tooltips that were still hardcoded instead of translation strings, or that should have been format strings.
- 1ca8bae adds a few more tooltips to sheets, most notably for the character names, so you can easily inspect long actor names.
-
440a905 adds handlebar helpers to easily add tooltips for items, effects and their cards to sheets, and makes use of those for status effects and items on PC & NPC sheets. (Status effect descriptions require the Core Rules module or something else injecting the descriptions into
CONFIG.statusEffects
, otherwise the tooltips won't show, as the core system does not come with descriptions.)
I recommend reviewing the commits separately.
Preview
Edited by Max Hilbrunner