Template:AmmoInfobox

From Quasimorph Wiki
Jump to navigation Jump to search

This template defines the table "Ammos". View table.


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:AmmoInfobox/doc to edit this documentation. (How does this work?)

Usage

This template is used to show an ammo infobox.

Syntax

{{AmmoInfobox
 |image         = Inv {{lc:{{PAGENAME}}}}.png <!-- default name unless symbol is need to be added manually -->
 |Subtitle      = 
 |InternalName  = 
 |Item_ID       = <!-- for easier table shorting -->
 |Mainclass     = <!-- pistol, medium, heavy, bolts, energy cells, quasi cells, gas, toxic, sawblade -->
 |DamageType    = <!-- blunt, pierce, cut, fire, cold, poison, shock, beam, explosive, plasma -->
 |DamageBonus   = 
 |ChanceCrit    = 
 |ChancePierce  = 
 |ChanceKnock   = 
 |ChanceBurn    = 
 |ChanceToxic   = 
 |Price         = 
 |Weight        = 
 |StackSize     = 
 |Blueprint     = <!-- item chip, workbench, stove, printer, indutrial fabricator, medical fabricator -->
 |Receipt_ID    = <!-- for easier table shorting -->
 |InputItem     = 
 |ProduceTime   = 
 |OutputItem    = 
}}

Example

{{AmmoInfobox
 |name          = 9mm Bullets
 |image         = Inv_9mm.png
 |Subtitle      = Ammunition
 |InternalName  = pistol_basic_ammo
 |Item_ID       = 002001
 |Mainclass     = Pistol Ammo
 |DamageType    = Blunt
 |DamageBonus   = 0
 |ChanceCrit    = 3
 |ChancePierce  = 
 |ChanceKnock   = 10
 |ChanceBurn    = 
 |ChanceToxic   = 
 |Price         = 
 |Weight        = 0.01
 |StackSize     = 60
 |Blueprint     = Starter
 |Receipt_ID    = 000011
 |InputItem     = {{II|Powder}}
 |ProduceTime   = 0.5
 |OutputItem    = {{II|Powder}} {{II|Powder}}
}}