From Dark and Darker Wiki
No edit summary |
(Added gearscore option) |
||
(34 intermediate revisions by the same user 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 | <div class="bold" style="margin-top:0px!important;font-size:22px"> | ||
{{#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;"><!-- | ||
-->{{Iconbox|{{{name}}}|image={{{image|{{{name}}}}}}.png|caption=no|link={{{link|nolink}}}|size={{{size|100x200px}}}}}</div><!-- | |||
-->{{#if:{{{stats|}}}{{{enchantments|}}}{{{special|}}}<!-- | |||
{{#if:{{{stats|}}}| | -->|<div class="line" style="background-image:linear-gradient(to right,rgb(10,10,10),rgb(100,100,100),rgb(10,10,10))"></div><!-- Line --> | ||
<div style="display:flex; flex-direction:column; align-items:center; text-align:center"><!-- | |||
-->{{#arraydefine:stats|{{{stats|}}}}}<!-- | |||
{{ #arraydefine: stats | {{{stats|}}}}} | -->{{#loop:i|0|{{#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="padding:0px 5px;" class="bold">-</div><!-- | |||
--><div>{{ #var:stat }}</div><!-- | |||
--><div style="padding:0px 5px;" class="bold">-</div></div>}}<!-- | |||
-->{{#if:{{{enchantments|}}}<!-- | |||
-->|<div style="margin-top:10px; display:flex; width:100%;flex-direction:row; justify-content:space-between;"><!-- | |||
--><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></div>}}<!-- | |||
-->{{#if:{{{special|}}}<!-- | |||
-->|<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 style="color:rgb(211,178,125);">{{{special}}}</div><!-- | |||
--><div style="padding:0px 5px; color:rgb(211,178,125);" class="bold">-</div></div>}}</div>}}<!-- | |||
-->{{#if:{{{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="display:flex; flex-direction:column; align-items:center; font-size:18px; text-align:center;"> | |||
{{{effect}}}</div>}}<!-- | |||
-->{{#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><!-- | |||
-->{{#if:{{{classes|}}}<!-- | |||
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!-- | |||
--><div style="color:rgb(70,70,70)">Required Class: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{classes}}}</div></div>}}<!-- | |||
-->{{#if:{{{type|}}}<!-- | |||
-->|<div style="margin-bottom:5px; display:flex; flex-direction:column; align-items: center;"><!-- | |||
--><div style="color:rgb(70,70,70)">Type:<br></div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{type|}}}</div></div>}}<!-- | |||
-->{{#if:{{{armortype|}}}<!-- | |||
-->|<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>}}<!-- | |||
-->{{#if:{{{weapontype|}}}<!-- | |||
-->|<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="color:rgb(160,160,140)">{{{weapontype|}}}</div></div>}}<!-- | |||
-->{{#if:{{{utilitytype|}}}<!-- | |||
-->|<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><!-- | |||
--><div style="color:rgb(160,160,140)">{{{utilitytype}}}</div></div>}}<!-- | |||
-->{{#if:{{{slottype|}}}<!-- | |||
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
--><div style="text-align:right; color:rgb(70,70,70)">Slot Type: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{slottype}}}</div></div>}}<!-- | |||
-->{{#if:{{{handtype|}}}<!-- | |||
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
--><div style="text-align:right; color:rgb(70,70,70)">Hand Type: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{handtype}}}</div></div>}}<!-- | |||
-->{{#if:{{{actiontime|}}}<!-- | |||
-->|<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>}}<!-- | |||
-->{{#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|}}}<!-- | |||
-->|<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><!-- | |||
--><div style="color:rgb(160,160,140)">{{{attackspeed}}}</div></div>}}<!-- | |||
-->{{#if:{{{reloadspeed|}}}<!-- | |||
-->|<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>}}<!-- | |||
-->{{#if:{{{quiversize|}}}<!-- | |||
-->|<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="color:rgb(160,160,140)">{{{quiversize}}}</div></div>}} }}<!-- | |||
-->{{#if:{{{combo|}}}{{{combodamage|}}}{{{impactzones|}}}{{{hitbox|}}}{{{projectilespeed|}}}{{{pierce|}}}{{{actionmovementspeed|}}}<!-- | |||
-->|<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|}}}<!-- | |||
-->|<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: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{combo}}}</div></div>}}<!-- | |||
-->{{#if:{{{combodamage|}}}<!-- | |||
-->|<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>}}<!-- | |||
-->{{#if:{{{impactzones|}}}<!-- | |||
-->|<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="color:rgb(160,160,140)">{{{impactzones}}}</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><!-- | |||
--><div style="color:rgb(160,160,140)">{{{hitbox}}}</div></div>}}<!-- | |||
-->{{#if:{{{projectilespeed|}}}<!-- | |||
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
--><div style="text-align:right; color:rgb(70,70,70)">Projectile Speed: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{projectilespeed}}}</div></div>}}<!-- | |||
-->{{#if:{{{pierce|}}}<!-- | |||
-->|<div style="display:flex; flex-direction:row; justify-content:center; white-space:pre-wrap;"><!-- | |||
--><div style="text-align:right; color:rgb(70,70,70)">Pierce: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{pierce}}}</div></div>}}<!-- | |||
-->{{#if:{{{actionmovementspeed|}}}<!-- | |||
-->|<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(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|}}}<!-- | |||
-->|<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="color:rgb(160,160,140)">{{{duration}}} s</div></div>}}<!-- | |||
-->{{#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="text-align:right; color:rgb(70,70,70)">Mining: </div><!-- | |||
--><div style="color:rgb(160,160,140)">{{{miningduration}}} s</div></div>}}<!-- | |||
-->{{#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="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:{{{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>}}<!-- | |||
</includeonly> | -->{{#if:{{{sellprice|}}}<!-- | ||
<noinclude> | -->|<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;"> | <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 | |||
|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}}</pre> | |||
This usage is not recommended, just here as an example</td> | |||
An example with all options, the information is not correct | |||
<pre> | |||
{{Infobox | |||
|name | |||
|image | |||
|rarity | |||
|stats | |||
|special | |||
|effect | |||
|classes | |||
|slottype | |||
|handtype | |||
|weapontype | |||
|utilitytype | |||
|actiontime | |||
|attackspeed | |||
|reloadspeed | |||
|quiversize | |||
|combo | |||
|combodamage | |||
| | |||
|hitbox | |||
|actionmovementspeed | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|description | |||
|nofloat | |||
|nomargin | |||
|size | |||
}} | |||
< | <td style="padding: 20px 50px;"><!-- | ||
{{Infobox | -->{{Infobox | ||
|name | |name =Arming Sword | ||
|image | |image =Arming Sword 7 | ||
|rarity | |link=Falchion | ||
|stats | |rarity =7 | ||
|special | |stats =Weapon Damage 2,Move Speed -20,Agility 1,Knowledge 4,Will 2 | ||
|effect | |special =Smites enemies for 40 extra damage | ||
|classes | |effect =Heal 15 HP over 20 seconds | ||
|slottype | |classes =[[Fighter]] | ||
|slottype =Primary Weapon | |||
|handtype | |handtype =One-Handed | ||
|weapontype | |weapontype =[[Sword]] | ||
|utilitytype | |utilitytype =Throw | ||
|actiontime | |actiontime =1 second | ||
|attackspeed | |attackspeed =0.6s/0.56s/0.75s | ||
|reloadspeed | |reloadspeed =3.67 seconds | ||
|quiversize | |quiversize =7 arrows | ||
|combo | |stacksize =3 | ||
|combodamage | |invslots =[[File:2x3InvSlot.jpg]] | ||
| | |combo =Slash/Slash/Pierce | ||
|hitbox | |combodamage =100%/100%/150% | ||
|actionmovementspeed | |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 more defenses and stability against brunt attacks. | |||
|nofloat =used for in text infobox | |||
|nomargin =used for tabs | |||
|size =50x50px | |||
|xp =50}}</td></tr></table></noinclude> | |||
</ |
Latest revision as of 23:11, 28 October 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 |
- 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 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. |