From Dark and Darker Wiki

No edit summary
No edit summary
Line 16: Line 16:
<div class="line"></div>
<div class="line"></div>
{{#if:{{{classes|}}}|
{{#if:{{{classes|}}}|
<div class="stats-container">
    <div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Classes</div>
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Classes</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{classes}}}</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{classes}}}</div>
Line 22: Line 22:
|}}
|}}
{{#if:{{{damage|}}}|
{{#if:{{{damage|}}}|
<div class="stats-container">
    <div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Damage</div>
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Damage</div>
         {{#if:{{{rarity|}}}
         {{#if:{{{rarity|}}}
Line 30: Line 30:
|}}
|}}
{{#if:{{{movementspeed|}}}|
{{#if:{{{movementspeed|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
    <div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 60%; 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>
Line 36: Line 36:
|}}
|}}
{{#if:{{{combo|}}}|
{{#if:{{{combo|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="padding: 10px 0; clear: both;">
<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: 60%;text-align-last: right;font-weight:bold;">{{{combo}}}</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{combo}}}</div>
Line 42: Line 42:
|}}
|}}
{{#if:{{{combodamage|}}}|
{{#if:{{{combodamage|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="padding: 10px 0; clear: both;">
<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: 60%;text-align-last: right;font-weight:bold;">{{{combodamage}}}</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{combodamage}}}</div>
Line 48: Line 48:
|}}
|}}
{{#if:{{{attackspeed|}}}|
{{#if:{{{attackspeed|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Attack Speed</div>
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Attack Speed</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{attackspeed}}}</div>
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{attackspeed}}}</div>
Line 54: Line 54:
|}}
|}}
{{#if:{{{sweetsour|}}}|
{{#if:{{{sweetsour|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Sweet Sour</div>
<div style="float: left; width: 40%; font-weight:bold; color:rgb(221,149,42);">Sweet Sour</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{sweetsour}}}</div>
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{sweetsour}}}</div>
Line 60: Line 60:
|}}
|}}
{{#if:{{{actionmovementspeed|}}}|
{{#if:{{{actionmovementspeed|}}}|
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;">
<div style="padding: 10px 0; clear: both;">
<div style="float: left; width: 65%; 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: 35%;text-align-last: right;font-weight:bold;">{{{actionmovementspeed}}}</div>
<div style="float: right;width: 35%;text-align-last: right;font-weight:bold;">{{{actionmovementspeed}}}</div>

Revision as of 05:15, 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%
}}
250px250px
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