From Dark and Darker Wiki

(Added "Picking Lock: " field.)
(Moved stack size below the InvSlots image.)
 
(4 intermediate revisions by the same user not shown)
Line 33: Line 33:
--><div style="display:flex; flex-direction:column; align-items:center; font-size:18px; text-align:center;">
--><div style="display:flex; flex-direction:column; align-items:center; font-size:18px; text-align:center;">
{{{effect}}}</div>}}<!--
{{{effect}}}</div>}}<!--
-->{{#if:{{{classes|}}}{{{type|}}}{{{armortype|}}}{{{weapontype|}}}{{{utilitytype|}}}{{{slottype|}}}{{{handtype|}}}{{{actiontime|}}}{{{attackspeed|}}}{{{reloadspeed|}}}{{{quiversize|}}}{{{stacksize|}}}<!--
-->{{#if:{{{classes|}}}{{{type|}}}{{{armortype|}}}{{{weapontype|}}}{{{utilitytype|}}}{{{slottype|}}}{{{handtype|}}}{{{actiontime|}}}{{{attackspeed|}}}{{{reloadspeed|}}}{{{quiversize|}}}<!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->{{#if:{{{classes|}}}<!--
-->{{#if:{{{classes|}}}<!--
Line 78: Line 78:
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Quiver Size: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Quiver Size: </div><!--
--><div style="color:rgb(160,160,140)">{{{quiversize}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{quiversize}}}</div></div>}} }}<!--
-->{{#if:{{{stacksize|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Stack Size: </div><!--
--><div style="color:rgb(160,160,140)">{{{stacksize}}}</div></div>}} }}<!--
-->{{#if:{{{combo|}}}{{{combodamage|}}}{{{impactzones|}}}{{{hitbox|}}}{{{projectilespeed|}}}{{{pierce|}}}{{{actionmovementspeed|}}}<!--
-->{{#if:{{{combo|}}}{{{combodamage|}}}{{{impactzones|}}}{{{hitbox|}}}{{{projectilespeed|}}}{{{pierce|}}}{{{actionmovementspeed|}}}<!--
-->{{{duration|}}}{{{openduration|}}}{{{picklockduration|}}}{{{experience|}}}{{{xp|}}}{{{adventurepoints|}}}{{{ap|}}}{{{race|}}}{{{location|}}}{{{invslots|}}}<!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->{{#if:{{{combo|}}}<!--
-->{{#if:{{{combo|}}}<!--
Line 113: Line 108:
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; text-align:center;"><!--
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; text-align:center;"><!--
--><div style="color:rgb(70,70,70)">Action Move Speed<br></div><!--
--><div style="color:rgb(70,70,70)">Action Move Speed<br></div><!--
--><div style="color:rgb(160,160,140)">{{{actionmovementspeed}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{actionmovementspeed}}}</div></div>}} }}<!--
-->{{#if:{{{duration|}}}{{{openduration|}}}{{{picklockduration|}}}{{{interactioncount|}}}{{{race|}}}{{{location|}}}{{{invslots|}}}{{{stacksize|}}}<!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->{{#if:{{{duration|}}}<!--
-->{{#if:{{{duration|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
Line 126: Line 123:
--><div style="text-align:right; color:rgb(70,70,70)">Picking Lock: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Picking Lock: </div><!--
--><div style="color:rgb(160,160,140)">{{{picklockduration}}} s</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{picklockduration}}} s</div></div>}}<!--
-->{{#if:{{{experience|}}}{{{xp|}}}<!--
-->{{#if:{{{interactioncount|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">XP: </div><!--
--><div style="color:rgb(160,160,140)">{{{experience|{{{xp}}}}}}</div></div>}}<!--
-->{{#if:{{{adventurepoints|}}}{{{ap|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">AP: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Interaction Count: </div><!--
--><div style="color:rgb(160,160,140)">{{{adventurepoints|{{{ap}}}}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{interactioncount}}}</div></div>}}<!--
-->{{#if:{{{race|}}}<!--
-->{{#if:{{{race|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
Line 144: Line 137:
-->{{#if:{{{invslots|}}}<!--
-->{{#if:{{{invslots|}}}<!--
-->|<div style="display:flex; margin-top:10px; flex-direction:column; align-items:center; text-align:center;"><!--
-->|<div style="display:flex; margin-top:10px; flex-direction:column; align-items:center; text-align:center;"><!--
-->{{{invslots}}}</div>}} }}<!--
-->{{{invslots}}}</div>}}<!--
-->{{#if:{{{stacksize|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Stack Size: </div><!--
--><div style="color:rgb(160,160,140)">{{{stacksize}}}</div></div>}} }}<!--
-->{{#if:{{{experience|}}}{{{xp|}}}{{{monsterkill|}}}{{{subbosskill|}}}{{{bosskill|}}}{{{itemachieve|}}}{{{treasure|}}}<!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->{{#if:{{{experience|}}}{{{xp|}}}<!--
-->|<div style="text-align:center; color:rgb(70,70,70); font-size:18px">Experience Points</div><!--
--><div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="color:rgb(160,160,140)">{{{experience|}}}{{{xp|}}}</div></div>}}<!--
--><div style="text-align:center; color:rgb(70,70,70); font-size:18px">Adventure Points</div><!--
-->{{#if:{{{monsterkill|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Monster Kill: </div><!--
--><div style="color:rgb(160,160,140)">{{{monsterkill|}}}</div></div>}}<!--
-->{{#if:{{{subbosskill|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Subboss Kill: </div><!--
--><div style="color:rgb(160,160,140)">{{{subbosskill|}}}</div></div>}}<!--
-->{{#if:{{{bosskill|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Boss Kill: </div><!--
--><div style="color:rgb(160,160,140)">{{{bosskill|}}}</div></div>}}<!--
-->{{#if:{{{itemachieve|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Item Achieve: </div><!--
--><div style="color:rgb(160,160,140)">{{{itemachieve|}}}</div></div>}}<!--
-->{{#if:{{{treasure|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Treasure: </div><!--
--><div style="color:rgb(160,160,140)">{{{treasure|}}}</div></div>}} }}<!--
-->{{#if:{{{description|}}}<!--
-->{{#if:{{{description|}}}<!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
Line 154: Line 178:
<tr>
<tr>
<th>Code</th>
<th>Code</th>
<th>Preview</th>
<th>Preview</th></tr>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;"><!--
An example with all options, the information is not correct
-->An example with all options, the information is not correct<!--
<pre>{{Infobox
--><pre>{{Infobox
|name =Arming Sword
|name =Arming Sword
|image =Arming Sword 7
|image =Arming Sword 7
Line 175: Line 198:
|reloadspeed =3.67 seconds
|reloadspeed =3.67 seconds
|quiversize =7 arrows
|quiversize =7 arrows
|stacksize =3
|invslots =[[File:2x3InvSlot.jpg]]
|combo =Slash/Slash/Pierce
|combo =Slash/Slash/Pierce
|combodamage =100%/100%/150%
|combodamage =100%/100%/150%
Line 183: Line 208:
|openduration=3
|openduration=3
|picklockduration=3
|picklockduration=3
|interactioncount=2~4
|monsterkill=1
|subbosskill=2
|bosskill=3
|itemachieve=4
|treasure=5
|description =Made from attenuated wood overlaid with leather,  
|description =Made from attenuated wood overlaid with leather,  
providing moredefenses and stability against brunt attacks.
providing moredefenses and stability against brunt attacks.
Line 188: Line 219:
|nomargin =used for tabs
|nomargin =used for tabs
|size =50x50px}}</pre>
|size =50x50px}}</pre>
This usage is not recommended, just here as an example  
This usage is not recommended, just here as an example</td>
</td>
 
<td style="padding: 20px 50px;"><!--
<td style="padding: 20px 50px;"><!--
-->{{Infobox<!--
-->{{Infobox<!--
Line 207: Line 238:
-->|reloadspeed =3.67 seconds<!--
-->|reloadspeed =3.67 seconds<!--
-->|quiversize =7 arrows<!--
-->|quiversize =7 arrows<!--
-->|stacksize =3<!--
-->|invslots =[[File:2x3InvSlot.jpg]]<!--
-->|combo =Slash/Slash/Pierce<!--
-->|combo =Slash/Slash/Pierce<!--
-->|combodamage =100%/100%/150%<!--
-->|combodamage =100%/100%/150%<!--
Line 215: Line 248:
-->|openduration=3<!--
-->|openduration=3<!--
-->|picklockduration=3<!--
-->|picklockduration=3<!--
-->|interactioncount=2~4<!--
-->|monsterkill=1<!--
-->|subbosskill=2<!--
-->|bosskill=3<!--
-->|itemachieve=4<!--
-->|treasure=5<!--
-->|description =Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.<!--
-->|description =Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.<!--
-->|nofloat =used for in text infobox<!--
-->|nofloat =used for in text infobox<!--
-->|nomargin =used for tabs<!--
-->|nomargin =used for tabs<!--
-->|size =50x50px<!--
-->|size =50x50px<!--
-->|xp =50<!--
-->|xp =50}}</td></tr></table></noinclude>
-->|ap =40<!--
-->|invslots =[[File:1x3InvSlot.jpg|x75px]]}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;"><!--
--><pre>{{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}}</pre>
</td>
<td style="padding: 20px 30px;"><!--
-->{{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}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;"><!--
--><pre>{{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}}</pre>
</td>
<td style="padding: 20px 30px;"><!--
-->{{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}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;"><!--
--><pre>{{Infobox
|name =Lich
|rarity =2
|image =Lich
|stats =Health 2100,Move Speed 200
|race =[[Undead]]
|location =[[Inferno]]
|experience =50
|adventurepoints=50
|nomargin =1}}</pre>
</td>
<td style="padding: 20px 30px;"><!--
-->{{Infobox<!--
-->|name = Lich<!--
-->|rarity = 2<!--
-->|image = Lich<!--
-->|stats = Health 2100,Move Speed 200<!--
-->|race = [[Undead]]<!--
-->|location = [[Inferno]]<!--
-->|experience = 50<!--
-->|adventurepoints = 50<!--
-->|nomargin = 1<!--
-->}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;"><!--
--><pre>{{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
|impactzones =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.}}</pre>
</td>
<td style="padding: 20px 50px;"><!--
-->{{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<!--
-->|impactzones =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.}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;"><!--
--><pre>{{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.}}</pre>
</td>
<td style="padding: 20px 50px;"><!--
-->{{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.}}
</td>
</tr>
</table>
 
== All Options ==
The full list of options are listed below.
<pre style="display: inline-block;">{{Infobox
|name =
|image =
|rarity =
|stats =
|special =
|effect =
|classes =
|slottype =
|armortype =
|handtype =
|weapontype =
|utilitytype =
|actiontime =
|attackspeed =
|reloadspeed =
|quiversize =
|combo =
|combodamage =
|impactzones =
|hitbox =
|actionmovementspeed=
|description =
|nofloat =
|nomargin =
|size =
}}</pre>
</noinclude>

Latest revision as of 01:40, 14 May 2024

Creates an infobox for a weapon.

Example

Code Preview

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
	|stacksize	=3
	|invslots	=[[File:2x3InvSlot.jpg]]
	|combo		=Slash/Slash/Pierce
	|combodamage	=100%/100%/150%
	|impactzones	=100%/90%/70%
	|hitbox		=70.5 x 17.2
	|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
	|duration=5
	|openduration=3
	|picklockduration=3
	|interactioncount=2~4
	|monsterkill=1
	|subbosskill=2
	|bosskill=3
	|itemachieve=4
	|treasure=5
	|description	=Made from attenuated wood overlaid with leather, 
			 providing moredefenses 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:
Armor Type:
Utility Type:
Throw
Slot Type:
Primary Weapon
Hand Type:
One-Handed
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%
Impact Zones:
100%/90%/70%
Hitbox:
70.5 x 17.2
Action Move Speed
Attack -25%
Blockreaction: -3%
Riposte: -30%
Riposteattack: -30%
Duration:
5 s
Opening:
3 s
Picking Lock:
3 s
Interaction Count:
2~4
2x3InvSlot.jpg
Stack Size:
3
Experience Points
50
Adventure Points
Monster Kill:
1
Subboss Kill:
2
Boss Kill:
3
Item Achieve:
4
Treasure:
5
Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.