
Tooltips Guide
Table of Contents
Getting Started
You can use the tooltip script to easily display descriptions of items or talents from the game, such as this:
Gatling Gun Talent (hover it with your mouse!)
The script fetches data from
Project Amber
.
If you encounter any issues or bugs, feel free to reach out to us on
Discord
.
To install the tooltip script, link the style and script files in the <head>
section of your page. You can omit the fonts file if you want to use your own fonts.
<link rel="stylesheet" href=" https://enka.network/js/tooltip/style.css " />
<script src=" https://enka.network/js/tooltip/script.js " defer></script>
Basic Usage
For basic usage, you need to set two main attributes, data-gi-type
and
data-gi-id
, on any HTML element you want to attach a tooltip to.
By default, the language used will be English.
For example, look at this
Skyward Harp
.
Or this Flower .
Advanced Usage
◇ data-gi-no-icon
This will disable the icon, for example if you're already using an icon on your page.
◇ data-gi-lang
If you want to set specific language, you can use data-gi-lang
attribute. See
Supported Languages
◇ data-gi-level
For weapons and talents, you can set their level, like this weapon at level 59. As you can see, it displays the stats according to the specified level.
◇ data-gi-index
This attribute sets refinement level.
This
Harbinger of Dawn
is at refinement level 5.
The data-gi-index
attribute is type-dependant.
For character talent
or
constellation
you need to set the character ID using the
data-gi-id
attribute.
- • When used with
talent
thedata-gi-index
defines the specific talent you want to display. - • For
constellation
, it specifies the constellation number, starting at 1.
For further info, please refer to Supported Types
Supported Types
For detailed information about the attributes corresponding to each type, please refer to the table below.
◇ data-gi-type | ◇ data-gi-id | ◇ data-gi-level | ◇ data-gi-index |
---|---|---|---|
weapon | Weapon ID | Weapon Level | Refinement Level |
artifact | Artifact Set ID | *Slot Index | |
talent | Character ID | Talent Level | *Talent Index |
constellation | Character ID | Constellation Index |
Slot Index
◇ Index | ◇ Description |
---|---|
0 | Flower of Life |
1 | Plume of Death |
2 | Sands of Eon |
3 | Goblet of Eonothem |
4 | Circlet of Logos |
Talent Index
◇ Index | ◇ Description |
---|---|
0 | Normal Attack |
1 | Elemental Skill |
3 | Elemental Burst |
4 | Passive Talent - A2 |
5 | Passive Talent - A4 |
6 | Passive Talent - Overworld 1 |
8 | Passive Talent - Overworld 2 |
Languages
◇ Value | ◇ Description |
---|---|
EN | English |
DE | German |
FR | French |
ID | Indonesian |
IT | Italian |
JP | Japanese |
PT | Portuguese |
RU | Russian |
TH | Thai |
TR | Turkish |
VI | Vietnamese |
KR | Korean |
CHS | Chinese Simplified |
CHT | Chinese Traditional |
More Examples
Weapons







Artifacts




Talents







Constellations




