From Dark and Darker Wiki

m (Typo)
(Fixed rarity color markup for Artifacts)
 
(29 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<div style="{{#if:{{{nomargin|}}}||margin-left:10px;}}background-color:rgb(var(--background-color),0.3); max-width:470px; {{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div style="{{#if:{{{nomargin|}}}||margin-left:10px;}}background-color:rgb(var(--background-color),0.3); max-width:470px; {{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div style="width: 280px;padding:20px; box-shadow: inset 0px 0px 20px 5px rgb(0 0 0 / 0.5);display:flex; flex-direction:column; align-items:center;background-color:rgb(var(--rarity-{{{rarity|}}}),0.05);border:2px solid rgb(var(--rarity-{{{rarity|1}}}),0.5);"class="itemboxheader">
<div style="width: 280px;padding:20px; box-shadow: inset 0px 0px 20px 5px rgb(0 0 0 / 0.5);display:flex; flex-direction:column; align-items:center;background-color:rgb(var(--rarity-{{{rarity|}}}),0.05);border:2px solid rgb(var(--rarity-{{{rarity|1}}}),0.5);"class="itemboxheader">
<div class="bold colorrarity{{{rarity}}}" style="margin-top:0px!important;font-size:22px;">{{{name}}}</div></div>
<div class="bold" style="margin-top:0px!important;font-size:22px">
{{#switch:1
|{{#ifeq:{{{link|}}}|nolink|1}}=
{{{name}}}
|{{#if:{{{link|}}}|1}}=
[[{{{link}}}|<span class="cr{{{rarity}}}">{{{name}}}</span>]]
|#default=
[[{{{name}}}|<span class="cr{{{rarity}}}">{{{name}}}</span>]]}}</div></div>
<div style="width: 280px; border:2px solid rgb(70,70,70,0.5); padding:20px;">
<div style="width: 280px; border:2px solid rgb(70,70,70,0.5); padding:20px;">
<div style="display:flex; flex-direction:column; align-items:center;"><!--
<div style="display:flex; flex-direction:column; align-items:center;"><!--
-->{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|nolink=1|size={{{size|100x200px}}}}}</div><!--
-->{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|link={{{link|File:{{{image|{{{name}}}}}}.png}}}|size={{{size|100x200px}}}}}</div><!--
-->{{#if:{{{stats|}}}<!--
-->{{#if:{{{stats|}}}{{{enchantments|}}}{{{special|}}}<!--
-->|<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"><!--
{{#arraydefine:stats|{{{stats|}}}}}{{
-->{{#arraydefine:stats|{{{stats|}}}}}<!--
#loop: i
-->{{#loop:i|0|{{#arraysize:stats}}<!--
|0
-->|<nowiki/>{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!--
|{{#arraysize:stats}}
|<nowiki/>
{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!--
--><div style="{{#ifeq:{{ #var:i }}|0||margin-top:10px;}}display:flex;width:100%;flex-direction:row; justify-content:space-between;"><!--
--><div style="{{#ifeq:{{ #var:i }}|0||margin-top:10px;}}display:flex;width:100%;flex-direction:row; justify-content:space-between;"><!--
--><div style="padding:0px 5px;" class="bold">-</div><!--
--><div style="padding:0px 5px;" class="bold">-</div><!--
Line 33: Line 37:
--><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:{{{compact_effect|}}}<!--
-->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!--
--><div style="text-align:center">
{{{compact_effect}}}</div>}}<!--
-->{{#if:{{{classes|}}}{{{type|}}}{{{armortype|}}}{{{weapontype|}}}{{{utilitytype|}}}{{{slottype|}}}{{{handtype|}}}{{{actiontime|}}}{{{interactiontime|}}}{{{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 45: Line 53:
-->{{#if:{{{armortype|}}}<!--
-->{{#if:{{{armortype|}}}<!--
-->|<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)">Weapon Type: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Armor Type: </div><!--
--><div style="color:rgb(160,160,140)">{{{armortype|}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{armortype|}}}</div></div>}}<!--
-->{{#if:{{{weapontype|}}}<!--
-->{{#if:{{{weapontype|}}}<!--
-->|<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)">Armor Type: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Weapon Type: </div><!--
--><div style="color:rgb(160,160,140)">{{{weapontype|}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{weapontype|}}}</div></div>}}<!--
-->{{#if:{{{utilitytype|}}}<!--
-->{{#if:{{{utilitytype|}}}<!--
Line 67: Line 75:
--><div style="text-align:right; color:rgb(70,70,70)">Action Time: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Action Time: </div><!--
--><div style="color:rgb(160,160,140)">{{{actiontime}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{actiontime}}}</div></div>}}<!--
-->{{#if:{{{interactiontime|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Interaction Time: </div><!--
--><div style="color:rgb(160,160,140)">{{{interactiontime}}}</div></div>}}<!--
-->{{#if:{{{attackspeed|}}}<!--
-->{{#if:{{{attackspeed|}}}<!--
-->|<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 78: Line 90:
-->|<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|}}}{{{unlockduration|}}}{{{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 120:
-->|<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|}}}{{{miningduration|}}}{{{harvestingduration|}}}{{{lootduration|}}}{{{activateduration|}}}<!--
-->{{{interactioncount|}}}{{{race|}}}{{{location|}}}{{{invslots|}}}{{{stacksize|}}}{{{sellprice|}}}{{{gearscore|}}}<!--
-->|<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;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Duration: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Duration: </div><!--
--><div style="color:rgb(160,160,140)">{{{duration}}} s</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{duration}}} s</div></div>}}<!--
-->{{#if:{{{unlockduration|}}}<!--
-->{{#if:{{{openduration|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Opening: </div><!--
--><div style="color:rgb(160,160,140)">{{{openduration}}} s</div></div>}}<!--
-->{{#if:{{{picklockduration|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Picking Lock: </div><!--
--><div style="color:rgb(160,160,140)">{{{picklockduration}}} s</div></div>}}<!--
-->{{#if:{{{miningduration|}}}<!--
-->|<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)">Unlock Duration: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Mining: </div><!--
--><div style="color:rgb(160,160,140)">{{{unlockduration}}} s</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{miningduration}}} s</div></div>}}<!--
-->{{#if:{{{experience|}}}{{{xp|}}}<!--
-->{{#if:{{{harvestingduration|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Harvesting: </div><!--
--><div style="color:rgb(160,160,140)">{{{harvestingduration}}} s</div></div>}}<!--
-->{{#if:{{{lootduration|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Looting: </div><!--
--><div style="color:rgb(160,160,140)">{{{lootduration}}} s</div></div>}}<!--
-->{{#if:{{{activateduration|}}}<!--
-->|<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)">XP: </div><!--
--><div style="text-align:right; color:rgb(70,70,70)">Activating: </div><!--
--><div style="color:rgb(160,160,140)">{{{experience|{{{xp}}}}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{activateduration}}} s</div></div>}}<!--
-->{{#if:{{{adventurepoints|}}}{{{ap|}}}<!--
-->{{#if:{{{interactioncount|}}}<!--
-->|<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 139: Line 165:
--><div style="color:rgb(160,160,140)">{{{location}}}</div></div>}}<!--
--><div style="color:rgb(160,160,140)">{{{location}}}</div></div>}}<!--
-->{{#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; margin-bottom:15px"><!--
-->{{{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:{{{gearscore|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Gear Score: </div><!--
--><div style="color:rgb(160,160,140)">{{{gearscore}}}</div></div>}}<!--
-->{{#if:{{{sellprice|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Sell Price: </div><!--
--><div style="color:rgb(160,160,140)">{{{sellprice}}}</div></div>}} }}<!--
-->{{#if:{{{experience|}}}{{{xp|}}}{{{monsterkill|}}}{{{subbosskill|}}}{{{bosskill|}}}{{{highendpropinteraction|}}}{{{propinteraction|}}}{{{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:{{{propinteraction|}}}<!--
-->|<div style="text-align:center; color:rgb(70,70,70); font-size:18px">'''Adventure Points'''</div><!--
--><div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Props Interaction: </div><!--
--><div style="color:rgb(160,160,140)">{{{propinteraction|}}}</div></div>}}<!--
-->{{#if:{{{highendpropinteraction|}}}<!--
-->|<div style="text-align:center; color:rgb(70,70,70); font-size:18px">'''Adventure Points'''</div><!--
--><div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">High-End Props Interaction: </div><!--
--><div style="color:rgb(160,160,140)">{{{highendpropinteraction|}}}</div></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:{{{experience|}}}{{{xp|}}}<!--
-->|<div style="text-align:center; color:rgb(70,70,70); font-size:18px; margin-top:10px">'''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>}} }}<!--
-->{{#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 147: Line 221:
Creates an infobox for a weapon.
Creates an infobox for a weapon.
== Example ==
== Example ==
These examples use dummy data, the displayed info is not reflective of the current game state.
<table class="wikitable">
<table class="wikitable">
<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
--><pre>{{Infobox
<pre>{{Infobox
|name =Arming Sword
|name =Arming Sword
|image =Arming Sword 7
|image =Arming Sword 7
|link =Falchion
|rarity =7
|rarity =7
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
Line 171: Line 246:
|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 176: Line 253:
|hitbox =70.5 x 17.2
|hitbox =70.5 x 17.2
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
|duration=5
|openduration=3
|picklockduration=3
|interactioncount=2~4
|propinteraction=5
|highendpropinteraction=15
|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 181: Line 269:
|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
-->|name =Arming Sword<!--
|name =Arming Sword
-->|image =Arming Sword 7<!--
|image =Arming Sword 7
-->|rarity =7<!--
|link=Falchion
-->|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2<!--
|rarity =8
-->|special =Smites enemies for 40 extra damage<!--
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
-->|effect =Heal 15 HP over 20 seconds<!--
|special =Smites enemies for 40 extra damage
-->|classes =[[Fighter]]<!--
|effect =Heal 15 HP over 20 seconds
-->|slottype =Primary Weapon<!--
|classes =[[Fighter]]
-->|handtype =One-Handed<!--
|slottype =Primary Weapon
-->|weapontype =[[Sword]]<!--
|handtype =One-Handed
-->|utilitytype =Throw<!--
|weapontype =[[Sword]]
-->|actiontime =1 second<!--
|utilitytype =Throw
-->|attackspeed =0.6s/0.56s/0.75s<!--
|actiontime =1 second
-->|reloadspeed =3.67 seconds<!--
|attackspeed =0.6s/0.56s/0.75s
-->|quiversize =7 arrows<!--
|reloadspeed =3.67 seconds
-->|combo =Slash/Slash/Pierce<!--
|quiversize =7 arrows
-->|combodamage =100%/100%/150%<!--
|stacksize =3
-->|impactzones =100%/90%/70%<!--
|invslots =[[File:2x3InvSlot.jpg]]
-->|hitbox =70.5 x 17.2<!--
|combo =Slash/Slash/Pierce
-->|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%<!--
|combodamage =100%/100%/150%
-->|duration=5<!--
|impactzones =100%/90%/70%
-->|unlockduration=3<!--
|hitbox =70.5 x 17.2
-->|description =Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.<!--
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
-->|nofloat =used for in text infobox<!--
|duration=5
-->|nomargin =used for tabs<!--
|openduration=3
-->|size =50x50px<!--
|picklockduration=3
-->|xp =50<!--
|interactioncount=2~4
-->|ap =40<!--
|propinteraction=5
-->|invslots =[[File:1x3InvSlot.jpg|x75px]]}}
|highendpropinteraction=15
</td>
|monsterkill=1
</tr>
|subbosskill=2
|bosskill=3
|itemachieve=4
|treasure=5
|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
|xp =50}}</td></tr>
<tr>
<tr>
<td style="padding: 20px 30px;"><!--
<td style="padding: 20px 30px;">
--><pre>{{Infobox
An example with all options except the link option. Clicking the image should link to the image file's page.
|name =Healing Potion
<pre>{{Infobox
|rarity =4
|name =Arming Sword
|stats =Move Speed -20,1 Agility
|image =Arming Sword 7
|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
|rarity =7
|stats =Damage 25,Move Speed -20  
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|special =Can deflect projectile spells while in defensive stance.
|special =Smites enemies for 40 extra damage
After the reflection is triggered, you remain able to reflect for 3 seconds,
|effect =Heal 15 HP over 20 seconds
and cannot reflect again for 20 seconds after performing a spell reflect.
|classes =[[Fighter]]
|enchantments =4
|slottype =Primary Weapon
|combo =Slash/Slash/Thrust
|handtype =One-Handed
|combodamage =100%/100%/100%
|weapontype =[[Sword]]
|utilitytype =Throw
|actiontime =1 second
|attackspeed =0.6s/0.56s/0.75s
|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%
|impactzones =100%/90%/70%
|actionmovementspeed=Attack: -25%
|hitbox =70.5 x 17.2
|description =Crafted by a powerful and mysterious being to aid in eliminating magic users.
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
He saw wizards lust for magic, fearing they would grow too powerful.}}</pre>
|duration=5
</td>
|openduration=3
<td style="padding: 20px 50px;"><!--
|picklockduration=3
-->{{Infobox<!--
|interactioncount=2~4
-->|name =Longbow<!--
|propinteraction=5
-->|image =Longbow 7<!--
|highendpropinteraction=15
-->|classes =[[Fighter]], [[Ranger]]<!--
|monsterkill=1
-->|rarity =7<!--
|subbosskill=2
-->|stats =Damage 25,Move Speed -20 <!--
|bosskill=3
-->|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.<!--
|itemachieve=4
-->|enchantments =4<!--
|treasure=5
-->|combo =Slash/Slash/Thrust<!--
|description =Made from attenuated wood overlaid with leather,  
-->|combodamage =100%/100%/100%<!--
providing moredefenses and stability against brunt attacks.
-->|attackspeed =0.6s/0.56s/0.75s<!--
|nofloat =used for in text infobox
-->|impactzones =100%/90%/70%<!--
|nomargin =used for tabs
-->|actionmovementspeed =Attack: -25%<!--
|size =50x50px}}</pre></td>
-->|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;"><!--
<td style="padding: 20px 50px;"><!--
-->{{Infobox<!--
-->{{Infobox
-->|name =Armet<!--
|name =Arming Sword
-->|classes =[[Fighter]]<!--
|image =Arming Sword 7
-->|rarity =3<!--
|rarity =7
-->|stats =Armor Rating 24,Move Speed -12, Headshot Reduction -18%,Projectile Reduction -7%<!--
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
-->|enchantments=1<!--
|special =Smites enemies for 40 extra damage
-->|slottype =Head<!--
|effect =Heal 15 HP over 20 seconds
-->|armortype =Metal<!--
|classes =[[Fighter]]
-->|description =Molded heavy movable face and cheek plate armor, fully protecting the head from blows.}}
|slottype =Primary Weapon
</td>
|handtype =One-Handed
</tr>
|weapontype =[[Sword]]
</table>
|utilitytype =Throw
 
|actiontime =1 second
== All Options ==
|attackspeed =0.6s/0.56s/0.75s
The full list of options are listed below.
|reloadspeed =3.67 seconds
<pre style="display: inline-block;">{{Infobox
|quiversize =7 arrows
|name =
|stacksize =3
|image =
|invslots =[[File:2x3InvSlot.jpg]]
|rarity =
|combo =Slash/Slash/Pierce
|stats =
|combodamage =100%/100%/150%
|special =
|impactzones =100%/90%/70%
|effect =
|hitbox =70.5 x 17.2
|classes =
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
|slottype =
|duration=5
|armortype =
|openduration=3
|handtype =
|picklockduration=3
|weapontype =
|interactioncount=2~4
|utilitytype =
|propinteraction=5
|actiontime =
|highendpropinteraction=15
|attackspeed =
|monsterkill=1
|reloadspeed =
|subbosskill=2
|quiversize =
|bosskill=3
|combo =
|itemachieve=4
|combodamage =
|treasure=5
|impactzones =
|description =Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.
|hitbox =
|nofloat =used for in text infobox
|actionmovementspeed=
|nomargin =used for tabs
|description =
|size =50x50px
|nofloat =
|xp =50}}</td></tr>
|nomargin =
</table></noinclude>
|size =
}}</pre>
</noinclude>

Latest revision as of 19:52, 20 April 2025

Creates an infobox for a weapon.

Example

These examples use dummy data, the displayed info is not reflective of the current game state.

Code Preview

An example with all options

{{Infobox
	|name		=Arming Sword
	|image		=Arming Sword 7
	|link		=Falchion
	|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
	|propinteraction=5
	|highendpropinteraction=15
	|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 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:
Weapon 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
Adventure Points
Props Interaction:
5
Adventure Points
High-End Props Interaction:
15
Monster Kill:
1
Subboss Kill:
2
Boss Kill:
3
Item Achieve:
4
Treasure:
5
Experience Points
50
Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.

An example with all options except the link option. Clicking the image should link to the image file's page.

{{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
	|propinteraction=5
	|highendpropinteraction=15
	|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}}
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:
Weapon 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
Adventure Points
Props Interaction:
5
Adventure Points
High-End Props Interaction:
15
Monster Kill:
1
Subboss Kill:
2
Boss Kill:
3
Item Achieve:
4
Treasure:
5
Experience Points
50
Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.