Preset equipment lookup

Description[edit]

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

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

Parameters[edit]

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}}).
Note 2: Items with selectable stats will have an '*' appended to their ids, these must be stripped before using; it's supposed to be a check against {{selectable stat}} to define an item's stat.

Examples[edit]

{{Preset equipment lookup|head|wanderer}}

73521

{{Preset equipment lookup|leggings|celestial}}

47938

{{Preset equipment lookup|ring2|zealot}}

79712*

Tooltip example[edit]

<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>
<div
  data-armory-embed="items"
  data-armory-ids="{{#replace:{{Preset equipment lookup|ring1|zealot}}|*|}}"
  data-armory-size="40"
  data-armory-{{#replace:{{Preset equipment lookup|ring1|zealot}}|*|}}-stat="{{Selectable stat|zealot}}"
>
</div>