Difference between revisions of "Preset equipment lookup"

m (some weaps)
m (Parameters)
Line 297: Line 297:
 
;unnamed param 1
 
;unnamed param 1
 
:Equipment. Accepts:  
 
:Equipment. Accepts:  
* '''Gear:''' ''head'', ''shoulders'', ''coat'', ''gloves'', ''leggings'', or ''feet''.
+
* '''Armor:''' ''head'', ''shoulders'', ''coat'', ''gloves'', ''leggings'', or ''feet''.
 
* '''Trinkets:''' ''backpiece'', ''accessory'', ''ring'', or ''amulet''.
 
* '''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.
 
* '''Weapons:''' ''axe'', ''dagger'', ''mace'', ''pistol'', ''sword'', ''scepter'', ''focus'', ''shield'', ''torch'', ''warhorn'', ''greatsword'', ''hammer'', ''longbow'', ''rifle'', ''short bow'', ''staff'', ''harpoon gun'', ''spear'', or ''trident.
Line 304: Line 304:
 
: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''.
 
: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 gear pieces depending on weight set by variable '''mbuild_armor_weight''' (source within build pages come from {{tl|MBuild}}).
+
'''Note:''' Looks up armor pieces depending on weight set by variable '''mbuild_armor_weight''' (source within build pages come from {{tl|MBuild}}).
  
 
== Examples ==
 
== Examples ==

Revision as of 14:17, 22 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>