There are no limitations on linking to ZugZugDB.
Link to any page, from anywhere, as often as you like: guild sites, forums, wikis, addons, spreadsheets. You do not need to ask. Every address below is permanent.
Addresses
Every record has one address: /<kind>/<id>/<name>. The number is the game's own id and it alone decides the page. The name part is there for people to read: leave it off or get it wrong and you are redirected to the right one.
| Kind | Address | Short link |
|---|---|---|
| Item | /item/19019/thunderfury-blessed-blade-of-the-windseeker | /i/19019 |
| Spell | /spell/133/fireball | /s/133 |
| NPC | /npc/40/kobold-miner | /n/40 |
| Quest | /quest/6/bounty-on-garrick-padfoot | /q/6 |
| Object | /object/1731/copper-vein | /o/1731 |
| Zone | /zone/1/dun-morogh | /z/1 |
| Item Set | /itemset/<id>/<name> | |
| Faction | /faction/<id>/<name> | |
| Profession | /profession/<id>/<name> | |
| Class | /class/<id>/<name> | |
| Achievement | /achievement/<id>/<name> |
Short links are for chat and for places that count characters: zugzugdb.com/i/19019 goes to the item, /s/ to a spell, /n/ an NPC, /q/ a quest, /o/ an object, /z/ a zone. The "Link" box at the bottom of every record page holds that page's short link, ready to copy.
Lists live at /items, /spells, /npcs, /quests, /objects, /zones, /itemsets, /factions, /professions, /classes, /achievements.
Old-style addresses
If your fingers still type database addresses the way they did in 2005, they work here too. A question mark, a letter and a number on the front page go to the same place they always did:
| You type | You get |
|---|---|
/?i=19019 | the item with that id |
/?i=Heavy Bronze Lockbox | the item of that exact name |
/?sp=133 | the spell |
/?n=40 | the NPC (or the object) with that id |
/?q=6 and /?qu=6 | the quest |
/?z=1 and /?z=b | the zone, and the zone list |
/?set=383 and /?set=all | the item set, and the list of sets |
/?c=Paladin | the class page |
/?t=Alchemy | the profession page |
/?iclass=4.6 | the item list of that class and subclass |
/?f=w, a, q, n | Find Weapons, Armor, Quests, NPCs |
/?s=blood | a search |
The numbers are the game's ids, as everywhere else on this site.
Tooltips on your site
To get our item and spell tooltips on your own pages, add this line once, anywhere in the page:
<script src="https://zugzugdb.com/embed/tooltips.js" defer></script>
Then link to our item and spell pages the ordinary way:
<a href="https://zugzugdb.com/item/19019/thunderfury-blessed-blade-of-the-windseeker">Thunderfury, Blessed Blade of the Windseeker</a>
Which looks like this (hover, or tap on a phone):
Thunderfury, Blessed Blade of the Windseeker Fireball
Every link on the page to /item/…, /spell/…, /i/… or /s/… on zugzugdb.com gets a tooltip. Your links are not changed: same address, same text, same click.
- The script is 8.2 KB (3.1 KB compressed) and loads nothing until somebody hovers, focuses or taps a link.
- No cookies, no tracking, no analytics. The only request it makes is for the tooltip of the link being looked at, sent without cookies and without a referrer.
- It draws inside its own sealed box, so your styles do not leak into the tooltip and ours do not leak into your page.
- To switch it off for a link, or for a whole section, put
data-zz-tip="off"on the link or on anything around it. - Keyboard focus shows the tooltip, Escape hides it. On a phone the first tap shows it and the second follows the link.
Feel free to load the script from our server, or copy it to yours, whichever you prefer. If you copy it, it still fetches tooltips from zugzugdb.com.
Link buttons
Three 88 by 31 buttons, the size every site had in the corner of its links page. Save one to your server or link it from here, whichever you prefer:
<a href="https://zugzugdb.com/"><img src="https://zugzugdb.com/buttons/zugzugdb-navy.png" width="88" height="31" alt="ZugZugDB"></a>
<a href="https://zugzugdb.com/"><img src="https://zugzugdb.com/buttons/zugzugdb-grey.png" width="88" height="31" alt="ZugZugDB"></a>
<a href="https://zugzugdb.com/"><img src="https://zugzugdb.com/buttons/zugzugdb-dark.png" width="88" height="31" alt="ZugZugDB"></a>
A search box for your site
To add a simple little search box to your site, add this code (or something similar):
<form method="get" action="https://zugzugdb.com/search"> <a href="https://zugzugdb.com/">ZugZugDB</a><br> <input type="text" name="q" style="width:140px" onfocus="this.select()"> </form>
Which looks like this:
In your browser: this site describes its search to browsers (opensearch.xml). In Firefox, right-click the address bar here and choose "Add ZugZugDB". Chrome and Edge pick it up after your first search: type zugzugdb.com, press Tab, and search the database from the address bar.
Link previews
Paste a record's address into Discord, Slack, a forum or a chat app and it unfolds into a card with the tooltip or the key facts on it. The cards are plain images, one per record, for example this one, and you may use them wherever you link to the page they belong to.
Thanks for linking to ZugZugDB!