Template:Weapon

From Stoneshard wiki
Revision as of 12:21, 12 February 2020 by old>Realpsojed (example of usage)
Jump to navigation Jump to search

This is weapon template created for use anywhere on the wiki. Usage: Copy this code and replace/fill in the values:

{{Weapon
|WeaponName=Colt 1911
|WeaponRarity=Common
|WeaponType=Gun
|Damage1=50|Damage1type=Piercing
|Damage2=3|Damage2type=Fire
|Damage3=|Damage3type=
|Damage4=|Damage4type=
|Stat1=Armor Penetration|Stat1value=+10%
|Stat2=Block Power|Stat2value=+5
|Stat3=Accuracy|Stat3value=+3%
|Stat4=Fumble Chance|Stat4value=-5%
|Stat5=|Stat5value=
|Stat6=|Stat6value=
|Stat7=|Stat7value=
|Stat8=|Stat8value=
|Stat9=|Stat9value=
|Stat10=|Stat10value=
|Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though.
}}

It will produce this result:

Colt 1911
Common Gun
50 Piercing Damage
3 Fire Damage
Armor Penetration
Block Power
Accuracy
Fumble Chance
+10%
+5
+3%
-5%
A ranged weapon from the future! Good luck finding the correct ammo for it though.