From Dark and Darker Wiki
No edit summary |
(Added quiver size variable) |
||
| Line 15: | Line 15: | ||
</div> | </div> | ||
<div class="line"></div> | <div class="line"></div> | ||
<div class="stats-container"> | <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: 50%; font-weight:bold; color:rgb(221,149,42);">Classes</div> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Classes</div> | ||
<div style="float: left; width: 50%;">{{{classes}}}</div> | <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: 50%; font-weight:bold; color:rgb(221,149,42);">Damage</div> | <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 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: 50%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Movement Speed</div> | ||
<div style="float: left; width: 50%;">{{{movementspeed}}}</div> | <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: 50%; font-weight:bold; color:rgb(221,149,42);">Combo</div> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Combo</div> | ||
<div style="float: left; width: 50%;">{{{combo}}}</div> | <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: 50%; font-weight:bold; color:rgb(221,149,42);">Combo Damage</div> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Combo Damage</div> | ||
<div style="float: left; width: 50%;">{{{combodamage}}}</div> | <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: 50%; font-weight:bold; color:rgb(221,149,42);">Attack Speed</div> | <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 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: 50%; font-weight:bold; color:rgb(221,149,42);">Sweet Sour</div> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Sweet Sour</div> | ||
<div style="float: left; width: 50%;">{{{sweetsour}}}</div> | <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: 50%; font-weight:bold; color:rgb(221,149,42);">Action Movement Speed</div> | <div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Action Movement Speed</div> | ||
<div style="float: left; width: 50%;">{{{actionmovementspeed}}}</div> | <div style="float: left; width: 50%;">{{{actionmovementspeed}}}</div> | ||
</div> | </div> | ||
|}} | |}}<!-- | ||
</div> | -->{{#if:{{{quiver|}}}| | ||
<div style="padding: 10px 0; clear: both;"> | |||
<div style="float: left; width: 50%; font-weight:bold; color:rgb(221,149,42);">Quiver Size</div> | |||
<div style="float: left; width: 50%;">{{{quiver}}}</div> | |||
</div> | |||
|}}<!-- | |||
--></div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
| Line 126: | Line 132: | ||
|sweetsour = | |sweetsour = | ||
|actionmovementspeed = | |actionmovementspeed = | ||
|quiver = | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 188: | Line 195: | ||
"suggested": true, | "suggested": true, | ||
"description": "Sweet and Sour spots of the item" | "description": "Sweet and Sour spots of the item" | ||
}, | |||
"quiver": { | |||
"label": "Quiver Size", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Size of the quiver" | |||
}, | }, | ||
"actionmovementspeed": { | "actionmovementspeed": { | ||
| Line 206: | Line 219: | ||
"attackspeed", | "attackspeed", | ||
"sweetsour", | "sweetsour", | ||
"quiver", | |||
"actionmovementspeed" | "actionmovementspeed" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> | ||
Revision as of 07:00, 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 =
|quiver =
}}
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 |
| Quiver Size | quiver | Size of the quiver | String | suggested |
| Action movement speed | actionmovementspeed | Action movement speed of the item | String | suggested |
