Difference between revisions of "Template:Weapon/doc"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
old>Realpsojed
(Modified for tooltip use)
Line 5: Line 5:
  <nowiki>
  <nowiki>
{{Weapon
{{Weapon
|WeaponName=Colt 1911
|WeaponRarity=Common
|WeaponType=Gun
|WeaponType=Gun
|Damage1=50|Damage1type=Piercing
|Damage=50 Piercing
|Damage2=3|Damage2type=Fire
 
|Damage3=|Damage3type=
5 Fire
|Damage4=|Damage4type=
|Properties=Armor Penetration +10%
|Stat1=Armor Penetration|Stat1value=+10%
 
|Stat2=Block Power|Stat2value=+5
Block Power +5
|Stat3=Accuracy|Stat3value=+3%
 
|Stat4=Fumble Chance|Stat4value=-5%
|Stat5=|Stat5value=
|Stat6=|Stat6value=
|Stat7=|Stat7value=
|Stat8=|Stat8value=
|Stat9=|Stat9value=
|Stat10=|Stat10value=
|Durability=150
|Durability=150
|Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
}}
}}
</nowiki>
</nowiki>
It will produce this result:
It will produce this result:
{{Weapon
{{Weapon
|WeaponName=Colt 1911
|WeaponRarity=Common
|WeaponType=Gun
|WeaponType=Gun
|Damage1=50|Damage1type=Piercing
|Damage=50 Piercing
|Damage2=3|Damage2type=Fire
 
|Damage3=|Damage3type=
5 Fire
|Damage4=|Damage4type=
|Properties=Armor Penetration +10%
|Stat1=Armor Penetration|Stat1value=+10%
 
|Stat2=Block Power|Stat2value=+5
Block Power +5
|Stat3=Accuracy|Stat3value=+3%
 
|Stat4=Fumble Chance|Stat4value=-5%
|Stat5=|Stat5value=
|Stat6=|Stat6value=
|Stat7=|Stat7value=
|Stat8=|Stat8value=
|Stat9=|Stat9value=
|Stat10=|Stat10value=
|Durability=150
|Durability=150
|Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though.
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
}}
}}

Revision as of 00:02, 28 March 2020

This is weapon template created for use as an infobox on a specific weapon's page.

Usage: Copy this code and replace/fill in the values:

{{Weapon
|WeaponType=Gun
|Damage=50 Piercing

5 Fire
|Properties=Armor Penetration +10%

Block Power +5

|Durability=150
|Description=A ranged weapon from the future! Good luck finding the correct ammo for it though.
}}

It will produce this result:

Weapon
Common

Durability: /

Weapon
Price

Weapon