Module:AbilityHints: Difference between revisions

Jump to navigation Jump to search
Vergir (talk | contribs)
Unlink automatic hint icons; wikilink game terms inside tooltips (with help from vergir-bot LLM)
Vergir (talk | contribs)
Break manual hint tooltip onto a second line (with help from vergir-bot LLM)
Line 51: Line 51:
     end
     end
     return '<span class="' .. cls .. '">' .. icon_img(m.file, '#' .. m.anchor, partial)
     return '<span class="' .. cls .. '">' .. icon_img(m.file, '#' .. m.anchor, partial)
         .. '<span class="ability-hint-tip">' .. verb .. ' ' .. m.title .. '. Click to reveal more info.</span></span>'
         .. '<span class="ability-hint-tip">' .. verb .. ' ' .. m.title .. '.<br>Click to reveal more info.</span></span>'
end
end