Difference between revisions of "Template:Weapon"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
m (flavor text fix)
old>Realpsojed
m
Line 28: Line 28:


{|class="wikitable"
{|class="wikitable"
|colspan="2" style="text-align:center;"|{{ #if:{{{WeaponName|}}}|{{{WeaponName}}} <br />{{{WeaponRarity}}} {{{WeaponType}}}|Missing weapon name!}}
|colspan="2" style="text-align:center;"|{{ #if:{{{WeaponName|}}}|{{{WeaponName}}} <br />{{{WeaponRarity}}} {{{WeaponType}}}}}
|-
|-
|colspan="2" style="text-align:center;"|{{ #if:{{{Damage1|}}}|{{{Damage1}}} {{{Damage1type}}} Damage<br />|Missing damage value!}}
|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 />|Stat names missing!}}
|{{ #if:{{{Stat1|}}}|{{{Stat1}}}<br />}}
{{ #if:{{{Stat2|}}}|{{{Stat2}}}<br />}}
{{ #if:{{{Stat2|}}}|{{{Stat2}}}<br />}}
{{ #if:{{{Stat3|}}}|{{{Stat3}}}<br />}}
{{ #if:{{{Stat3|}}}|{{{Stat3}}}<br />}}
Line 46: Line 46:
{{ #if:{{{Stat10|}}}|{{{Stat10}}}<br />}}
{{ #if:{{{Stat10|}}}|{{{Stat10}}}<br />}}
{{ #if:{{{Durability|}}}|<br />Durability: {{{Durability}}}/{{{Durability}}} }}
{{ #if:{{{Durability|}}}|<br />Durability: {{{Durability}}}/{{{Durability}}} }}
 
|style="text-align:right;"|{{ #if:{{{Stat1value|}}}|{{{Stat1value}}}<br />}}
|style="text-align:right;"|{{ #if:{{{Stat1value|}}}|{{{Stat1value}}}<br />|Stat values missing!}}
{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}}
{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}}
{{ #if:{{{Stat3value|}}}|{{{Stat3value}}}<br />}}
{{ #if:{{{Stat3value|}}}|{{{Stat3value}}}<br />}}
Line 59: Line 58:


|-
|-
|colspan="2" style="text-align:center;"|{{ #if:{{{Flavortext|}}}|{{{Flavortext}}}|Flavor text missing!}}
|colspan="2" style="text-align:center;"|{{ #if:{{{Flavortext|}}}|{{{Flavortext}}}}}
|}
|}

Revision as of 11:54, 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=
}}