From Dark and Darker Wiki

mNo edit summary
mNo edit summary
Line 68: Line 68:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Creates an infobox for a weapon.


== Usage ==
== Example ==
This template can be used by entering the following onto a relevant page. Do not use this on your user page. It is reserved for content pages.
 
<pre>{{Infobox Weapon
<table class="wikitable">
<tr>
<th>Code</th>
<th>Preview</th>
</tr>
<tr>
<td style="padding: 20px 30px;">
<pre>
 
{{Infobox Weapon
|name                = Arming Sword
|name                = Arming Sword
|classes              = [[Fighter]], [[Ranger]]
|classes              = [[Fighter]], [[Ranger]]
|damage              = 25
|damage              = 25
|movementspeed        = -20
|rarity              = 7
|rarity              = 7
|movementspeed        = -20
|combo                = Slash/Slash/Thrust
|combo                = Slash/Slash/Thrust
|combodamage          = 100%/100%/100%
|combodamage          = 100%/100%/100%
Line 82: Line 92:
|sweetsour            = 100%/90%/70%
|sweetsour            = 100%/90%/70%
|actionmovementspeed  = Attack: -25%
|actionmovementspeed  = Attack: -25%
}}
}}</pre></td>
 
<td style="padding: 20px 30px;">
</pre>
Results in:
 
{{Infobox Weapon
{{Infobox Weapon
|name                = Arming Sword
|name                = Arming Sword
Line 99: Line 106:
|actionmovementspeed  = Attack: -25%
|actionmovementspeed  = Attack: -25%
}}
}}
 
</td>
</tr>
</table>


== All Options ==
== All Options ==

Revision as of 05:23, 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 7.png
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                = 
|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
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