From Dark and Darker Wiki
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
</div> | </div> | ||
<div class="line"></div> | <div class="line"></div> | ||
<div class="stats-container"> | |||
{{#if:{{{classes|}}}| | {{#if:{{{classes|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Classes</div> | ||
<div style="float: | <div style="float: left; width: 50%;">{{{classes}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{damage|}}}| | {{#if:{{{damage|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Damage</div> | ||
<div style="float: left; width: 50%;">{{{damage}}}</div> | |||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{movementspeed|}}}| | {{#if:{{{movementspeed|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div> | ||
<div style="float: | <div style="float: left; width: 50%;">{{{movementspeed}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{combo|}}}| | {{#if:{{{combo|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Combo</div> | ||
<div style="float: | <div style="float: left; width: 50%;">{{{combo}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{combodamage|}}}| | {{#if:{{{combodamage|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Combo Damage</div> | ||
<div style="float: | <div style="float: left; width: 50%;">{{{combodamage}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{attackspeed|}}}| | {{#if:{{{attackspeed|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Attack Speed</div> | ||
<div style="float: left; width: 50%;">{{{attackspeed}}}</div> | |||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{sweetsour|}}}| | {{#if:{{{sweetsour|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Sweet Sour</div> | ||
<div style="float: | <div style="float: left; width: 50%;">{{{sweetsour}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
{{#if:{{{actionmovementspeed|}}}| | {{#if:{{{actionmovementspeed|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | <div style="padding: 10px 0; clear: both;"> | ||
<div style="float: left; width: | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Action Movement Speed</div> | ||
<div style="float: | <div style="float: left; width: 50%;">{{{actionmovementspeed}}}</div> | ||
</div> | </div> | ||
|}} | |}} | ||
</div> | </div> | ||
</div> | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
Revision as of 05:29, 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
|
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 |
