From Dark and Darker Wiki
m (Added a check for movespeed data.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{ #arraydefine: stats | {{Weapon_Data|{{{1}}}|stats|allstats}} }}{{Infobox | <includeonly>{{ #arraydefine: stats | {{Weapon_Data|{{{1}}}|stats|allstats}} }}{{Infobox | ||
|name = {{#ifeq:{{{2}}}|7|{{#if:{{Weapon_Data|{{{1}}}|unique}}|{{Weapon_Data|{{{1}}}|unique}}|{{{1}}}}}|{{{1}}}}} | |name = {{#ifeq:{{{2}}}|7|{{#if:{{Weapon_Data|{{{1}}}|unique}}|{{Weapon_Data|{{{1}}}|unique}}|{{{1}}}}}|{{{1}}}}} | ||
|image = {{{1}}} {{{2}}} | |image = {{#if:{{Weapon_Data|{{{1}}}|craftable}}|{{{1}}}|{{{1}}} {{{2}}}}} | ||
|rarity = {{{2}}} | |rarity = {{{2}}} | ||
|stats ={{ | |stats ={{ |
Revision as of 23:50, 10 February 2024
Auto creates weapon infobox
Example
{{GenerateWeaponInfobox|<weapon name>|<rarity number>}}
{{GenerateWeaponInfobox|Arming Sword|1}}