armory-embeds - npm explorer
`

| attribute | value | required | description |
|-|-|-|-|
| data-armory-embed | traits | yes | |
| data-armory-ids | numbers delimited by commas | yes | The trait ids you want to load. If you pass
-1 you will load an empty box instead of the trait. |
| data-armory-size | number | no | The size of each trait in the embed. |
| data-armory-blank-text | string | no | When loading an trait of id
-1 you can override the tooltip text to be whatever you want. |
| data-armory-inline-text | string | no | Optional inline text that will be displayed to the right of the icon. You can pass in
wiki to use a gw2 wiki URL, or pass in any other text that will be used as the link. |

$3

`html
data-armory-embed="amulets"
data-armory-ids="332211,-1"
data-armory-size="30"
data-armory-blank-text="This is a blank space!"
>

`

| attribute | value | required | description |
|-|-|-|-|
| data-armory-embed | amulets | yes | |
| data-armory-ids | numbers delimited by commas | yes | The amulet ids you want to load. If you pass
-1 you will load an empty box instead of the amulet. |
| data-armory-size | number | no | The size of each amulet in the embed. |
| data-armory-blank-text | string | no | When loading an amulet of id
-1 you can override the tooltip text to be whatever you want. |
| data-armory-inline-text | string | no | Optional inline text that will be displayed to the right of the icon. You can pass in
wiki to use a gw2 wiki URL, or pass in any other text that will be used as the link. |


Finding IDs

Unfortunately you can't pass the embeds the item/skill etc names. You have to pass the specific ids.

$3

Item IDs are easy enough, go look at https://www.gw2spidy.com.

$3

Best bet is to look at the GW2 Wiki, for example: https://wiki.guildwars2.com/wiki/Virtue_of_Justice.

Who Is Using armory-embeds?

- MetaBattle
- Quantify
- Le Bus Magique
- mists.co
- Lucky Noobs
- Discretize
- Abaddons Maul
- Chains of the Kraken
- Snow Crows
- SPF Gaming

Don't see your site? Add it in a Pull Request!

Troubleshooting

Hit @itsmadou up on twitter, or post an issue if you think something is a bug.

Local Development

$3

`sh
git clone git@github.com:madou/armory-embeds.git
cd armory-embeds
yarn install
npm run tdd # Run tests in watch mode
npm start # Run react storybook for local development
``

© 2015-present gw2armory.com