From Dark and Darker Wiki

< Module:Infobox

This is the documentation page for Module:Infobox

Overview

Function for making Iconbox tabs. Data comes from various data jsons: Data:Weapon.json, Data:Armor.json, Data:Accessory.json, Data:Misc.json, Data:Monster.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
Halberd.png
-
Physical Base Weapon Damage 46~47
-
-
Move Speed -45
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd
Halberd.png
-
Physical Base Weapon Damage 48~49
-
-
Move Speed -45
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Gear Score:
1
Sell Price:
20
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd
Halberd.png
-
Physical Base Weapon Damage 50~51
-
-
Move Speed -45
-
-
Up to 1 extra enchantments
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Gear Score:
5
Item Achieve:
10
Sell Price:
30
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd
Halberd.png
-
Physical Base Weapon Damage 52~53
-
-
Move Speed -45
-
-
Up to 2 extra enchantments
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Gear Score:
25
Item Achieve:
20
Sell Price:
60
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd
Halberd.png
-
Physical Base Weapon Damage 54~55
-
-
Move Speed -45
-
-
Up to 3 extra enchantments
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Gear Score:
40
Item Achieve:
30
Sell Price:
100
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd
Halberd.png
-
Physical Base Weapon Damage 56~57
-
-
Move Speed -45
-
-
Up to 4 extra enchantments
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Gear Score:
50
Item Achieve:
50
Sell Price:
200
A two handed pole-arm with a long reach, devised with an axe blade containing a sharp spike firmly fasted to the end.
Halberd
Halberd.png
-
Physical Base Weapon Damage 58~59
-
-
Move Speed -45
-
-
Up to 1 extra enchantments
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.68x15.84x2.25
2x5InvSlot.jpg
Gear Score:
65
Item Achieve:
100
Sell Price:
300
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
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.
-
Required Class:
Weapon Type:
Polearm
Slot Type:
Main-Hand
Hand Type:
Two Handed
Hitbox:
119.7x15.84x2.14
2x5InvSlot.jpg
Item Achieve:
100
Sell Price:
1000
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
Ranger Hood.png
-
Armor Rating 25
-
-
Headshot Damage Reduction 8%
-
-
Agility 1
-
-
Move Speed -2
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood
Ranger Hood.png
-
Armor Rating 26
-
-
Headshot Damage Reduction 8%
-
-
Agility 2
-
-
Move Speed -2
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Gear Score:
1
Sell Price:
8
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood
Ranger Hood.png
-
Armor Rating 27
-
-
Headshot Damage Reduction 8%
-
-
Agility 2
-
-
Move Speed -2
-
-
Up to 1 extra enchantments
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Gear Score:
1
Item Achieve:
4
Sell Price:
12
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood
Ranger Hood.png
-
Armor Rating 28~29
-
-
Headshot Damage Reduction 8%
-
-
Agility 3
-
-
Move Speed -2
-
-
Up to 2 extra enchantments
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Gear Score:
15
Item Achieve:
8
Sell Price:
24
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood
Ranger Hood.png
-
Armor Rating 30~31
-
-
Headshot Damage Reduction 8%
-
-
Agility 4
-
-
Move Speed -2
-
-
Up to 3 extra enchantments
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Gear Score:
20
Item Achieve:
12
Sell Price:
40
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood
Ranger Hood.png
-
Armor Rating 32
-
-
Headshot Damage Reduction 8%
-
-
Agility 5
-
-
Move Speed -2
-
-
Up to 4 extra enchantments
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Gear Score:
30
Item Achieve:
20
Sell Price:
80
Lightweight and breathable, cut to hug the head and protect from the elements.
Ranger Hood
Ranger Hood.png
-
Armor Rating 33
-
-
Headshot Damage Reduction 8%
-
-
Agility 5
-
-
Move Speed -2
-
-
Up to 1 extra enchantments
-
Required Class:
Armor Type:
Cloth
Slot Type:
Head
2x2InvSlot.jpg
Gear Score:
40
Item Achieve:
40
Sell Price:
120
Lightweight and breathable, cut to hug the head and protect from the elements.


Code