Template:Item Infobox

From Rust Wiki
Jump to: navigation, search


General Item Infobox

Usage

{{Item Infobox
| name = 
| image = 
| desc = 
| shortname = 
| type = 
| stackable = 
| craftable = 
| time = 
| ingredients = {{Item Count|Beancan Grenade|4}}{{Item Count|Small Stash|1}}{{Item Count|Rope|1}}
}}


Example

{{Item Infobox
| name = Road Signs
| image = Road Signs.png
| desc = Some road signs made of metal.
| shortname = roadsigns
| type = Components
| stackable = Yes (20)
| craftable = Yes
| workbench_level = 3 
| time = 1.0
| ingredients = {{Item Count|High Quality Metal|2}}{{Item Count|Scrap|20}}
}}
Road Signs Components
Road Signs
Description
Some road signs made of metal.
General
Shortname
roadsigns
Type
Components
Stackable
Yes (20)
Crafting
WORKBENCH LEVEL 3 REQUIRED
Craftable
Yes
Icon stopwatch.png
Time to Craft
1.0
Ingredients
High Quality Metal.pngHigh Quality Metal.png
x2
Scrap.pngScrap.png
x20

Other Parameters

  • additional_info - Adds "Additional Info" in "General". Can be used to show quick useful information.





Weapon Templates

Gun Template

Usage

{{Item Infobox
| name = 
| image = 
| desc = 
| shortname = 
| type = Weapon
| weapontype = 
| stackable = 
| firemode = 
| damage =
| recoil = 
| firerate = 
| range = 
| capacity = 
| ammunition = 
| modslot = 
| attachments = 
| craftable = 
| workbench_level = 
| time = 
| ingredients = 
}}


Example

{{Item Infobox
| name = Assault Rifle
| image = Assault Rifle.png
| desc = High damage machine rifle.
| shortname = rifle.ak
| type = Weapon
| weapontype = Ranged Weapon
| stackable = No
| firemode = Automatic
| damage = 50
| damageHead = 100
| damageChest = 51
| damageArms = 11
| damageLegs = N/A
| recoil = 8.5
| firerate = 450 RPM
| range = 250~400 Meters
| capacity = 30
| ammunition = {{Item Count|5.56 Rifle Ammo|}}{{Item Count|Explosive 5.56 Rifle Ammo|}}{{Item Count|HV 5.56 Rifle Ammo|}}{{Item Count|Incendiary 5.56 Rifle Ammo|}}
| modslot = 3
| attachments = {{Item Count|Silencer|}}{{Item Count|Weapon Laser|}}{{Item Count|Weapon Flashlight|}}{{Item Count|Holosight|}}{{Item Count|4x Zoom Scope|}}{{Item Count|Muzzle Boost|}}{{Item Count|Muzzle Brake|}}
| craftable = Yes
| workbench_level = 3
| time = 180s
| ingredients = {{Item Count|High Quality Metal|50}}{{Item Count|Wood|200}}{{Item Count|Rifle Body|1}}{{Item Count|Metal Spring|3}}
}}


Assault Rifle Weapon
Assault Rifle
Description
High damage machine rifle.
General
Shortname
rifle.ak
Type
Weapon
Stackable
No
Weapon Stats
Weapon Type
Ranged Weapon
Fire Mode
Automatic
Damage
50
Damage Table
Head: 100
Chest: 51
Arms: 11
Legs: N/A
Recoil
8.5
Rate of Fire
450 RPM
Range
250~400 Meters
Capacity
30
Ammunition
5.56 Rifle Ammo.png5.56 Rifle Ammo.png
Explosive 5.56 Rifle Ammo.pngExplosive 5.56 Rifle Ammo.png
HV 5.56 Rifle Ammo.pngHV 5.56 Rifle Ammo.png
Incendiary 5.56 Rifle Ammo.pngIncendiary 5.56 Rifle Ammo.png
Attachments
Silencer.pngSilencer.png
Weapon Lasersight.pngWeapon Lasersight.png
Weapon Flashlight.pngWeapon Flashlight.png
Holosight.pngHolosight.png
4x Zoom Scope.png4x Zoom Scope.png
Muzzle Boost.pngMuzzle Boost.png
Muzzle Brake.pngMuzzle Brake.png
Mod Slot
3
Crafting
WORKBENCH LEVEL 3 REQUIRED
Craftable
Yes
Icon stopwatch.png
Time to Craft
180s
Ingredients
High Quality Metal.pngHigh Quality Metal.png
x50
Wood.pngWood.png
x200
Rifle Body.pngRifle Body.png
x1
Metal Spring.pngMetal Spring.png
x3


Explosive Template

Usage

{{Item Infobox
| name = 
| image = 
| desc = 
| shortname = 
| type = Weapon
| stackable = 
| damage = 
| lethality = 
| throw_distance = 
| fuse_length = 
| blast_radius = 
| dudchance = 
| craftable = 
| workbench_level = 
| time = 
| ingredients = 
}}


Example

{{Item Infobox
| name = Beancan Grenade
| image = Beancan Grenade.png
| desc = Unreliable explosive device.
| shortname = grenade.beancan
| type = Weapon
| stackable = Yes (5)
| damage = 115
| lethality = N/A
| throw_distance = N/A
| fuse_length = 3.5 - 4 seconds
| blast_radius = 4.5 m
| dudchance = 15 %
| craftable = Yes
| workbench_level = 1
| time = 30s
| ingredients = {{Item Count|Gun Powder|60}}{{Item Count|Metal Fragments|20}}
}}


Beancan Grenade Weapon
Beancan Grenade
Description
Unreliable explosive device.
General
Shortname
grenade.beancan
Type
Weapon
Stackable
Yes (5)
Weapon Stats
Damage
115
Lethality
N/A
Throw Distance
N/A
Fuse Length
3.5 - 4 seconds
Icon explosion.png
Blast Radius
4.5 m
Dud Chance
15 %
Crafting
WORKBENCH LEVEL 1 REQUIRED
Craftable
Yes
Icon stopwatch.png
Time to Craft
30s
Ingredients
Gun Powder.pngGun Powder.png
x60
Metal Fragments.pngMetal Fragments.png
x20



Medical Template

Usage

{{Item Infobox
| name = 
| image = 
| desc = 
| shortname = 
| type = Medical
| stackable = 
| instant_health = 
| bleeding = 
| healing = 
| radiation = 
| poison = 
| craftable = 
| workbench_level = 
| time = 
| ingredients = 
}}


Example

{{Item Infobox
| name = Medical Syringe
| image = Medical Syringe.png
| desc = Heal yourself or others with this syringe. Left-click heals you, right-click heals a target.
| shortname = syringe.medical
| type = Medical
| stackable = Yes (2)
| instant_health = +15
| bleeding = 
| healing = +20
| radiation = -10
| poison = -5
| craftable = Yes
| workbench_level = 2
| time = 20 s
| ingredients = {{Item Count|Cloth|15}}{{Item Count|Metal Fragments|10}}{{Item Count|Low Grade Fuel|10}}
}}


Medical Syringe Medical
Medical Syringe
Description
Heal yourself or others with this syringe. Left-click heals you, right-click heals a target.
General
Shortname
syringe.medical
Type
Medical
Stackable
Yes (2)
Crafting
WORKBENCH LEVEL 2 REQUIRED
Craftable
Yes
Icon stopwatch.png
Time to Craft
20 s
Ingredients
Cloth.pngCloth.png
x15
Metal Fragments.pngMetal Fragments.png
x10
Low Grade Fuel.pngLow Grade Fuel.png
x10

See also