Difference between revisions of "Template:Weapon"
Jump to navigation
Jump to search
old>Realpsojed m |
old>Realpsojed m |
||
| Line 25: | Line 25: | ||
</noinclude> | </noinclude> | ||
{| | {| 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}}}}} | ||
|- | |- | ||
|colspan="2" style="text-align:center;"| | |colspan="2" style="text-align:center;"|{{ #if:{{{Damage1|}}}|{{{Damage1}}} {{{Damage1type}}} Damage<br />}}<!-- | ||
{{ #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:{{{Stat1|}}}|{{{Stat1}}}<br />}} | -->{{ #if:{{{Stat2|}}}|{{{Stat2}}}<br />}} | ||
{{ #if:{{{Stat2|}}}|{{{Stat2}}}<br />}} | |||
{{ #if:{{{Stat3|}}}|{{{Stat3}}}<br />}} | {{ #if:{{{Stat3|}}}|{{{Stat3}}}<br />}} | ||
{{ #if:{{{Stat4|}}}|{{{Stat4}}}<br />}} | {{ #if:{{{Stat4|}}}|{{{Stat4}}}<br />}} | ||
| Line 47: | Line 45: | ||
{{ #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:{{{Stat1value|}}}|{{{Stat1value}}}<br />}}<!-- | ||
{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}} | -->{{ #if:{{{Stat2value|}}}|{{{Stat2value}}}<br />}} | ||
{{ #if:{{{Stat3value|}}}|{{{Stat3value}}}<br />}} | {{ #if:{{{Stat3value|}}}|{{{Stat3value}}}<br />}} | ||
{{ #if:{{{Stat4value|}}}|{{{Stat4value}}}<br />}} | {{ #if:{{{Stat4value|}}}|{{{Stat4value}}}<br />}} | ||
| Line 57: | Line 55: | ||
{{ #if:{{{Stat9value|}}}|{{{Stat9value}}}<br />}} | {{ #if:{{{Stat9value|}}}|{{{Stat9value}}}<br />}} | ||
{{ #if:{{{Stat10value|}}}|{{{Stat10value}}}<br />}} | {{ #if:{{{Stat10value|}}}|{{{Stat10value}}}<br />}} | ||
|- | |- | ||
|colspan="2" style="text-align:center;"|{{ #if:{{{Flavortext|}}}|{{{Flavortext}}}}} | |colspan="2" style="text-align:center;"|{{ #if:{{{Flavortext|}}}|{{{Flavortext}}}}} | ||
|} | |} | ||
Revision as of 12:12, 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=
}}
|
| |
|
|
|