From Dark and Darker Wiki

< Module:Infobox

This is the documentation page for Module:Infobox

Overview

Functions for making Iconbox table. Data comes from various data jsons: Data:Weapon.json, Data:Armor.json, Data:Accessory.json, Data:Utility.json, Data:Misc.json, Data:Monster.json, Data:Prop.json.

Functions

draw

Creates an iconbox that floats to the right.

Parameters

  • name - <Name>
  • is_active - {1,2,3,4,5,6,7,8,Common,Elite,Nightmare}
  • category - {Weapon,Armor,Accessory,Utility,Misc,Monster,Prop}


draw examples

Halberd,7,Weapon


{{#invoke:Infobox|draw|name=Halberd|category=Weapon}}
 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
Halberd.png
-
Physical Base Weapon Damage 46~47
-
-
Move Speed -45
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd.png
-
Physical Base Weapon Damage 48~49
-
-
Move Speed -45
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd.png
-
Physical Base Weapon Damage 50~51
-
-
Move Speed -45
-
-
Up to 1 extra enchantments
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd.png
-
Physical Base Weapon Damage 52~53
-
-
Move Speed -45
-
-
Up to 2 extra enchantments
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd.png
-
Physical Base Weapon Damage 54~55
-
-
Move Speed -45
-
-
Up to 3 extra enchantments
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd.png
-
Physical Base Weapon Damage 56~57
-
-
Move Speed -45
-
-
Up to 4 extra enchantments
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd.png
-
Physical Base Weapon Damage 58~59
-
-
Move Speed -45
-
-
Up to 1 extra enchantments
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Stack Size:
1
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.


Cinder,8,Weapon


{{#invoke:Infobox|draw|name=Cinder|is_active=8|category=Weapon}}
 VIII 
Cinder.png
-
Physical Base Weapon Damage 60~61
-
-
Move Speed -45
-
-
Up to 5 extra enchantments
-
-
Successful weapon attacks sears the target for 10 Fire Fire Magical Base Damage (100% Scaling) and burns them for 27 Fire Fire Magical Base Damage (50% Scaling) over 9 seconds.
-
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.7x15.84x2.14
2x5InvSlot.jpg
Stack Size:
1
It will be difficult to keep track of your kill count for they have all been reduced to a pile of ash.


Ranger Hood,5,Armor


{{#invoke:Infobox|draw|name=Ranger Hood|is_active=5|category=Armor}}
 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
Ranger Hood.png
-
Armor Rating 25
-
-
Headshot Damage Reduction 8%
-
-
Agility 1
-
-
Move Speed -2
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood.png
-
Armor Rating 26
-
-
Headshot Damage Reduction 8%
-
-
Agility 2
-
-
Move Speed -2
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood.png
-
Armor Rating 27
-
-
Headshot Damage Reduction 8%
-
-
Agility 2
-
-
Move Speed -2
-
-
Up to 1 extra enchantments
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood.png
-
Armor Rating 28~29
-
-
Headshot Damage Reduction 8%
-
-
Agility 3
-
-
Move Speed -2
-
-
Up to 2 extra enchantments
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood.png
-
Armor Rating 30~31
-
-
Headshot Damage Reduction 8%
-
-
Agility 4
-
-
Move Speed -2
-
-
Up to 3 extra enchantments
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood.png
-
Armor Rating 32
-
-
Headshot Damage Reduction 8%
-
-
Agility 5
-
-
Move Speed -2
-
-
Up to 4 extra enchantments
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood.png
-
Armor Rating 33
-
-
Headshot Damage Reduction 8%
-
-
Agility 5
-
-
Move Speed -2
-
-
Up to 1 extra enchantments
-
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.


Code