From Dark and Darker Wiki

(Changing Template to use structure that works with the new Item Data.)
m (Removed duplicate line.)
Line 17: Line 17:
|special ={{Item Data|Weapon|{{{1}}}|artifactpower}}
|special ={{Item Data|Weapon|{{{1}}}|artifactpower}}
|classes ={{Item Data|Weapon|{{{1}}}|classes}}
|classes ={{Item Data|Weapon|{{{1}}}|classes}}
|slottype ={{Item Data|Weapon|{{{1}}}|slottype}}
|enchantments ={{#ifexpr:{{#expr:{{{2}}}-2}}>0|{{#expr:{{{2}}}-2}}}}
|enchantments ={{#ifexpr:{{#expr:{{{2}}}-2}}>0|{{#expr:{{{2}}}-2}}}}
|handtype ={{Item Data|Weapon|{{{1}}}|handtype}}
|handtype ={{Item Data|Weapon|{{{1}}}|handtype}}

Revision as of 03:52, 15 March 2024

Auto creates weapon infobox

Example

{{GenerateWeaponInfobox|<weapon name>|<rarity number>}}
{{GenerateWeaponInfobox|Arming Sword|1}}
Arming Sword 1.png
Hitbox:
xx
Fulgor 7.png
-
Up to 5 extra enchantments
-
Hitbox:
xx
-
Up to 4 extra enchantments
-
Hitbox:
xx