Template:MeleeInfobox/doc

From Quasimorph Wiki
Jump to navigation Jump to search

Usage

This template is used to show a melee weapon infobox.

Syntax

{{MeleeInfobox
 |image         = Inv {{lc:{{PAGENAME}}}}.png <!-- default name unless symbol is need to be added manually -->
 |Subtitle      = 
 |InternalName  = 
 |Item_ID       = <!-- for easier table sorting, can be left empty -->
 |Mainclass     = <!-- knife, blade, club, axe, fist, chainsaw -->
 |Subclass      = <!-- tool, electrical, none -->
 |AttackMode_0  = 
 |DamageMin_0   = 
 |DamageMax_0   = 
 |DamageCrit_0  = 
 |AttackCount_0 = 
 |Accuracy_0    = 
 |ChanceCrit_0  = 
 |AttackMode_1  = 
 |DamageMin_1   = 
 |DamageMax_1   = 
 |DamageCrit_1  = 
 |AttackCount_1 = 
 |Accuracy_1    = 
 |ChanceCrit_1  = 
 |ChanceKnock   = 
 |DamageType    = 
 |AmmoType      = <!-- for ammo powered weapon -->
 |MagazineCap   = <!-- for ammo powered weapon -->
 |ReloadTime    = <!-- for ammo powered weapon -->
 |Durability    = 
 |Effect        = 
 |Price         = 
 |Weight        = 
 |RepairType    = <!-- edged, bludgeoning, energy, tool, makeshift, venus, moon -->
 |Blueprint     = <!-- item chip, workbench, stove, printer, industrial fabricator, medical fabricator -->
 |Receipt_ID    = <!-- for easier table shorting -->
 |InputItem     = 
 |ProduceTime   = 
 |OutputItem    = 
}}

Example

{{MeleeInfobox
 |name          = Claw
 |image         = Inv_claw.png
 |Subtitle      = Combat Knife
 |InternalName  = army_knife
 |Item_ID       = 000001
 |Mainclass     = {{Knife}}
 |Subclass      = 
 |AttackMode_0  = Hit
 |DamageMin_0   = 12
 |DamageMax_0   = 16
 |DamageCrit_0  = 150
 |AttackCount_0 = 1
 |Accuracy_0    = 25
 |ChanceCrit_0  = 5
 |AttackMode_1  = Series of hits
 |DamageMin_1   = 7
 |DamageMax_1   = 10
 |DamageCrit_1  = 150
 |AttackCount_1 = 3
 |Accuracy_1    = 10
 |ChanceCrit_1  = 5
 |ChanceKnock   = 
 |DamageType    = Piercing
 |AmmoType      = 
 |MagazineCap   = 
 |ReloadTime    = 
 |Durability    = 90
 |Effect        = {{K|Accurate Throw}}
 |Price         = 100
 |Weight        = 0.7
 |RepairType    = Edged Weapon
 |Blueprint     = Starter
 |Receipt_ID    = 000008
 |InputItem     = {{ItemIcon|Long Blade}} {{ItemIcon|Plastic}}
 |ProduceTime   = 8 Hrs
 |OutputItem    = {{ItemIcon|Long Blade}} {{ItemIcon|Long Blade}} {{ItemIcon|Plastic}}
}}