From Dark and Darker Wiki

(added weapontype and some padding to dashes of stats)
(Moved "Adventure Points" within the if statement.)
 
(44 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<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 class="bold" style="margin-top:0px!important;font-size:22px">
</div>
{{#switch:1
|{{#ifeq:{{{link|}}}|nolink|1}}=
{{{name}}}
|{{#if:{{{link|}}}|1}}=
[[{{{link}}}|<span class="colorrarity{{{rarity}}}">{{{name}}}</span>]]
|#default=
[[{{{name}}}|<span class="colorrarity{{{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;"><!--
{{#if:{{{image|}}}
-->{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|link={{{link|nolink}}}|size={{{size|100x200px}}}}}</div><!--
|{{Iconbox|{{{name}}}|image={{{image}}}.png|caption=no|nolink=1|size=100x200px}}
-->{{#if:{{{stats|}}}{{{enchantments|}}}{{{special|}}}<!--
|{{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|nolink=1|size=100x200px}}
-->|<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>  
-->{{#arraydefine:stats|{{{stats|}}}}}<!--
{{#if:{{{stat1|}}}|
-->{{#loop:i|0|{{#arraysize: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 -->
-->|<nowiki/>{{#vardefine:stat|{{#arrayindex:stats|{{#var:i}} }} }}<!--
<div style="display:flex; flex-direction:column; align-items:center; text-align:center">  
--><div style="{{#ifeq:{{ #var:i }}|0||margin-top:10px;}}display:flex;width:100%;flex-direction:row; justify-content:space-between;"><!--
<div style="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><div>{{{stat1}}}</div><div style="padding:0px 5px;" class="bold">-</div>
--><div>{{ #var:stat }}</div><!--
</div><!--
--><div style="padding:0px 5px;" class="bold">-</div></div>}}<!--
                -->{{#if:{{{stat2|}}}|
-->{{#if:{{{enchantments|}}}<!--
<div style="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>{{{stat2}}}</div><div style="padding:0px 5px;" class="bold">-</div>
--><div style="padding:0px 5px;" class="bold colorrarity4">-</div><!--
</div>}}<!--
--><div class="colorrarity4">Up to {{{enchantments}}} extra enchantments</div><!--
                -->{{#if:{{{stat3|}}}|
--><div style="padding:0px 5px;" class="bold colorrarity4">-</div></div>}}<!--
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">  
-->{{#if:{{{special|}}}<!--
<div style="padding:0px 5px;" class="bold">-</div><div>{{{stat3}}}</div><div style="padding:0px 5px;" class="bold">-</div>
-->|<div style="margin-top:10px; display:flex; width:100%; flex-direction:row; justify-content:space-between;"><!--
</div>}}<!--
--><div style="padding:0px 5px; color:rgb(211,178,125);" class="bold">-</div><!--
                -->{{#if:{{{stat4|}}}|
--><div style="color:rgb(211,178,125);">{{{special}}}</div><!--
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">  
--><div style="padding:0px 5px; color:rgb(211,178,125);" class="bold">-</div></div>}}</div>}}<!--
<div style="padding:0px 5px;" class="bold">-</div><div>{{{stat4}}}</div><div style="padding:0px 5px;" class="bold">-</div>
-->{{#if:{{{effect|}}}<!--
</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:{{{stat5|}}}|
--><div style="display:flex; flex-direction:column; align-items:center; font-size:18px; text-align:center;">
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">  
{{{effect}}}</div>}}<!--
<div style="padding:0px 5px"class="bold">-</div><div>{{{stat5}}}</div><div style="padding:0px 5px;" class="bold">-</div>
-->{{#if:{{{compact_effect|}}}<!--
</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:{{{enchantments|}}}|
--><div style="text-align:center">
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">
{{{compact_effect}}}</div>}}<!--
<div style="padding:0px 5px;" class="bold colorrarity4">-</div><div class="colorrarity4">Up to {{{enchantments}}} extra enchantments</div><div style="padding:0px 5px;" class="bold colorrarity4">-</div>
-->{{#if:{{{classes|}}}{{{type|}}}{{{armortype|}}}{{{weapontype|}}}{{{utilitytype|}}}{{{slottype|}}}{{{handtype|}}}{{{actiontime|}}}{{{interactiontime|}}}{{{attackspeed|}}}{{{reloadspeed|}}}{{{quiversize|}}}<!--
</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:{{{special|}}}|
-->{{#if:{{{classes|}}}<!--
<div style="margin-top:10px;display:flex;width: 100%;flex-direction: row;justify-content: space-between;">
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!--
<div style="padding:0px 5px;color:rgb(211,178,125);" class="bold">-</div><div style="color:rgb(211,178,125);">{{{special}}}</div><div style="padding:0px 5px;color:rgb(211,178,125);" class="bold">-</div>
--><div style="color:rgb(70,70,70)">Required Class: </div><!--
</div>}}
--><div style="color:rgb(160,160,140)">{{{classes}}}</div></div>}}<!--
</div>
-->{{#if:{{{type|}}}<!--
}}<!--
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!--
    -->{{#if:{{{effect|}}}|<!--
--><div style="color:rgb(70,70,70)">Type:<br></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 -->
--><div style="color:rgb(160,160,140)">{{{type|}}}</div></div>}}<!--
<div style="display:flex; flex-direction:column; align-items:center; font-size:18px; text-align:center;">  
-->{{#if:{{{armortype|}}}<!--
{{{effect}}}
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Armor Type: </div><!--
}}<!--
--><div style="color:rgb(160,160,140)">{{{armortype|}}}</div></div>}}<!--
    -->{{#if:{{{slottype|}}}{{{handtype|}}}{{{attackspeed|}}}{{{reloadspeed|}}}{{{quiversize|}}}{{{combo|}}}{{{classes|}}}|
-->{{#if:{{{weapontype|}}}<!--
        <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:row; justify-content:center; white-space:pre-wrap;"><!--
        {{#if:{{{classes|}}}|
--><div style="text-align:right; color:rgb(70,70,70)">Weapon Type: </div><!--
<div style="margin-bottom:5px;display:flex;flex-direction: column; align-items: center;">  
--><div style="color:rgb(160,160,140)">{{{weapontype|}}}</div></div>}}<!--
<div style="color:rgb(70,70,70)">Required Class: </div><div style="color:rgb(160,160,140)">{{{classes}}}</div>
-->{{#if:{{{utilitytype|}}}<!--
</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)">Utility Type: </div><!--
    -->{{#if:{{{slottype|}}}|
--><div style="color:rgb(160,160,140)">{{{utilitytype}}}</div></div>}}<!--
<div style="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">
-->{{#if:{{{slottype|}}}<!--
<div style="text-align:right; color:rgb(70,70,70)">Slot Type: </div><div style="color:rgb(160,160,140)">{{{slottype}}}</div>
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Slot Type: </div><!--
}}<!--
--><div style="color:rgb(160,160,140)">{{{slottype}}}</div></div>}}<!--
    -->{{#if:{{{armortype|}}}|
-->{{#if:{{{handtype|}}}<!--
<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="color:rgb(160,160,140)">{{{armortype}}}</div>
--><div style="text-align:right; color:rgb(70,70,70)">Hand Type: </div><!--
</div>
--><div style="color:rgb(160,160,140)">{{{handtype}}}</div></div>}}<!--
}}<!--
-->{{#if:{{{actiontime|}}}<!--
    -->{{#if:{{{handtype|}}}|
-->|<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)">Action Time: </div><!--
<div style="text-align:right; color:rgb(70,70,70)">Hand Type: </div><div style="color:rgb(160,160,140)">{{{handtype}}}</div>
--><div style="color:rgb(160,160,140)">{{{actiontime}}}</div></div>}}<!--
</div>
-->{{#if:{{{interactiontime|}}}<!--
}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
    -->{{#if:{{{weapontype|}}}|
--><div style="text-align:right; color:rgb(70,70,70)">Interaction Time: </div><!--
<div style="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">  
--><div style="color:rgb(160,160,140)">{{{interactiontime}}}</div></div>}}<!--
<div style="text-align:right; color:rgb(70,70,70)">Weapon Type: </div><div style="color:rgb(160,160,140)">{{{weapontype}}}</div>
-->{{#if:{{{attackspeed|}}}<!--
</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)">Attack Speed: </div><!--
    -->{{#if:{{{utilitytype|}}}|
--><div style="color:rgb(160,160,140)">{{{attackspeed}}}</div></div>}}<!--
<div style="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">  
-->{{#if:{{{reloadspeed|}}}<!--
<div style="text-align:right; color:rgb(70,70,70)">Utility Type: </div><div style="color:rgb(160,160,140)">{{{utilitytype}}}</div>
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Reload Speed: </div><!--
}}<!--
--><div style="color:rgb(160,160,140)">{{{reloadspeed}}}</div></div>}}<!--
    -->{{#if:{{{actiontime|}}}|
-->{{#if:{{{quiversize|}}}<!--
<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)">Action Time: </div><div style="color:rgb(160,160,140)">{{{actiontime}}}</div>
--><div style="text-align:right; color:rgb(70,70,70)">Quiver Size: </div><!--
</div>
--><div style="color:rgb(160,160,140)">{{{quiversize}}}</div></div>}} }}<!--
}}<!--
-->{{#if:{{{combo|}}}{{{combodamage|}}}{{{impactzones|}}}{{{hitbox|}}}{{{projectilespeed|}}}{{{pierce|}}}{{{actionmovementspeed|}}}<!--
    -->{{#if:{{{attackspeed|}}}|
-->|<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="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">  
-->{{#if:{{{combo|}}}<!--
<div style="text-align:right; color:rgb(70,70,70)">Attack Speed: </div><div style="color:rgb(160,160,140)">{{{attackspeed}}}</div>
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Combo: </div><!--
}}<!--
--><div style="color:rgb(160,160,140)">{{{combo}}}</div></div>}}<!--
    -->{{#if:{{{reloadspeed|}}}|
-->{{#if:{{{combodamage|}}}<!--
<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)">Reload Speed: </div><div style="color:rgb(160,160,140)">{{{reloadspeed}}}</div>
--><div style="text-align:right; color:rgb(70,70,70)">Combo Damage: </div><!--
</div>
--><div style="color:rgb(160,160,140)">{{{combodamage}}}</div></div>}}<!--
}}<!--
-->{{#if:{{{impactzones|}}}<!--
    -->{{#if:{{{quiversize|}}}|
-->|<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)">Impact Zones: </div><!--
<div style="text-align:right; color:rgb(70,70,70)">Quiver Size: </div><div style="color:rgb(160,160,140)">{{{quiversize}}}</div>
--><div style="color:rgb(160,160,140)">{{{impactzones}}}</div></div>}}<!--
</div>
-->{{#if:{{{hitbox|}}}<!--
}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
}}<!--
--><div style="text-align:right; color:rgb(70,70,70)">Hitbox: </div><!--
    -->{{#if:{{{combo|}}}|
--><div style="color:rgb(160,160,140)">{{{hitbox}}}</div></div>}}<!--
<div style="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">  
-->{{#if:{{{projectilespeed|}}}<!--
<div style="text-align:right; color:rgb(70,70,70)">Combo: </div><div style="color:rgb(160,160,140)">{{{combo}}}</div>
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Projectile Speed: </div><!--
}}<!--
--><div style="color:rgb(160,160,140)">{{{projectilespeed}}}</div></div>}}<!--
    -->{{#if:{{{combodamage|}}}|
-->{{#if:{{{pierce|}}}<!--
<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)">Combo Damage: </div><div style="color:rgb(160,160,140)">{{{combodamage}}}</div>
--><div style="text-align:right; color:rgb(70,70,70)">Pierce: </div><!--
</div>
--><div style="color:rgb(160,160,140)">{{{pierce}}}</div></div>}}<!--
}}<!--
-->{{#if:{{{actionmovementspeed|}}}<!--
    -->{{#if:{{{spotdamage|}}}|
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; text-align:center;"><!--
<div style="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">  
--><div style="color:rgb(70,70,70)">Action Move Speed<br></div><!--
<div style="text-align:right; color:rgb(70,70,70)">Spot Damage: </div><div style="color:rgb(160,160,140)">{{{spotdamage}}}</div>
--><div style="color:rgb(160,160,140)">{{{actionmovementspeed}}}</div></div>}} }}<!--
</div>
-->{{#if:{{{duration|}}}{{{openduration|}}}{{{picklockduration|}}}{{{miningduration|}}}{{{harvestingduration|}}}{{{lootduration|}}}{{{activateduration|}}}<!--
}}<!--
-->{{{interactioncount|}}}{{{race|}}}{{{location|}}}{{{invslots|}}}{{{stacksize|}}}{{{sellprice|}}}<!--
    -->{{#if:{{{hitbox|}}}|
-->|<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="display:flex;flex-direction: row;justify-content: center; white-space: pre-wrap;">  
-->{{#if:{{{duration|}}}<!--
<div style="text-align:right; color:rgb(70,70,70)">Hitbox: </div><div style="color:rgb(160,160,140)">{{{hitbox}}}</div>
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Duration: </div><!--
}}<!--
--><div style="color:rgb(160,160,140)">{{{duration}}} s</div></div>}}<!--
    -->{{#if:{{{actionmovementspeed|}}}|
-->{{#if:{{{openduration|}}}<!--
<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)">Action Move Speed: </div><div style="color:rgb(160,160,140)">{{{actionmovementspeed}}}</div>
--><div style="text-align:right; color:rgb(70,70,70)">Opening: </div><!--
</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;"><!--
        {{#if:{{{description|}}}|
--><div style="text-align:right; color:rgb(70,70,70)">Picking Lock: </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 -->
--><div style="color:rgb(160,160,140)">{{{picklockduration}}} s</div></div>}}<!--
<div style="color:rgb(115,83,67);display:flex; flex-direction:column; align-items:center; text-align:center;">
-->{{#if:{{{miningduration|}}}<!--
{{{description}}}
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</div>
--><div style="text-align:right; color:rgb(70,70,70)">Mining: </div><!--
}}
--><div style="color:rgb(160,160,140)">{{{miningduration}}} s</div></div>}}<!--
</div> 
-->{{#if:{{{harvestingduration|}}}<!--
</div>
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
</includeonly>
--><div style="text-align:right; color:rgb(70,70,70)">Harvesting: </div><!--
<noinclude>
--><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="text-align:right; color:rgb(70,70,70)">Activating: </div><!--
--><div style="color:rgb(160,160,140)">{{{activateduration}}} s</div></div>}}<!--
-->{{#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)">Interaction Count: </div><!--
--><div style="color:rgb(160,160,140)">{{{interactioncount}}}</div></div>}}<!--
-->{{#if:{{{race|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Race: </div><!--
--><div style="color:rgb(160,160,140)">{{{race}}}</div></div>}}<!--
-->{{#if:{{{location|}}}<!--
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!--
--><div style="text-align:right; color:rgb(70,70,70)">Location: </div><!--
--><div style="color:rgb(160,160,140)">{{{location}}}</div></div>}}<!--
-->{{#if:{{{invslots|}}}<!--
-->|<div style="display:flex; margin-top:10px; flex-direction:column; align-items:center; text-align:center; margin-bottom:15px"><!--
-->{{{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:{{{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|}}}<!--
-->|<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="color:rgb(115,83,67);display:flex; flex-direction:column; align-items:center; text-align:center;">{{{description}}}</div>}}</div></div><!--
--></includeonly><noinclude>
Creates an infobox for a weapon.
Creates an infobox for a weapon.
== Example ==
== Example ==
<table class="wikitable">
<table class="wikitable">
<tr>
<tr>
<th>Code</th>
<th>Code</th>
<th>Preview</th>
<th>Preview</th></tr>
</tr><tr>
<td style="padding: 20px 30px;">
<pre>
 
{{Infobox
|name        = Large Oak Chest
|description = A chest object that drops random loot from the loot table
}}</pre></td>
<td style="padding: 20px 30px;">
{{Infobox
|name        = Large Oak Chest
|description = A chest object that drops random loot from the loot table
}}
</td>
</tr><tr>
<td style="padding: 20px 30px;">
<pre>
 
{{Infobox
|name                = Healing Potion
|rarity              = 4
|stat1                = Move Speed -20
|stat2                = 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
|stat1                = Move Speed -20
|stat2                = 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
|stat1                = Move Speed -20
|stat2                = 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
|stat1                = Move Speed -20
|stat2                = 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>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>
An example with all options, the information is not correct
 
<pre>{{Infobox
{{Infobox
|name =Arming Sword
|name                = Longbow
|image =Arming Sword 7
|image                = Longbow 7
|rarity =7
|classes              = [[Fighter]], [[Ranger]]
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|rarity              = 7
|special =Smites enemies for 40 extra damage
|stat1                = Damage 25
|effect =Heal 15 HP over 20 seconds
|stat2                = Move Speed -20
|classes =[[Fighter]]
|special              = Can deflect projectile spells while in defensive stance.
|slottype =Primary Weapon
After the reflection is triggered, you remain able to reflect for 3 seconds,
|handtype =One-Handed
and cannot reflect again for 20 seconds after performing a spell reflect.
|weapontype =[[Sword]]
|enchantments        = 4
|utilitytype =Throw
|combo                = Slash/Slash/Thrust
|actiontime =1 second
|combodamage          = 100%/100%/100%
|attackspeed =0.6s/0.56s/0.75s
|attackspeed          = 0.6s/0.56s/0.75s
|reloadspeed =3.67 seconds
|spotdamage            = 100%/90%/70%
|quiversize =7 arrows
|actionmovementspeed  = Attack: -25%
|stacksize =3
|description          = Crafted by a powerful and mysterious being to aid in eliminating magic users.
|invslots =[[File:2x3InvSlot.jpg]]
He saw wizards lust for magic, fearing they would grow too powerful.
|combo =Slash/Slash/Pierce
}}</pre></td>
|combodamage =100%/100%/150%
<td style="padding: 20px 50px;">
|impactzones =100%/90%/70%
{{Infobox
|hitbox =70.5 x 17.2
|name                = Longbow
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
|image                = Longbow 7
|duration=5
|classes              = [[Fighter]], [[Ranger]]
|openduration=3
|rarity              = 7
|picklockduration=3
|stat1                = Damage 25
|interactioncount=2~4
|stat2                = Move Speed -20
|propinteraction=5
|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.
|highendpropinteraction=15
|enchantments        = 4
|monsterkill=1
|combo                = Slash/Slash/Thrust
|subbosskill=2
|combodamage          = 100%/100%/100%
|bosskill=3
|attackspeed          = 0.6s/0.56s/0.75s
|itemachieve=4
|spotdamage            = 100%/90%/70%
|treasure=5
|actionmovementspeed  = Attack: -25%
|description =Made from attenuated wood overlaid with leather,  
|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.
providing moredefenses and stability against brunt attacks.
}}
|nofloat =used for in text infobox
</td>
|nomargin =used for tabs
</tr>
|size =50x50px}}</pre>
    <tr>
This usage is not recommended, just here as an example</td>
<td style="padding: 20px 30px;">
<pre>
 
{{Infobox
|name                = Armet
|classes              = [[Fighter]]
|rarity              = 3
|stat1                = Armor Rating 24
|stat2                = Move Speed -12
|stat3                = Headshot Reduction -18%
|stat4                = 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
|stat1                = Armor Rating 24
|stat2                = Move Speed -12
|stat3                = Headshot Reduction -18%
|stat4                = 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>
    <tr>
<td style="padding: 20px 30px;">
An example with all options, the information is not correct
<pre>
{{Infobox
|name                   = Arming Sword
|image                   = Arming Sword 7
|rarity                 = 7
|stat1                  = Weapon Damage 2
|stat2                  = Move Speed -20
|stat3                  = Agility 1
|stat4                  = Knowledge 4
|stat5                  = 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
}}</pre> This usage is not recommended, just here as an example </td>
<td style="padding: 20px 50px;">
{{Infobox
|name                    = Arming Sword
|image                  = Arming Sword 7
|rarity                  = 7
|stat1                  = Weapon Damage 2
|stat2                  = Move Speed -20
|stat3                  = Agility 1
|stat4                  = Knowledge 4
|stat5                  = 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
}}
</td>
</tr>
</table>
 
== All Options ==
 
The full list of options are listed below.


<pre style="display: inline-block;">
<td style="padding: 20px 50px;"><!--
{{Infobox
-->{{Infobox
|name                   =
|name =Arming Sword
|image                   =
|image =Arming Sword 7
|rarity                  =
|link=Falchion
|stat1                  =
|rarity =7
|stat2                  =
|stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2
|stat3                  =
|special =Smites enemies for 40 extra damage
|stat4                  =
|effect =Heal 15 HP over 20 seconds
|stat5                  =
|classes =[[Fighter]]
|special                 =
|slottype =Primary Weapon
|effect                 =
|handtype =One-Handed
|classes                 =
|weapontype =[[Sword]]
|slottype               =
|utilitytype =Throw
|armortype              =
|actiontime =1 second
|handtype               =
|attackspeed =0.6s/0.56s/0.75s
|weapontype             =
|reloadspeed =3.67 seconds
|utilitytype             =
|quiversize =7 arrows
|actiontime             =
|stacksize =3
|attackspeed             =
|invslots =[[File:2x3InvSlot.jpg]]
|reloadspeed             =
|combo =Slash/Slash/Pierce
|quiversize             =
|combodamage =100%/100%/150%
|combo                  =
|impactzones =100%/90%/70%
|combodamage            =
|hitbox =70.5 x 17.2
|spotdamage              =
|actionmovementspeed=Attack -25% <br> Blockreaction: -3% <br> Riposte: -30% <br> Riposteattack: -30%
|hitbox                  =
|duration=5
|actionmovementspeed    =
|openduration=3
|description            =
|picklockduration=3
|nofloat                =
|interactioncount=2~4
|nomargin                =
|propinteraction=5
}}
|highendpropinteraction=15
</pre>
|monsterkill=1
<templatedata>
|subbosskill=2
{
|bosskill=3
"params": {
|itemachieve=4
"name": {
|treasure=5
"label": "Name",
|description =Made from attenuated wood overlaid with leather, providing more defenses and stability against brunt attacks.
"example": "Bandage",
|nofloat =used for in text infobox
"type": "string",
|nomargin =used for tabs
"required": true,
|size =50x50px
            "description": "The name of the item"
|xp =50}}</td></tr></table></noinclude>
},
"image": {
"label": "image",
"example": "Arming Sword 2",
"type": "string",
"suggested": false,
            "description": "Image of the item, optional, name variable is used on default"
},
"rarity": {
"label": "rarity",
"example": "1",
"type": "string",
"suggested": true,
            "description": "Rarity of the item"
},
"stat1": {
"label": "Stat 1",
"type": "string",
"suggested": true,
            "description": "First stat 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": {
"label": "enchantments",
"type": "string",
"suggested": false,
            "description": "enchantments of the item if there is any"
},
"special": {
"label": "Special",
"type": "string",
"suggested": false,
            "description": "Special power of the item if there is any"
},
"effect": {
"label": "effect",
"type": "string",
"suggested": false,
            "description": "effect of the item if there is any"
},
"classes": {
"label": "classes",
"type": "string",
"suggested": true,
            "description": "Classes of item"
},
"slottype": {
"label": "slottype",
"type": "string",
"suggested": true,
            "description": "Slot type of item"
},
"armortype": {
"label": "armortype",
"type": "string",
"suggested": false,
            "description": "Armor type of item"
},
"handtype": {
"label": "handtype",
"type": "string",
"suggested": false,
            "description": "handtype of item"
},
"weapontype": {
"label": "weapontype",
"type": "string",
"suggested": false,
            "description": "weapontype of item"
},
"utilitytype": {
"label": "utilitytype",
"type": "string",
"suggested": true,
            "description": "Utility type of item"
},
"actiontime": {
"label": "actiontime",
"type": "string",
"suggested": true,
            "description": "Action Time of item if there is any"
},
"attackspeed": {
"label": "attackspeed",
"type": "string",
"suggested": false,
            "description": "attackspeed of item"
},
"reloadspeed": {
"label": "reloadspeed",
"type": "string",
"suggested": false,
            "description": "reloadspeed of item"
},
"quiversize": {
"label": "quiversize",
"type": "string",
"suggested": false,
            "description": "quiversize of item"
},
"combo": {
"label": "combo",
"type": "string",
"suggested": false,
            "description": "combo of item"
},
"combodamage": {
"label": "combodamage",
"type": "string",
"suggested": false,
            "description": "combodamage of item"
},
"spotdamage": {
"label": "spotdamage",
"type": "string",
"suggested": false,
            "description": "spotdamage of item"
},
"hitbox": {
"label": "hitbox",
"type": "string",
"suggested": false,
            "description": "hitbox of item"
},
"actionmovementspeed": {
"label": "actionmovementspeed",
"type": "string",
"suggested": false,
            "description": "actionmovementspeed of item"
},
"description": {
"label": "description",
"type": "string",
"suggested": true,
            "description": "Description of item if there is any"
},
"nofloat": {
"label": "nofloat",
            "example": "1",
"type": "string",
"suggested": false,
            "description": "Whether the infobox float right or not"
},
"nomargin": {
"label": "nomargin",
            "example": "1",
"type": "string",
"suggested": false,
            "description": "Whether to have margin on left or not"
}
},
"paramOrder": [
"name",
"image",
"rarity",
"stat1",
"stat2",
"stat3",
"stat4",
"stat5",
"enchantments",
"special",
"effect",
"classes",
"slottype",
"armortype",
"handtype",
"weapontype",
"utilitytype",
"actiontime",
"attackspeed",
"reloadspeed",
"quiversize",
"combo",
"combodamage",
"spotdamage",
"hitbox",
"actionmovementspeed",
"description",
"nofloat",
"nomargin"
]
}
</templatedata></noinclude>

Latest revision as of 14:22, 26 September 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
	|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.