WoW:API IsEquippableItem: Difference between revisions
Jump to navigation
Jump to search
(add documentation for IsEquippableItem) |
m (Move page script moved page API IsEquippableItem to API IsEquippableItem without leaving a redirect) |
||
(One intermediate revision by one other user not shown) | |||
Line 15: | Line 15: | ||
== Example == | == Example == | ||
/dump IsEquippableItem("{{loot|epic|Heroes' Dreadnaught Helmet}}") | /dump IsEquippableItem("{{loot|epic|Heroes' Dreadnaught Helmet}}") |
Latest revision as of 04:46, 15 August 2023
Returns 1 if item is an equip-able one at all, your character notwithstanding, or nil if not.
result = IsEquippableItem(itemId or "itemName" or "itemLink")
Parameters[edit]
Arguments[edit]
- (itemId or "itemName" or "itemLink")
Returns[edit]
- result
- 1 if equip-able, nil otherwise.
Example[edit]
/dump IsEquippableItem("Template:Loot") 1 /dump IsEquippableItem("Template:Loot") 1 /dump IsEquippableItem("Template:Loot") nil