Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
old>Realpsojed m (example of usage) |
old>Realpsojed m (added missing durability) |
||
Line 20: | Line 20: | ||
|Stat9=|Stat9value= | |Stat9=|Stat9value= | ||
|Stat10=|Stat10value= | |Stat10=|Stat10value= | ||
|Durability=150 | |||
|Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though. | |Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though. | ||
}} | }} | ||
Line 42: | Line 43: | ||
|Stat9=|Stat9value= | |Stat9=|Stat9value= | ||
|Stat10=|Stat10value= | |Stat10=|Stat10value= | ||
|Durability=150 | |||
|Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though. | |Flavortext=A ranged weapon from the future! Good luck finding the correct ammo for it though. | ||
}} | }} | ||
Line 63: | Line 65: | ||
-->{{ #if:{{{Stat8|}}}|{{{Stat8}}}<br />}}<!-- | -->{{ #if:{{{Stat8|}}}|{{{Stat8}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat9|}}}|{{{Stat9}}}<br />}}<!-- | -->{{ #if:{{{Stat9|}}}|{{{Stat9}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat10|}}}|{{{Stat10 | -->{{ #if:{{{Stat10|}}}|{{{Stat10}}}}} | ||
|style="text-align:right;"|{{ #if:{{{Stat1value|}}}|{{{Stat1value}}}<br />}}<!-- | |style="text-align:right;"|{{ #if:{{{Stat1value|}}}|{{{Stat1value}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}}<!-- | -->{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}}<!-- | ||
Line 75: | Line 76: | ||
-->{{ #if:{{{Stat9value|}}}|{{{Stat9value}}}<br />}}<!-- | -->{{ #if:{{{Stat9value|}}}|{{{Stat9value}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat10value|}}}|{{{Stat10value}}}}} | -->{{ #if:{{{Stat10value|}}}|{{{Stat10value}}}}} | ||
|- | |||
|colspan="2"|{{ #if:{{{Durability|}}}|Durability: {{{Durability}}}/{{{Durability}}} }} | |||
|- | |- | ||
|colspan="2" style="text-align:center;"|{{ #if:{{{Flavortext|}}}|{{{Flavortext}}}}} | |colspan="2" style="text-align:center;"|{{ #if:{{{Flavortext|}}}|{{{Flavortext}}}}} | ||
|} | |} |
Revision as of 12:25, 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= |Durability=150 |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% |
Durability: 150/150 | |
A ranged weapon from the future! Good luck finding the correct ammo for it though. |