Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
old>Realpsojed m (typo) |
old>Realpsojed m (example of usage) |
||
| Line 20: | Line 20: | ||
|Stat9=|Stat9value= | |Stat9=|Stat9value= | ||
|Stat10=|Stat10value= | |Stat10=|Stat10value= | ||
|Flavortext= | |Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though. | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
It will produce this result: | |||
{{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. | |||
}} | |||
</noinclude> | </noinclude> | ||
{| class="wikitable" style="width: 20%;" | {| class="wikitable" style="width: 20%;" | ||
|colspan="2" style="text-align:center;"|{{ #if:{{{WeaponName|}}}|{{{WeaponName}}} <br />{{{WeaponRarity}}} {{{WeaponType}}}}} | |colspan="2" style="text-align:center;"|{{ #if:{{{WeaponName|}}}|{{{WeaponName}}} <br />{{{WeaponRarity}}} {{{WeaponType}}}}} | ||
Revision as of 12:21, 12 February 2020
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. | |