Enshrouded tooltips for your site
Add one script to your page and link to any MaxDPS item, weapon, skill or perk. When readers hover over the link or focus it with the keyboard, they see its card without leaving your guide.
Try it here
Take Abyssal Wing Axe and some Algae into the Shroud. Pair them with Bone to Ash and Health Leech. Hover over any link, or press Tab to focus it. Press Escape to close the card.
Add the script
Paste this once into your page’s HTML, before </head> or </body>.
<script src="https://enshrouded.maxdps.com/tooltips.js?v=3" defer></script>
Link to an item
Copy an item’s address from the item list and use it in an ordinary link. Every item page also shows its own snippet.
<a href="https://enshrouded.maxdps.com/items/abyssal-wing-axe">Abyssal Wing Axe</a>
Links to weapon, skill and perk pages work too (weapon links show the first listed variant). Links your site adds later are picked up automatically, and clicking a link still opens the page.
Keep a link plain
Add data-maxdps-tooltip="off" to a link, or to an element around several links, to turn tooltips off there.
<a href="https://enshrouded.maxdps.com/items/algae" data-maxdps-tooltip="off">Algae</a>
What the card shows
Each card shows the item’s icon, name, rarity, type and item level, the values the in-game item card lists, its perks, its description and where to get it. Every value comes from the supported game build, the same data as the item pages.
Damage is shown per 100 base damage and as each type’s share of the combined hit, before upgrade perks, arrows or target resistances. Added elemental damage increases the total without reducing physical damage. A typed +10% weapon damage perk adds 10 damage of that type per 100 base to the weapon’s hit; it is not a global spell or skill bonus. See the worked example.
Cards do not show absolute damage or armor at the item’s level, because those combat results still need validation against in-game readings. Perk descriptions are listed separately from the weapon’s unupgraded damage.
The rarity colors are the game’s own. The frame is drawn to match the game’s item cards, and the text uses Noto Serif, the game’s own fallback typeface, because the display face the game uses for English is a licensed commercial font.
How it behaves
The script loads card data only when a reader points at or focuses a link. The card is drawn in an isolated layer, so your page’s styles do not change it and it does not change yours. Data requests send no cookies.
On touchscreens, links open normally. If a card cannot load, the link still works.
Using a Content Security Policy?
Allow https://enshrouded.maxdps.com in script-src, style-src, connect-src and font-src, and https://enshrouded-assets.maxdps.com in img-src.