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: | <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: | <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: | <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: | <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: | <div style="float: left; width: 65%; font-weight:bold; color:rgb(221,149,42);">Action Movement Speed</div> | ||
<div style="float: right;width: | <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 | <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
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 |