Module:AbilityHints: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
Break manual hint tooltip onto a second line (with help from vergir-bot LLM)
Vergir (talk | contribs)
Update stale class name in comment after the iconbox- rename (with help from vergir-bot LLM)
Line 21: Line 21:
}
}


-- partial: split the icon so the top-left half is grayscale (mirrors the ai-partial box icon).
-- partial: split the icon so the top-left half is grayscale (mirrors the iconbox-partial box icon).
-- An empty link makes the icon non-clickable; automatic hints link from their tooltip text instead.
-- An empty link makes the icon non-clickable; automatic hints link from their tooltip text instead.
local function icon_img(file, link, partial)
local function icon_img(file, link, partial)