From Dark and Darker Wiki

(initial auto infobox)
(added unique power)
Line 11: Line 11:
   | <nowiki/>{{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }} }}}}{{#ifeq:{{ #var:i }}|0||,}}{{ #var:stat }} {{Weapon_Data|{{{1}}}|stats|{{ #var:stat }} {{{2}}}}}
   | <nowiki/>{{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }} }}}}{{#ifeq:{{ #var:i }}|0||,}}{{ #var:stat }} {{Weapon_Data|{{{1}}}|stats|{{ #var:stat }} {{{2}}}}}
}}
}}
    |special              = {{Weapon Data|{{{1}}}|uniquepower}}
|classes              = {{Weapon Data|{{{1}}}|classes}}
|classes              = {{Weapon Data|{{{1}}}|classes}}
|slottype            = {{Weapon Data|{{{1}}}|slottype}}
|slottype            = {{Weapon Data|{{{1}}}|slottype}}

Revision as of 07:09, 2 September 2023

Auto creates weapon row

Example

{{GenerateWeaponInfobox|<weapon name>|<rarity number>}}
{{GenerateWeaponInfobox|Arming Sword|1}}
Arming Sword 1.png
-
Physical Base Weapon Damage 29
-
-
Move Speed
-
Required Class:
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
x
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.



Arming Sword 7.png
-
Physical Base Weapon Damage
-
-
Move Speed
-
-
Up to 5 extra enchantments
-
Required Class:
Slot Type:
Main-Hand
Hand Type:
One Handed
Hitbox:
x
A thin blade with leather bindings, supporting a firm grip for hasty attacks that feel light to the hand.