Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
old>Realpsojed m (fix for parsed linebreaks) |
old>Realpsojed m (typo) |
||
| Line 28: | Line 28: | ||
|colspan="2" style="text-align:center;"|{{ #if:{{{WeaponName|}}}|{{{WeaponName}}} <br />{{{WeaponRarity}}} {{{WeaponType}}}}} | |colspan="2" style="text-align:center;"|{{ #if:{{{WeaponName|}}}|{{{WeaponName}}} <br />{{{WeaponRarity}}} {{{WeaponType}}}}} | ||
|- | |- | ||
|colspan="2" style="text-align:center;"| | |colspan="2" style="text-align:center;"|{{ #if:{{{Damage1|}}}|{{{Damage1}}} {{{Damage1type}}} Damage<br />}}<!-- | ||
-->{{ #if:{{{Damage2|}}}|{{{Damage2}}} {{{Damage2type}}} Damage<br />}}<!-- | -->{{ #if:{{{Damage2|}}}|{{{Damage2}}} {{{Damage2type}}} Damage<br />}}<!-- | ||
-->{{ #if:{{{Damage3|}}}|{{{Damage3}}} {{{Damage3type}}} Damage<br />}}<!-- | -->{{ #if:{{{Damage3|}}}|{{{Damage3}}} {{{Damage3type}}} Damage<br />}}<!-- | ||
-->{{ #if:{{{Damage4|}}}|{{{Damage4}}} {{{Damage4type}}} Damage<br />}} | -->{{ #if:{{{Damage4|}}}|{{{Damage4}}} {{{Damage4type}}} Damage<br />}} | ||
|- | |- | ||
| | |{{ #if:{{{Stat1|}}}|{{{Stat1}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat2|}}}|{{{Stat2}}}<br />}}<!-- | -->{{ #if:{{{Stat2|}}}|{{{Stat2}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat3|}}}|{{{Stat3}}}<br />}}<!-- | -->{{ #if:{{{Stat3|}}}|{{{Stat3}}}<br />}}<!-- | ||
| Line 46: | Line 44: | ||
-->{{ #if:{{{Stat10|}}}|{{{Stat10}}}}}<!-- | -->{{ #if:{{{Stat10|}}}|{{{Stat10}}}}}<!-- | ||
-->{{ #if:{{{Durability|}}}|<br />Durability: {{{Durability}}}/{{{Durability}}} }} | -->{{ #if:{{{Durability|}}}|<br />Durability: {{{Durability}}}/{{{Durability}}} }} | ||
|style="text-align:right;"| | |style="text-align:right;"|{{ #if:{{{Stat1value|}}}|{{{Stat1value}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}}<!-- | -->{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}}<!-- | ||
-->{{ #if:{{{Stat3value|}}}|{{{Stat3value}}}<br />}}<!-- | -->{{ #if:{{{Stat3value|}}}|{{{Stat3value}}}<br />}}<!-- | ||
Revision as of 12:18, 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=
}}