From Dark and Darker Wiki

No edit summary
No edit summary
Line 2: Line 2:
<div class="itembox" style=" width:90%;max-width:600px; border:2px solid rgb(var(--rarity-{{{rarity}}}),0.5); {{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div class="itembox" style=" width:90%;max-width:600px; border:2px solid rgb(var(--rarity-{{{rarity}}}),0.5); {{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div style="display:flex"class="itemboxheader">
<div style="display:flex"class="itemboxheader">
<div style="float:left; max-height:300px;"><!--
<div style="float:left; max-width:100px; max-height:300px;"><!--
-->{{#if:{{{rarity|}}}
-->{{#if:{{{rarity|}}}
|{{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|size=100px|link=}}
|{{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|size=100px|link=}}

Revision as of 08:05, 5 February 2023


Creates an infobox for a weapon.

Example

Code Preview

{{Infobox Weapon
|name                 = Arming Sword
|classes              = [[Fighter]], [[Ranger]]
|damage               = 25
|rarity               = 7
|movementspeed        = -20 
|combo                = Slash/Slash/Thrust
|combodamage          = 100%/100%/100%
|attackspeed          = 0.6s/0.56s/0.75s
|sweetsour            = 100%/90%/70%
|actionmovementspeed  = Attack: -25%
}}
Arming Sword
Arming Sword
Classes
Damage
25
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%


All Options

The full list of options are listed below.

{{Infobox Weapon
|name                  = 
|classes               = 
|damage                = 
|rarity                =
|movementspeed         = 
|combo                 =
|combodamage           =
|attackspeed           = 
|sweetsour             = 
|actionmovementspeed   = 
|quiver                = 
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the weapon

Example
Arming Sword
Stringrequired
Classesclasses

One or more classes can be added

Stringsuggested
Damagedamage

Damage of the item at corresponding rarity

Stringsuggested
Movement speedmovementspeed

Movement speed of the item

Stringsuggested
Combocombo

Combo of the item

Stringsuggested
Rarityrarity

Rarity of the item

Stringsuggested
Combo damagecombodamage

Combo damage of the item

Stringsuggested
Attackspeedattackspeed

Attackspeed of the item

Stringsuggested
Sweet and Sour spotssweetsour

Sweet and Sour spots of the item

Stringsuggested
Quiver Sizequiver

Size of the quiver

Stringsuggested
Action movement speedactionmovementspeed

Action movement speed of the item

Stringsuggested