From Dark and Darker Wiki

(added monster type)
(stats now use array)
Line 8: Line 8:
{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|nolink=1|size={{{size|100x200px}}}}}
{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|nolink=1|size={{{size|100x200px}}}}}
</div>  
</div>  
{{#if:{{{stat1|}}}|
{{#if:{{{stats|}}}|
         <div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> <!-- Line -->
         <div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div> <!-- Line -->
<div style="display:flex; flex-direction:column; align-items:center; text-align:center">  
<div style="display:flex; flex-direction:column; align-items:center; text-align:center">  
<div style="display:flex;width: 100%;flex-direction: row;justify-content: space-between;">
{{ #arraydefine: stats | {{{stats|}}}}}
<div style="padding:0px 5px;" class="bold">-</div><div>{{{stat1}}}</div><div style="padding:0px 5px;" class="bold">-</div>
{{
</div><!--
  #loop: i
                -->{{#if:{{{stat2|}}}|
  | 0                     
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">
  | {{ #arraysize:stats }}  
<div style="padding:0px 5px;" class="bold">-</div><div>{{{stat2}}}</div><div style="padding:0px 5px;" class="bold">-</div>
  | <nowiki/>
</div>}}<!--
  {{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }} }}}}<!--
                -->{{#if:{{{stat3|}}}|
                 --><div style="{{#ifeq:{{ #var:i }}|0||margin-top:10px;}}display:flex;width: 100%;flex-direction: row;justify-content: space-between;">  
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">
<div style="padding:0px 5px;" class="bold">-</div><div>{{ #var:stat }}</div><div style="padding:0px 5px;" class="bold">-</div>
<div style="padding:0px 5px;" class="bold">-</div><div>{{{stat3}}}</div><div style="padding:0px 5px;" class="bold">-</div>
</div>}}<!--
                 -->{{#if:{{{stat4|}}}|
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">
<div style="padding:0px 5px;" class="bold">-</div><div>{{{stat4}}}</div><div style="padding:0px 5px;" class="bold">-</div>
</div>}}<!--
                -->{{#if:{{{stat5|}}}|
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">  
<div style="padding:0px 5px"class="bold">-</div><div>{{{stat5}}}</div><div style="padding:0px 5px;" class="bold">-</div>
</div>}}<!--
</div>}}<!--
                 -->{{#if:{{{enchantments|}}}|
                 -->{{#if:{{{enchantments|}}}|
Line 179: Line 170:
|name                = Healing Potion
|name                = Healing Potion
|rarity              = 4
|rarity              = 4
|stat1               = Move Speed -20
|stats               = Move Speed -20,1 Agility
|stat2                = 1 Agility
|effect              = 15 HP healed over 20 seconds
|effect              = 15 HP healed over 20 seconds
|slottype            = Utility
|slottype            = Utility
Line 192: Line 182:
|name                = Healing Potion
|name                = Healing Potion
|rarity              = 4
|rarity              = 4
|stat1               = Move Speed -20
|stats               = Move Speed -20,1 Agility
|stat2                = 1 Agility
|effect              = 15 HP healed over 20 seconds
|effect              = 15 HP healed over 20 seconds
|slottype            = Utility
|slottype            = Utility
Line 209: Line 198:
|name                = Healing Potion
|name                = Healing Potion
|rarity              = 1
|rarity              = 1
|stat1               = Move Speed -20
|stats               = Move Speed -20,1 Agility
|stat2                = 1 Agility
|effect              = 15 HP healed over 20 seconds
|effect              = 15 HP healed over 20 seconds
|slottype            = Utility
|slottype            = Utility
Line 221: Line 209:
|name                = Healing Potion
|name                = Healing Potion
|rarity              = 1
|rarity              = 1
|stat1               = Move Speed -20
|stats               = Move Speed -20,1 Agility
|stat2                = 1 Agility
|effect              = 15 HP healed over 20 seconds
|effect              = 15 HP healed over 20 seconds
|slottype            = Utility
|slottype            = Utility
Line 238: Line 225:
|rarity              = 2
|rarity              = 2
|image                = Lich
|image                = Lich
|stat1               = Health 2100
|stats               = Health 2100,Move Speed 200
|stat2                = Move Speed 200
|enemytype            = [[Undead]]
|enemytype            = [[Undead]]
|location            = [[Inferno]]
|location            = [[Inferno]]
Line 250: Line 236:
|rarity              = 2
|rarity              = 2
|image                = Lich
|image                = Lich
|stat1               = Health 2100
|stats               = Health 2100,Move Speed 200
|stat2                = Move Speed 200
|enemytype            = [[Undead]]
|enemytype            = [[Undead]]
|location            = [[Inferno]]
|location            = [[Inferno]]
Line 268: Line 253:
|classes              = [[Fighter]], [[Ranger]]
|classes              = [[Fighter]], [[Ranger]]
|rarity              = 7
|rarity              = 7
|stat1               = Damage 25
|stats               = Damage 25,Move Speed -20  
|stat2                = Move Speed -20  
|special              = Can deflect projectile spells while in defensive stance.  
|special              = Can deflect projectile spells while in defensive stance.  
After the reflection is triggered, you remain able to reflect for 3 seconds,  
After the reflection is triggered, you remain able to reflect for 3 seconds,  
Line 288: Line 272:
|classes              = [[Fighter]], [[Ranger]]
|classes              = [[Fighter]], [[Ranger]]
|rarity              = 7
|rarity              = 7
|stat1               = Damage 25
|stats               = Damage 25,Move Speed -20  
|stat2                = Move Speed -20  
|special              = Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 3 seconds, and cannot reflect again for 20 seconds after performing a spell reflect.
|special              = Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 3 seconds, and cannot reflect again for 20 seconds after performing a spell reflect.
|enchantments        = 4
|enchantments        = 4
Line 309: Line 292:
|classes              = [[Fighter]]
|classes              = [[Fighter]]
|rarity              = 3
|rarity              = 3
|stat1               = Armor Rating 24
|stats               = Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7%
|stat2                = Move Speed -12  
|stat3                = Headshot Reduction -18%
|stat4                = Projectile Reduction -7%
|enchantments        = 1
|enchantments        = 1
|slottype            = Head
|slottype            = Head
Line 323: Line 303:
|classes              = [[Fighter]]
|classes              = [[Fighter]]
|rarity              = 3
|rarity              = 3
|stat1               = Armor Rating 24
|stats               = Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7%
|stat2                = Move Speed -12  
|stat3                = Headshot Reduction -18%
|stat4                = Projectile Reduction -7%
|enchantments        = 1
|enchantments        = 1
|slottype            = Head
|slottype            = Head
Line 342: Line 319:
|image                  = Arming Sword 7
|image                  = Arming Sword 7
|rarity                  = 7
|rarity                  = 7
|stat1                   = Weapon Damage 2
|stats                   = Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|stat2                  = Move Speed -20
|stat3                  = Agility 1
|stat4                  = Knowledge 4
|stat5                  = Will 2
|special                = Smites enemies for 40 extra damage
|special                = Smites enemies for 40 extra damage
|effect                  = Heal 15 HP over 20 seconds
|effect                  = Heal 15 HP over 20 seconds
Line 374: Line 347:
|image                  = Arming Sword 7
|image                  = Arming Sword 7
|rarity                  = 7
|rarity                  = 7
|stat1                   = Weapon Damage 2
|stats                   = Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|stat2                  = Move Speed -20
|stat3                  = Agility 1
|stat4                  = Knowledge 4
|stat5                  = Will 2
|special                = Smites enemies for 40 extra damage
|special                = Smites enemies for 40 extra damage
|effect                  = Heal 15 HP over 20 seconds
|effect                  = Heal 15 HP over 20 seconds
Line 413: Line 382:
|image                  =
|image                  =
|rarity                  =
|rarity                  =
|stat1                  =
|stats                   =
|stat2                  =
|stat3                  =
|stat4                  =
|stat5                   =
|special                =
|special                =
|effect                  =
|effect                  =
Line 465: Line 430:
             "description": "Rarity of the item"
             "description": "Rarity of the item"
},
},
"stat1": {
"stats": {
"label": "Stat 1",
"label": "stats",
"example": "Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2",
"type": "string",
"type": "string",
"suggested": true,
"suggested": true,
             "description": "First stat of the item"
             "description": "Stats of the item"
},
"stat2": {
"label": "Stat 2",
"type": "string",
"suggested": false,
            "description": "Second stat of the item if there is any"
},
"stat3": {
"label": "Stat 3",
"type": "string",
"suggested": false,
            "description": "Third stat of the item if there is any"
},
"stat4": {
"label": "Stat 4",
"type": "string",
"suggested": false,
            "description": "Fourth stat of the item if there is any"
},
"stat5": {
"label": "Stat 5",
"type": "string",
"suggested": false,
            "description": "Fifth stat of the item if there is any"
},
},
"enchantments": {
"enchantments": {
Line 635: Line 577:
"image",
"image",
"rarity",
"rarity",
"stat1",
"stats",
"stat2",
"stat3",
"stat4",
"stat5",
"enchantments",
"enchantments",
"special",
"special",

Revision as of 06:46, 2 September 2023


Creates an infobox for a weapon.

Example

Code Preview

{{Infobox
|name        = Large Oak Chest
|description = A chest object that drops random loot from the loot table
}}
Large Oak Chest
Large Oak Chest.png

A chest object that drops random loot from the loot table



{{Infobox
|name                 = Healing Potion
|rarity               = 4
|stats                = Move Speed -20,1 Agility
|effect              = 15 HP healed over 20 seconds
|slottype             = Utility
|utilitytype          = Drink
|actiontime           = 6 seconds
|description          = Potion used to recover a bit of health
|nomargin          = 1
}}
Healing Potion
Healing Potion.png

-
Move Speed -20
-
-
1 Agility
-

15 HP healed over 20 seconds

Slot Type:
Utility
Utility Type:
Drink
Action Time:
6 seconds

Potion used to recover a bit of health



{{Infobox
|name                 = Healing Potion
|rarity               = 1
|stats                = Move Speed -20,1 Agility
|effect              = 15 HP healed over 20 seconds
|slottype             = Utility
|utilitytype          = Drink
|actiontime           = 6 seconds
|description          = Potion used to recover a bit of health
}}
Healing Potion
Healing Potion.png

-
Move Speed -20
-
-
1 Agility
-

15 HP healed over 20 seconds

Slot Type:
Utility
Utility Type:
Drink
Action Time:
6 seconds

Potion used to recover a bit of health



{{Infobox
	|name                 = Lich
	|rarity               = 2
	|image                = Lich
	|stats                = Health 2100,Move Speed 200
	|enemytype             = [[Undead]]
	|location            = [[Inferno]]
	|experience          = 50
    |nomargin             = 1
	}}
Lich
Lich.png

-
Health 2100
-
-
Move Speed 200
-
Experience:
50
Type:
Location:



{{Infobox
|name                 = Longbow
|image                = Longbow 7
|classes              = [[Fighter]], [[Ranger]]
|rarity               = 7
|stats                = Damage 25,Move Speed -20 
|special              = Can deflect projectile spells while in defensive stance. 
After the reflection is triggered, you remain able to reflect for 3 seconds, 
and cannot reflect again for 20 seconds after performing a spell reflect.
|enchantments         = 4
|combo                = Slash/Slash/Thrust
|combodamage          = 100%/100%/100%
|attackspeed          = 0.6s/0.56s/0.75s
|spotdamage            = 100%/90%/70%
|actionmovementspeed  = Attack: -25%
|description          = Crafted by a powerful and mysterious being to aid in eliminating magic users. 
He saw wizards lust for magic, fearing they would grow too powerful.
}}
Longbow
Longbow 7.png

-
Damage 25
-
-
Move Speed -20
-
-
Up to 4 extra enchantments
-
-
Can deflect projectile spells while in defensive stance. After the reflection is triggered, you remain able to reflect for 3 seconds, and cannot reflect again for 20 seconds after performing a spell reflect.
-
Required Class:
Attack Speed:
0.6s/0.56s/0.75s
Combo:
Slash/Slash/Thrust
Combo Damage:
100%/100%/100%
Spot Damage:
100%/90%/70%
Action Move Speed:
Attack: -25%

Crafted by a powerful and mysterious being to aid in eliminating magic users. He saw wizards lust for magic, fearing they would grow too powerful.



{{Infobox
|name                 = Armet
|classes              = [[Fighter]]
|rarity               = 3
|stats                = Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7%
|enchantments         = 1
|slottype             = Head
|armortype            = Metal
|description          = Molded heavy movable face and cheek plate armor, fully protecting the head from blows.
}}
Armet
Armet.png

-
Armor Rating 24
-
-
Move Speed -12
-
-
Headshot Reduction -18%
-
-
Projectile Reduction -7%
-
-
Up to 1 extra enchantments
-
Required Class:
Slot Type:
Head
Armor Type:
Metal

Molded heavy movable face and cheek plate armor, fully protecting the head from blows.


An example with all options, the information is not correct

{{Infobox
|name                    = Arming Sword
|image                   = Arming Sword 7
|rarity                  = 7
|stats                   = Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|special                 = Smites enemies for 40 extra damage
|effect                  = Heal 15 HP over 20 seconds
|classes                 = [[Fighter]]
|slottype                = Primary Weapon
|handtype                = One-Handed
|weapontype              = [[Sword]]
|utilitytype             = Throw
|actiontime              = 1 second
|attackspeed             = 0.6s/0.56s/0.75s
|reloadspeed             = 3.67 seconds
|quiversize              = 7 arrows
|combo                   = Slash/Slash/Pierce
|combodamage             = 100%/100%/150%
|spotdamage              = 100%/90%/70%
|hitbox                  = 70.5 x 17.2
|actionmovementspeed     = Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
|description             = Made from attenuated wood overlaid with leather, 
providing more defenses and stability against brunt attacks.
|nofloat                 = used for in text infobox
|nomargin                = used for tabs
|size                    = 50x50px
}}
This usage is not recommended, just here as an example
Arming Sword
Arming Sword 7.png

-
Weapon Damage 2
-
-
Move Speed -20
-
-
Agility 1
-
-
Knowledge 4
-
-
Will 2
-
-
Smites enemies for 40 extra damage
-

Heal 15 HP over 20 seconds

Required Class:
Slot Type:
Primary Weapon
Hand Type:
One-Handed
Weapon Type:
Utility Type:
Throw
Action Time:
1 second
Attack Speed:
0.6s/0.56s/0.75s
Reload Speed:
3.67 seconds
Quiver Size:
7 arrows
Combo:
Slash/Slash/Pierce
Combo Damage:
100%/100%/150%
Spot Damage:
100%/90%/70%
Hitbox:
70.5 x 17.2
Action Move Speed:
Attack -25%
Blockreaction: -3%
Riposte: -30%
Riposteattack: -30%

Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.


All Options

The full list of options are listed below.

{{Infobox
|name                    =
|image                   =
|rarity                  =
|stats                   =
|special                 =
|effect                  =
|classes                 =
|slottype                =
|armortype               =
|handtype                =
|weapontype              =
|utilitytype             =
|actiontime              =
|attackspeed             =
|reloadspeed             =
|quiversize              =
|combo                   =
|combodamage             =
|spotdamage              =
|hitbox                  =
|actionmovementspeed     =
|description             =
|nofloat                 =
|nomargin                =
|size                    =
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the item

Example
Bandage
Stringrequired
imageimage

Image of the item, optional, name variable is used on default

Example
Arming Sword 2
Stringoptional
rarityrarity

Rarity of the item

Example
1
Stringsuggested
statsstats

Stats of the item

Example
Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
Stringsuggested
enchantmentsenchantments

enchantments of the item if there is any

Stringoptional
Specialspecial

Special power of the item if there is any

Stringoptional
effecteffect

effect of the item if there is any

Stringoptional
classesclasses

Classes of item

Stringsuggested
slottypeslottype

Slot type of item

Stringsuggested
armortypearmortype

Armor type of item

Stringoptional
handtypehandtype

handtype of item

Stringoptional
weapontypeweapontype

weapontype of item

Stringoptional
utilitytypeutilitytype

Utility type of item

Stringsuggested
actiontimeactiontime

Action Time of item if there is any

Stringsuggested
attackspeedattackspeed

attackspeed of item

Stringoptional
reloadspeedreloadspeed

reloadspeed of item

Stringoptional
quiversizequiversize

quiversize of item

Stringoptional
combocombo

combo of item

Stringoptional
combodamagecombodamage

combodamage of item

Stringoptional
spotdamagespotdamage

spotdamage of item

Stringoptional
hitboxhitbox

hitbox of item

Stringoptional
actionmovementspeedactionmovementspeed

actionmovementspeed of item

Stringoptional
descriptiondescription

Description of item if there is any

Stringsuggested
nofloatnofloat

Whether the infobox float right or not

Example
1
Stringoptional
nomarginnomargin

Whether to have margin on left or not

Example
1
Stringoptional
sizesize

Size of the picture, default = 100x200px , 100x for width, 200px for height

Example
100x200px
Stringoptional