Difference between revisions of "Preset equipment lookup"

m (amulets)
m (back items)
Line 838: Line 838:
 
                     | celestial = 39282
 
                     | celestial = 39282
 
                     }}
 
                     }}
 +
| back item = {{#switch:{{{2|}}}
 +
                        | berserker = 37009
 +
                        | zealot =
 +
                        | soldier = 37006
 +
                        | valkyrie =
 +
                        | rampager =
 +
                        | assassin =
 +
                        | knight =
 +
                        | cavalier = 37002
 +
                        | nomad =
 +
                        | settler =
 +
                        | sentinel =
 +
                        | shaman =
 +
                        | sinister =
 +
                        | carrion =
 +
                        | rabid = 37004
 +
                        | dire =
 +
                        | cleric =
 +
                        | magi =
 +
                        | apothecary = 42425
 +
                        | commander =
 +
                        | marauder =
 +
                        | vigilant =
 +
                        | crusader =
 +
                        | wanderer =
 +
                        | viper =
 +
                        | seraph =
 +
                        | trailblazer =
 +
                        | minstrel =
 +
                        | celestial =
 +
                        }}
 
| #default = -1
 
| #default = -1
 
}}|-1}}</includeonly><noinclude>
 
}}|-1}}</includeonly><noinclude>

Revision as of 13:27, 26 September 2017

Description

Looks up a specific equipment id through its type and stat.

{{Item lookup|<unnamed param 1>|<unnamed param 2>}}

Parameters

unnamed param 1
Equipment. Accepts:
  • Armor: head, shoulders, coat, gloves, leggings, or feet.
  • Trinkets: backpiece, accessory, ring, or amulet.
  • Weapons: axe, dagger, mace, pistol, sword, scepter, focus, shield, torch, warhorn, greatsword, hammer, longbow, rifle, short bow, staff, harpoon gun, spear, or trident.
unnamed param 2
The stat. Accepts: berserker, zealot, soldier, valkyrie, rampager, assassin, knight, cavalier, nomad, settler, sentinel, shaman, sinister, carrion, rabid, dire, cleric, magi, apothecary, commander, marauder, vigilant, crusader, wanderer, viper, seraph, trailblazer, minstrel, celestial. Defaults to berserker.

Note: Looks up armor pieces depending on weight set by variable mbuild_armor_weight (source within build pages come from {{MBuild}}).

Examples

{{Preset equipment lookup|head|wanderer}}

73521

{{Preset equipment lookup|leggings|celestial}}

47938

Tooltip example

<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|leggings|celestial}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|ring1|cleric}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|ring2|cleric}}"
  data-armory-size="40"
>
</div>
<div
  data-armory-embed="items"
  data-armory-ids="{{Preset equipment lookup|amulet|rampager}}"
  data-armory-size="40"
>
</div>