Template:AutoWeaponStats: Difference between revisions

From Melvor Idle
(Change to single Lua invocation)
Tag: Replaced
No edit summary
 
Line 1: Line 1:
Automatic version of [[Template:WeaponStats]] that pulls data via Lua.
<includeonly><onlyinclude>{{#invoke:Items|getWeaponStatsBox|{{{1|{{PAGENAME}}}}}}}</onlyinclude></includeonly><noinclude>{{/doc}}</noinclude>
{{T|{{PAGENAME}}|Sunset Rapier}} becomes {{{{PAGENAME}}|Sunset Rapier}}
<includeonly><onlyinclude>{{#invoke:Items|getWeaponStatsBox|{{{1|{{PAGENAME}}}}}}}</onlyinclude></includeonly>

Latest revision as of 22:11, 9 April 2024

Template that automatically formats the statistics of a weapon. {{AutoWeaponStats|Sunset Rapier}} becomes

Weapon Stats
Offensive Stats Defensive Stats
Attack Speed 2.2s
Error creating thumbnail: File missing
Defence Bonus
0
Damage Type
Error creating thumbnail: File missing
Normal
Error creating thumbnail: File missing
Damage Reduction
0%
Attack Type
Error creating thumbnail: File missing
Melee
Error creating thumbnail: File missing
Defence Bonus
0
Error creating thumbnail: File missing
Strength Bonus
63
Error creating thumbnail: File missing
Defence Bonus
0
Error creating thumbnail: File missing
Stab Bonus
72 Equip Requirements
Error creating thumbnail: File missing
Slash Bonus
55
Error creating thumbnail: File missing
Level Required
70
Error creating thumbnail: File missing
Block Bonus
65
Error creating thumbnail: File missing
Attack Bonus
0
Error creating thumbnail: File missing
Strength Bonus
0
Error creating thumbnail: File missing
Attack Bonus
0
Error creating thumbnail: File missing
 % Damage Bonus
0%
Two Handed? No