From Dark and Darker Wiki

mNo edit summary
m (Adjusted widths to fit better)
Line 1: Line 1:
<includeonly>
<includeonly>
<div class="itembox" style="width:90%;max-width:400px; border:2px solid rgb(var(--rarity-{{{rarity}}}),0.5); {{#ifeq:{{{nofloat|}}}|1||float:right;}}">
<div class="itembox" style="width:90%;max-width:500px; 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">
<div style="float:left">
Line 31: Line 31:
{{#if:{{{movementspeed|}}}|
{{#if:{{{movementspeed|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div>
<div style="float: left; width: 60%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{movementspeed}}}</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{movementspeed}}}</div>
</div>
</div>
Line 38: Line 38:
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Combo</div>
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Combo</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{combo}}}</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{combo}}}</div>
</div>
</div>
|}}
|}}
Line 44: Line 44:
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Combo Damage</div>
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Combo Damage</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{combodamage}}}</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{combodamage}}}</div>
</div>
</div>
|}}
|}}
Line 61: Line 61:
{{#if:{{{actionmovementspeed|}}}|
{{#if:{{{actionmovementspeed|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Action Movement Speed</div>
<div style="float: left; width: 65%; font-weight:bold; color:rgb(221,149,42);">Action Movement Speed</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{actionmovementspeed}}}</div>
<div style="float: right;width: 35%;text-align-last: right;font-weight:bold;">{{{actionmovementspeed}}}</div>
</div>
</div>
|}}
|}}
Line 93: Line 93:
|actionmovementspeed  = Attack: -25%
|actionmovementspeed  = Attack: -25%
}}</pre></td>
}}</pre></td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 50px;">
{{Infobox Weapon
{{Infobox Weapon
|name                = Arming Sword
|name                = Arming Sword

Revision as of 06:38, 4 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 7.png
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   = 
}}

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
Action movement speedactionmovementspeed

Action movement speed of the item

Stringsuggested