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 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 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 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 | <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 | <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 | <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 | <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 | <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%
}} |
![]() Arming Sword
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the weapon
| String | required |
| Classes | classes | One or more classes can be added | String | suggested |
| Damage | damage | Damage of the item at corresponding rarity | String | suggested |
| Movement speed | movementspeed | Movement speed of the item | String | suggested |
| Combo | combo | Combo of the item | String | suggested |
| Rarity | rarity | Rarity of the item | String | suggested |
| Combo damage | combodamage | Combo damage of the item | String | suggested |
| Attackspeed | attackspeed | Attackspeed of the item | String | suggested |
| Sweet and Sour spots | sweetsour | Sweet and Sour spots of the item | String | suggested |
| Action movement speed | actionmovementspeed | Action movement speed of the item | String | suggested |
