From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div class="itembox" style=" width:90%;max-width:600px; border:2px solid rgb(var(--rarity-{{{rarity}}}),0.5); {{#ifeq:{{{nofloat|}}}|1||float:right;}}"> | <div class="itembox" style=" width:90%;max-width:600px; 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;"><!-- | ||
-->{{#if:{{{rarity|}}} | -->{{#if:{{{rarity|}}} | ||
|{{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no| | |{{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|nolink=1|size=150x300px}} | ||
|{{Iconbox|{{{name}}}|image={{{name}}} 2.png|caption=no| | |{{Iconbox|{{{name}}}|image={{{name}}} 2.png|caption=no|nolink=1|size=150x300px}} | ||
}}<!-- | }}<!-- | ||
--></div> | --></div> | ||
Line 101: | Line 101: | ||
<td style="padding: 20px 50px;"> | <td style="padding: 20px 50px;"> | ||
{{Infobox Weapon | {{Infobox Weapon | ||
|name = | |name = Longbow | ||
|classes = [[Fighter]], [[Ranger]] | |classes = [[Fighter]], [[Ranger]] | ||
|damage = 25 | |damage = 25 |
Revision as of 09:40, 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% }} |
Longbow
|
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 |