Difference between revisions of "Preset equipment lookup"

m
m (fix)
 
(7 intermediate revisions by the same user not shown)
Line 37: Line 37:
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86671 | medium= 86435 | heavy= 86389}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86671 | medium= 86435 | heavy= 86389}}
 
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 88022 | medium= 87805| heavy= 88105}}
 
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 88022 | medium= 87805| heavy= 88105}}
 +
                | diviner = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 89912| medium= 89969| heavy= 89924}}
 
                 }}
 
                 }}
 
| shoulders = {{#switch:{{lc:{{{2|berserker}}}}}
 
| shoulders = {{#switch:{{lc:{{{2|berserker}}}}}
Line 71: Line 72:
 
                 | harrier = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85089| medium= 85183| heavy= 85286}}
 
                 | harrier = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85089| medium= 85183| heavy= 85286}}
 
                 | marshal = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85066| medium= 85226| heavy= 85335}}
 
                 | marshal = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85066| medium= 85226| heavy= 85335}}
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86650 | medium= 86623| heavy= -1}}
+
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86650 | medium= 86623| heavy= 86541}}
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86628 | medium= -1 | heavy= -1}}
+
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86628 | medium= 86620 | heavy= 86604}}
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
+
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 88085 | medium= 87859| heavy= 88073}}
 +
                | diviner = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 89628 | medium= 89789 | heavy= 89785}}
 
                         }}
 
                         }}
 
| coat = {{#switch:{{lc:{{{2|berserker}}}}}
 
| coat = {{#switch:{{lc:{{{2|berserker}}}}}
Line 109: Line 111:
 
                 | marshal = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85288| medium= 85083| heavy= 85223}}
 
                 | marshal = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85288| medium= 85083| heavy= 85223}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86486| medium= 86684 | heavy= 86536}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86486| medium= 86684 | heavy= 86536}}
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86670 | medium= 86544 | heavy= -1}}
+
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86670 | medium= 86544 | heavy= 86510}}
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
+
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 87977 | medium= 87985 | heavy= 87650}}
 +
                | diviner = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 89768| medium= 89528| heavy= 89733}}
 
               }}
 
               }}
 
| gloves = {{#switch:{{lc:{{{2|berserker}}}}}
 
| gloves = {{#switch:{{lc:{{{2|berserker}}}}}
Line 147: Line 150:
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light=86518| medium= 86506| heavy= 86717}}
 
                 | giver = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light=86518| medium= 86506| heavy= 86717}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86691 | medium= 86709 | heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86691 | medium= 86709 | heavy= -1}}
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
+
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 87960 | medium= 87751| heavy= 87887}}
 +
                | diviner = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 89925| medium= 89985| heavy= 89822}}
 
                   }}
 
                   }}
 
| leggings = {{#switch:{{lc:{{{2|berserker}}}}}
 
| leggings = {{#switch:{{lc:{{{2|berserker}}}}}
Line 185: Line 189:
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86633 | medium= 86681| heavy=86629}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86633 | medium= 86681| heavy=86629}}
 
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= -1 | medium= -1| heavy= -1}}
 +
                | diviner = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 89940 | medium= 89934| heavy= 89460}}
 
                       }}
 
                       }}
 
| feet = {{#switch:{{lc:{{{2|berserker}}}}}
 
| feet = {{#switch:{{lc:{{{2|berserker}}}}}
Line 216: Line 221:
 
                 | minstrel = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 75349| medium= 77204| heavy= 71456}}
 
                 | minstrel = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 75349| medium= 77204| heavy= 71456}}
 
                 | celestial = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 47934| medium= 47940| heavy= 47928}}
 
                 | celestial = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 47934| medium= 47940| heavy= 47928}}
                 | grieving = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85007| medium= 85308| heavy= 85039}}
+
                 | grieving = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85007| medium= 85308| heavy= 85093}}
 
                 | harrier = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85317| medium= 85343| heavy= 85196}}
 
                 | harrier = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85317| medium= 85343| heavy= 85196}}
 
                 | marshal = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85342| medium= 84954| heavy= 85041}}
 
                 | marshal = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 85342| medium= 84954| heavy= 85041}}
Line 222: Line 227:
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86520| medium= 86707| heavy= -1}}
 
                 | giftbringer = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 86520| medium= 86707| heavy= -1}}
 
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 87696 | medium= 87629| heavy= 87742}}
 
                 | plaguedoctor = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 87696 | medium= 87629| heavy= 87742}}
 +
                | diviner = {{#switch:{{lc:{{#var:mbuild_armor_weight|light}}}} | light= 89452 | medium= 89893| heavy= 89656 }}
 
                 }}
 
                 }}
 
| axe = {{#switch:{{lc:{{{2|berserker}}}}}
 
| axe = {{#switch:{{lc:{{{2|berserker}}}}}
Line 259: Line 265:
 
             | giftbringer = 86460
 
             | giftbringer = 86460
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89799
 
             }}
 
             }}
 
| dagger = {{#switch:{{lc:{{{2|berserker}}}}}
 
| dagger = {{#switch:{{lc:{{{2|berserker}}}}}
Line 296: Line 303:
 
             | giftbringer = 86583
 
             | giftbringer = 86583
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89906
 
                   }}
 
                   }}
 
| mace = {{#switch:{{lc:{{{2|berserker}}}}}
 
| mace = {{#switch:{{lc:{{{2|berserker}}}}}
Line 327: Line 335:
 
                 | minstrel = 71457
 
                 | minstrel = 71457
 
                 | celestial = 47013
 
                 | celestial = 47013
             | grieving = -1
+
             | grieving = 85295
 
             | harrier = 84912
 
             | harrier = 84912
 
             | marshal = 85166
 
             | marshal = 85166
 
             | giver = 86504
 
             | giver = 86504
             | giftbringer = -1
+
             | giftbringer = 86451
                 | plaguedoctor = -1
+
                 | plaguedoctor = 87739
 +
                | diviner = 89707
 
                 }}
 
                 }}
 
| pistol = {{#switch:{{lc:{{{2|berserker}}}}}
 
| pistol = {{#switch:{{lc:{{{2|berserker}}}}}
Line 367: Line 376:
 
             | harrier = 84878
 
             | harrier = 84878
 
             | marshal = 85061
 
             | marshal = 85061
             | giver = -1
+
             | giver = 86526
             | giftbringer = -1
+
             | giftbringer = 86687
                 | plaguedoctor = -1
+
                 | plaguedoctor = 88047
 +
                | diviner = 89716
 
                 }}
 
                 }}
 
| sword = {{#switch:{{lc:{{{2|berserker}}}}}
 
| sword = {{#switch:{{lc:{{{2|berserker}}}}}
Line 404: Line 414:
 
             | harrier = 84939
 
             | harrier = 84939
 
             | marshal = 85008
 
             | marshal = 85008
             | giver = -1
+
             | giver = 86662
 
             | giftbringer = 86450
 
             | giftbringer = 86450
                 | plaguedoctor = -1
+
                 | plaguedoctor = 87885
 +
                | diviner = 89645
 
                   }}
 
                   }}
 
| scepter = {{#switch:{{lc:{{{2|berserker}}}}}
 
| scepter = {{#switch:{{lc:{{{2|berserker}}}}}
Line 444: Line 455:
 
             | giftbringer = -1
 
             | giftbringer = -1
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89484
 
                     }}
 
                     }}
 
| focus = {{#switch:{{lc:{{{2|berserker}}}}}
 
| focus = {{#switch:{{lc:{{{2|berserker}}}}}
Line 481: Line 493:
 
             | giftbringer = -1
 
             | giftbringer = -1
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89846
 
                 }}
 
                 }}
 
| shield = {{#switch:{{lc:{{{2|berserker}}}}}
 
| shield = {{#switch:{{lc:{{{2|berserker}}}}}
Line 512: Line 525:
 
                   | minstrel = 74748
 
                   | minstrel = 74748
 
                   | celestial = 47017
 
                   | celestial = 47017
             | grieving = -1
+
             | grieving = 85266
 
             | harrier = 84957
 
             | harrier = 84957
 
             | marshal = 85357
 
             | marshal = 85357
 
             | giver = 86505
 
             | giver = 86505
             | giftbringer = -1
+
             | giftbringer = 86558
                 | plaguedoctor = -1
+
                 | plaguedoctor = 87608
 +
                | diviner = 89922
 
                   }}
 
                   }}
 
| torch = {{#switch:{{lc:{{{2|berserker}}}}}
 
| torch = {{#switch:{{lc:{{{2|berserker}}}}}
Line 555: Line 569:
 
             | giftbringer = 86640
 
             | giftbringer = 86640
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89612
 
                 }}
 
                 }}
 
| warhorn = {{#switch:{{lc:{{{2|berserker}}}}}
 
| warhorn = {{#switch:{{lc:{{{2|berserker}}}}}
Line 592: Line 607:
 
             | giftbringer = 86653  
 
             | giftbringer = 86653  
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89624
 
                       }}
 
                       }}
 
| greatsword = {{#switch:{{lc:{{{2|berserker}}}}}
 
| greatsword = {{#switch:{{lc:{{{2|berserker}}}}}
Line 629: Line 645:
 
             | giftbringer = 86632
 
             | giftbringer = 86632
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89706
 
                           }}
 
                           }}
 
| hammer = {{#switch:{{lc:{{{2|berserker}}}}}
 
| hammer = {{#switch:{{lc:{{{2|berserker}}}}}
Line 666: Line 683:
 
             | giftbringer = -1
 
             | giftbringer = -1
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89773
 
                       }}
 
                       }}
 
| longbow = {{#switch:{{lc:{{{2|berserker}}}}}
 
| longbow = {{#switch:{{lc:{{{2|berserker}}}}}
Line 703: Line 721:
 
             | giftbringer = -1
 
             | giftbringer = -1
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89681
 
                       }}
 
                       }}
 
| rifle = {{#switch:{{lc:{{{2|berserker}}}}}
 
| rifle = {{#switch:{{lc:{{{2|berserker}}}}}
Line 740: Line 759:
 
             | giftbringer = 86673  
 
             | giftbringer = 86673  
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89736
 
               }}
 
               }}
 
| short bow | shortbow = {{#switch:{{lc:{{{2|berserker}}}}}
 
| short bow | shortbow = {{#switch:{{lc:{{{2|berserker}}}}}
Line 777: Line 797:
 
             | giftbringer = 86731
 
             | giftbringer = 86731
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89949
 
                                               }}
 
                                               }}
 
| staff = {{#switch:{{lc:{{{2|berserker}}}}}
 
| staff = {{#switch:{{lc:{{{2|berserker}}}}}
Line 814: Line 835:
 
             | giftbringer = -1
 
             | giftbringer = -1
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 +
                | diviner = 89945
 
               }}
 
               }}
 
| ring1 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| ring1 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 853: Line 875:
 
                 | plaguedoctor = 88026
 
                 | plaguedoctor = 88026
 
                 | berservalk = 37092
 
                 | berservalk = 37092
 +
                | diviner = 89508
 
                 }}
 
                 }}
 
| ring2 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| ring2 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 892: Line 915:
 
                 | plaguedoctor = -1
 
                 | plaguedoctor = -1
 
                 | berservalk = 37080
 
                 | berservalk = 37080
 +
                | diviner = 86974*
 
                 }}
 
                 }}
 
| accessory1 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| accessory1 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 931: Line 955:
 
                 | plaguedoctor = 87873
 
                 | plaguedoctor = 87873
 
                 | berservalk = 39237
 
                 | berservalk = 39237
 +
                | diviner = 89544
 
                           }}
 
                           }}
 
| accessory2 = {{#switch:{{lc:{{{2|berserker}}}}}
 
| accessory2 = {{#switch:{{lc:{{{2|berserker}}}}}
Line 970: Line 995:
 
                 | plaguedoctor = 86978*
 
                 | plaguedoctor = 86978*
 
                 | berservalk = 39236
 
                 | berservalk = 39236
 +
                | diviner = 86978*
 
                           }}
 
                           }}
 
  | amulet = {{#switch:{{lc:{{{2|berserker}}}}}
 
  | amulet = {{#switch:{{lc:{{{2|berserker}}}}}
Line 1,009: Line 1,035:
 
                 | plaguedoctor = 87860
 
                 | plaguedoctor = 87860
 
                 | berservalk = 39310
 
                 | berservalk = 39310
 +
                | diviner = 89759
 
                     }}
 
                     }}
 
| back item = {{#switch:{{lc:{{{2|berserker}}}}}
 
| back item = {{#switch:{{lc:{{{2|berserker}}}}}
Line 1,046: Line 1,073:
 
             | giftbringer = -1
 
             | giftbringer = -1
 
                 | plaguedoctor = 87919*
 
                 | plaguedoctor = 87919*
 +
                | diviner = 80369*
 
                         }}
 
                         }}
 
| #default = -1
 
| #default = -1

Latest revision as of 09:57, 21 February 2020

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>