Template:Infobox item/doc

From Underrail Wiki
< Template:Infobox item
Revision as of 03:17, 29 September 2017 by WikimanBot (talk | contribs) (→‎Syntax: spread parameter)
Jump to navigation Jump to search

Description

This is the infobox template for all items.

Aliases

Syntax

To use this template:

  1. copy the following code
  2. fill in the appropriate fields
  3. remove all unused lines
{{item infobox
| image        = [leave this field empty if there's no image yet]
| itemquality  = [accepted values: normal, high, rarity, unique, artifact]
| name         = 
| type         = 
| description  = 
| trapstats    = [skill req and detection difficulty for traps]
| capabilities = [Use / On Hit / other item capabilities]
| incurred     = [incurred stats written in orange]
| onequip      = [bonuses/penalties on equip]
| energy       = [battery capacity]
| durability   = [durability and its type]
| disassembly  = [remove this if item is not disassemble-able]
| limitations  = [general restrictions like cant be used in combat etc]
| weight       = 
| value        = [base trading value, NOT value affected by trading multiplier]
|
|ammo attributes:
| caliber      = eg. "7.62mm"
| type         = Standard, JHP or W2C
|
|armor attributes:
| res-mech     = 
| res-heat     = 
| res-cold     = 
| res-elec     = 
| res-acid     = 
| res-ener     = 
| res-bio      = 
| encumbrance  = [aka armor penalty]
| minstr       = 
|
|blueprint attributes:
| description2 = [description on the crafting recipe]
| component1   = [mandatory first component]
| component2   = 
| component3   = 
| component4   = 
| component5   = 
| optional1    = 
| diffmod1     = 
| optional2    = 
| diffmod2     = 
| optional3    = 
| diffmod3     = 
|
|component attributes:
| quality      = 
| skillsreq    = [multiple lines, each intended with ":"]
|
|shield emitter attributes:
| capacity     = 
| conversion   = 
| dissipation  = 
| shield-vlow  = 
| shield-low   = 
| shield-med   = 
| shield-high  = 
| shield-vhigh = 
|
|weapon attributes:
| damage       = 
| impactspeed  = [accepted values: Very Low, Low, Medium, High, Very High]
| ap           = 
| spread       = 
| range        = 
| precision    = 
| cqprec.      = 
| moveprec.    = 
| burstprec.   = 
| extraburst   = 
| critchance   = 
| critbonus    = 
| minstr       = 
| minskill     = 
| ammotype     = 
| magcap       = 
| canunload    = [remove this line if weapon cannot be unloaded]
| energy/shot  = 
| energy       = 
|
|meta:
| datafile     = [the item definition or generator file]
}}

Samples

Blueprint.png
Blueprint: Sniper Rifle
Blueprint
Contain instructions on how to create a sniper rifle.
Use: Download blueprint into your wristpad.
Weight: 0.05
Value: 2000

Sniper rifles can be created from frame, barrel and scope parts. The type and quality of the frame will determine the rifle's overall damage potential, while the barrel will dictate the payload. Scope will influence the rifle's precision, critical hit chance and other qualities.

A number of optional components can also be added to further enhance the weapon.
Frame Barrel Scope
Sniper Rifle Enhancement
Optional.
Using this slot will increase the total skill requirements by 15% of the occupying item's requirements.
Sniper Rifle Enhancement
Optional.
Using this slot will increase the total skill requirements by 15% of the occupying item's requirements.
{{infobox item
| image        = items_devices_blueprint.png
| itemquality  = high
| name         = Blueprint: Sniper Rifle
| type         = Blueprint
| description  = Contain instructions on how to create a sniper rifle.
| capabilities = Use: Download blueprint into your wristpad.
| weight       = 0.05
| value        = 2000
| description2 = Sniper rifles can be created from frame, barrel and scope parts. The type and quality of the frame will determine the rifle's overall damage potential, while the barrel will dictate the payload. Scope will influence the rifle's precision, critical hit chance and other qualities.<br/><br/>A number of optional components can also be added to further enhance the weapon.
| component1   = Frame
| component2   = Barrel
| component3   = Scope
| optional1    = Sniper Rifle Enhancement
| diffmod1     = 15%
| optional2    = Sniper Rifle Enhancement
| diffmod2     = 15%
}}
Blueprint.png
Blueprint: Health Hypo
Blueprint
Contains instructions on how to create a health hypo.
Use: Download blueprint into your wristpad.
Weight: 0.05
Value: 800

Health Hypo can be created by mixing healthy animal blood with insectoid saliva and preserving the mixture with anticoagulant.
Blood (x3) Insectoid Saliva
Anticoagulant Syringe (x2)
{{infobox item
| image        = items_devices_blueprint.png
| itemquality  = high
| name         = Blueprint: Health Hypo
| type         = Blueprint
| description  = Contains instructions on how to create a health hypo.
| capabilities = Use: Download blueprint into your wristpad.
| weight       = 0.05
| value        = 800
| description2 = Health Hypo can be created by mixing healthy animal blood with insectoid saliva and preserving the mixture with anticoagulant.
| component1   = Blood (x3)
| component2   = Insectoid Saliva
| component3   = Anticoagulant
| component4   = Syringe (x2)
}}
Health Hypo.png
Health Hypo
Medicine
A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use.
Use: Instantly restores 80 health points.
(AP: 10, Cooldown: 6 turns)
Weight: 0.10
Value: 120
{{infobox item
| image        = items_medicine_health_hypo.png
| itemquality  = normal
| name         = Health Hypo
| type         = Medicine
| description  = A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use.
| capabilities = Use: Instantly restores 80 health points.<br/>(AP: 10, Cooldown: 6 turns)
| weight       = 0.10
| value        = 120
}}
Steel Crowbar.png
Steel Crowbar
Melee Weapon
This handy tool can also be used as a weapon in a pinch.
Damage: 5-13 (Mechanical)
Impact speed: Very Low
Base action points: 18 AP
Range: Melee
Critical chance: 10%
Critical damage bonus: 100%
Damage increased by 3% for every point in strength above 6.

Use: Forces open a ventilation shaft. It won't be able to close afterwards.
(AP: 15)
Weight: 2.50
Value: 50
{{infobox item
| image        = Crowbar icon.png
| itemquality  = normal
| name         = Steel Crowbar
| type         = Melee Weapon
| description  = This handy tool can also be used as a weapon in a pinch.
| damage       = 5-13 (Mechanical)
| impactspeed  = Very Low
| ap           = 18 AP
| range        = Melee
| critchance   = 10%
| critbonus    = 100%
| capabilities = Damage increased by 3% for every point in strength above 6.<br><br>Use: Forces open a ventilation shaft. It won't be able to close afterwards.<br>(AP: 15)
| weight       = 2.50
| value        = 50
}}
Misc icon.png
{{{name}}}
JHP
{{{description}}}
Weight: 0.03
Value: 18
{{Infobox item
| caliber = 9mm
| type    = JHP
| weight  = 0.03
| value   = 18
}}
Steel Armor.png
Galvanic Steel Armor
Armor Suit
This is a suit of steel armor. Below the protective plates is a vest that provides moderate protection against electrical attacks.
Resistances:
Mechanical: 51% / 15
Heat: 5
Electricity: 16% / 3
Acid: 5
Energy: 38% / 10
Minimal strength: 8
Armor penalty: 70%
Durability: 505 / 505 (mechanical)
Weight: 20.00
Value: 10758
{{infobox item
| example     = yes
| image       = steel armor.png
| itemquality = normal
| name        = Galvanic Steel Armor
| type        = Armor Suit
| description = This is a suit of steel armor. Below the protective plates is a vest that provides moderate protection against electrical attacks.
| res-mech    = 51% / 15
| res-heat    = 5
| res-elec    = 16% / 3
| res-acid    = 5
| res-ener    = 38% / 10
| encumbrance = 70%
| minstr      = 8
| durability  = 505 / 505 (mechanical)
| weight      = 20.00
| value       = 10758
}}
Mutated Dog Leather.png
Mutated Dog Leather
Component
This skin can be turned into an acid resistant leather armor.
Quality: 62 ?
Required crafting skills:
Tailoring 62
Chemistry 18
Weight: 5.00
Value: 1500
{{infobox item
| image       = items_components_leather3.png
| itemquality = high
| name        = Mutated Dog Leather
| type        = Component
| description = This skin can be turned into an acid resistant leather armor.
| quality     = 62
| skillsreq   =
:Tailoring 62
:Chemistry 18
| weight      = 5.00
| value       = 1500
}}
Keycard blue.png
Private Quarters Key Card
Key
Unlocks your private quarters.
Cannot be sold.
{{infobox item
| image       = keycard_blue.png
| itemquality = normal
| name        = Private Quarters Key Card
| type        = Key
| description = Unlocks your private quarters.
}}