Difference between revisions of "Template:Infobox item/doc"

From Underrail Wiki
Jump to navigation Jump to search
(template documentation update)
Line 10: Line 10:
  
 
== Syntax ==
 
== Syntax ==
To use this template, copy the following code, fill in the appropriate fields and remove all the rest.
+
To use this template:
<pre class="mw-collapsible mw-collapsed">
+
# copy the following code
 +
# fill in the appropriate fields
 +
# remove all unused lines
 +
 
 +
<pre class="mw-collapsible">
 
{{item infobox
 
{{item infobox
| example      = [marks the infobox as example. remove this line if stats are exact]
+
| image       = [leave this field empty if there's no image yet]
| image         = [leave this field empty if there's no image yet]
+
| itemquality = [accepted values: low, normal, high, rarity, artifact]
| itemquality   = [accepted values: low, normal, high, rarity, artifact.]
+
| name         =  
| name         =  
+
| type         = [item type (not required for ammo)]
| type         = [item type (special exception on bullets)]
+
| description =  
| description   =  
+
| whitestats   = [any stats written in white that the infobox doesn't cover]
| whitestats   = [any stats written in white that the infobox doesn't cover]
+
| greenstats   = [uses, equip effects and other stats written in green]
| greenstats   = [uses, equip effects and other stats written in green]
+
| orangestats = [incurred stats written in orange]
| orangestats   = [incurred stats written in orange]
+
| energy       =  
| energy       =  
+
| whitestats2 = [any stats written in white, below the green section]
| whitestats2   = [any stats written in white, below the green section]
+
| weight       =  
| weight       =  
+
| value       = [base trading value, NOT value affected by trading multiplier]
| value         = [base trading value, NOT value affected by trading multiplier]
 
 
|
 
|
 
|ammo attributes:
 
|ammo attributes:
| caliber       = eg. "7.62mm"
+
| caliber     = eg. "7.62mm"
| type         = Standard, JHP or W2C
+
| type         = Standard, JHP or W2C
 
|
 
|
 
|armor attributes:
 
|armor attributes:
| resistances   = [multiple lines, each intended with ":"]
+
| resistances = [multiple lines, each intended with ":"]
| encumbrance   =  
+
| encumbrance =  
| minstr       =
+
| minstr       =
 
|
 
|
 
|blueprint attributes:
 
|blueprint attributes:
| description2 = [description on the crafting recipe]
+
| description2 = [description on the crafting recipe]
| component1   = [mandatory first component]
+
| component1   = [mandatory first component]
| component2   =  
+
| component2   =  
| component3   =  
+
| component3   =  
| component4   =  
+
| component4   =  
| optional1     =  
+
| optional1   =  
| diffmod1     =  
+
| diffmod1     =  
| optional2     =  
+
| optional2   =  
| diffmod2     =  
+
| diffmod2     =  
| optional3     =  
+
| optional3   =  
| diffmod3     =  
+
| diffmod3     =  
 
|
 
|
 
|component attributes:
 
|component attributes:
| quality       =  
+
| quality     =  
| skillsreq     = [multiple lines, intended with ":"]
+
| skillsreq   = [multiple lines, intended with ":"]
 +
|
 +
|shield emitter attributes:
 +
| capacity    =
 +
| conversion  =
 +
| dissipation  =
 +
| shield-vlow  =
 +
| shield-low  =
 +
| shield-med  =
 +
| shield-high  =
 +
| shield-vhigh =
 
|
 
|
 
|weapon attributes:
 
|weapon attributes:
| damage       =  
+
| damage       =  
| impactspeed   = [accepted values: Very Low, Low, Medium, High, Very High]
+
| impactspeed = [accepted values: Very Low, Low, Medium, High, Very High]
| ap           =  
+
| ap           =  
| range         =  
+
| range       =  
| precision     =  
+
| precision   =  
| burstprec.   =  
+
| burstprec.   =  
| cqprec.       =  
+
| cqprec.     =  
| moveprec.     =  
+
| moveprec.   =  
| critchance   =  
+
| critchance   =  
| minstr       =  
+
| minstr       =  
| minskill     =  
+
| minskill     =  
| ammotype     =  
+
| ammotype     =  
| magcap       =  
+
| magcap       =  
| energy/shot   =  
+
| energy/shot =  
| energy       =  
+
| energy       =  
 
}}
 
}}
 
</pre>
 
</pre>
  
 
== Samples ==
 
== Samples ==
Please see the source code.
+
Click the expand link for visual examples. See source for how they're made.
 +
 
 +
<div class="mw-collapsible mw-collapsed">
 +
{{clear}}
 +
 
 
{{infobox blueprint
 
{{infobox blueprint
| itemquality   = high
+
| image        = items_devices_blueprint.png
| name         = Blueprint: Sniper Rifle
+
| itemquality = high
| description   = Contain instructions on how to create a sniper rifle.
+
| name         = Blueprint: Sniper Rifle
| weight       = 0,05
+
| type        = Blueprint
| value         = 2000
+
| description = Contain instructions on how to create a sniper rifle.
| 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.
+
| greenstats  = 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.
  
  
 
A number of optional components can also be added to further enhance the weapon.
 
A number of optional components can also be added to further enhance the weapon.
| component1   = Frame
+
| component1   = Frame
| component2   = Barrel
+
| component2   = Barrel
| component3   = Scope
+
| component3   = Scope
| optional1     = Sniper Rifle Enhancement
+
| optional1   = Sniper Rifle Enhancement
| diffmod1     = 15%
+
| diffmod1     = 15%
| optional2     = Sniper Rifle Enhancement
+
| optional2   = Sniper Rifle Enhancement
| diffmod2     = 15%
+
| diffmod2     = 15%
 
}}
 
}}
  
Line 96: Line 116:
  
 
{{infobox blueprint
 
{{infobox blueprint
| itemquality   = high
+
| image        = items_devices_blueprint.png
| name         = Blueprint: Health Hypo
+
| itemquality = high
| description   = Contains instructions on how to create a health hypo.
+
| name         = Blueprint: Health Hypo
| weight       = 0,05
+
| type        = Blueprint
| value         = 800
+
| description = Contains instructions on how to create a health hypo.
| description2 = Health Hypo can be created by mixing healthy animal blood with insectoid saliva and preserving the mixture with anticoagulant.
+
| greenstats  = Use: Download blueprint into your wristpad.
| component1   = Blood (x3)
+
| weight       = 0,05
| component2   = Insectoid Saliva
+
| value       = 800
| component3   = Anticoagulant
+
| description2 = Health Hypo can be created by mixing healthy animal blood with insectoid saliva and preserving the mixture with anticoagulant.
| component4   = Syringe (x2)
+
| component1   = Blood (x3)
 +
| component2   = Insectoid Saliva
 +
| component3   = Anticoagulant
 +
| component4   = Syringe (x2)
 
}}
 
}}
  
Line 111: Line 134:
  
 
{{infobox item
 
{{infobox item
| image         = items_medicine_health_hypo.png
+
| image       = items_medicine_health_hypo.png
| itemquality   = normal
+
| itemquality = normal
| name         = Health Hypo
+
| name       = Health Hypo
| type         = Medicine
+
| type       = Medicine
| description   = A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use.
+
| description = A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use.
| greenstats   = Use: Instantly restores 80 health points.<br>(AP: 10, Cooldown: 6 turns)
+
| greenstats = Use: Instantly restores 80 health points.<br>(AP: 10, Cooldown: 6 turns)
| weight       = 0,10
+
| weight     = 0,10
| value         = 120
+
| value       = 120
 
}}
 
}}
  
Line 124: Line 147:
  
 
{{infobox weapon
 
{{infobox weapon
| image         = Crowbar icon.png
+
| image       = Crowbar icon.png
| itemquality   = normal
+
| itemquality = normal
| name         = Steel Crowbar
+
| name       = Steel Crowbar
| type         = Melee Weapon
+
| type       = Melee Weapon
| description   = This handy tool can also be used as a weapon in a pinch.
+
| description = This handy tool can also be used as a weapon in a pinch.
| damage       = 5-13 (Mechanical)
+
| damage     = 5-13 (Mechanical)
| impactspeed   = Very Low
+
| impactspeed = Very Low
| ap           = 18 AP
+
| ap         = 18 AP
| range         = Melee
+
| range       = Melee
| critchance   = 10%
+
| critchance = 10%
| greenstats   = Damage increased by 3% for every point in strength above 6.
+
| greenstats = 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.<br>(AP: 15)
 
Use: Forces open a ventilation shaft. It won't be able to close afterwards.<br>(AP: 15)
| weight       = 2,50
+
| weight     = 2,50
| value         = 50
+
| value       = 50
 
}}
 
}}
  
Line 153: Line 176:
  
 
{{infobox armor
 
{{infobox armor
| example       = yes
+
| example     = yes
| image         = steel armor.png
+
| image       = steel armor.png
| itemquality   = normal
+
| itemquality = normal
| name         = Galvanic Steel Armor
+
| name       = Galvanic Steel Armor
| type         = Armor Suit
+
| 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.
+
| description = This is a suit of steel armor. Below the protective plates is a vest that provides moderate protection against electrical attacks.
| resistances   =
+
| resistances =
 
:Mechanical: 51% / 15
 
:Mechanical: 51% / 15
 
:{{color|orangered|Heat: 5}}
 
:{{color|orangered|Heat: 5}}
Line 165: Line 188:
 
:{{color|green|Acid: 5}}
 
:{{color|green|Acid: 5}}
 
:{{color|aqua|Energy: 38% / 10}}
 
:{{color|aqua|Energy: 38% / 10}}
| encumbrance   = 70%
+
| encumbrance = 70%
| minstr       = 8
+
| minstr     = 8
| durability   = 505 / 505 (mechanical)
+
| durability = 505 / 505 (mechanical)
| weight       = 20,00
+
| weight     = 20,00
| value         = 10758
+
| value       = 10758
 
}}
 
}}
  
Line 175: Line 198:
  
 
{{infobox component
 
{{infobox component
| example       = [marks the infobox as example. remove this line if stats are exact]
+
| image       = items_components_leather3.png
| image        = items_components_leather3.png
+
| itemquality = high
| itemquality   = high
+
| name       = Mutated Dog Leather
| name         = Mutated Dog Leather
+
| type        = Component
| description   = This skin can be turned into an acid resistant leather armor.
+
| description = This skin can be turned into an acid resistant leather armor.
| quality       = 62
+
| quality     = 62
| skillsreq     =
+
| skillsreq   =
 
:Tailoring 62
 
:Tailoring 62
 
:Chemistry 18
 
:Chemistry 18
| weight       = 5,00
+
| weight     = 5,00
| value         = 1500
+
| value       = 1500
 
}}
 
}}
  
Line 191: Line 214:
  
 
{{infobox item
 
{{infobox item
| image         = keycard_blue.png
+
| image       = keycard_blue.png
| itemquality   = normal
+
| itemquality = normal
| name         = Private Quarters Key Card
+
| name       = Private Quarters Key Card
| type         = Key
+
| type       = Key
| description   = Unlocks your private quarters.
+
| description = Unlocks your private quarters.
 
}}
 
}}
 +
</div>
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:Infobox templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Revision as of 04:32, 21 October 2014

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: low, normal, high, rarity, artifact]
| name         = 
| type         = [item type (not required for ammo)]
| description  = 
| whitestats   = [any stats written in white that the infobox doesn't cover]
| greenstats   = [uses, equip effects and other stats written in green]
| orangestats  = [incurred stats written in orange]
| energy       = 
| whitestats2  = [any stats written in white, below the green section]
| weight       = 
| value        = [base trading value, NOT value affected by trading multiplier]
|
|ammo attributes:
| caliber      = eg. "7.62mm"
| type         = Standard, JHP or W2C
|
|armor attributes:
| resistances  = [multiple lines, each intended with ":"]
| encumbrance  = 
| minstr       =
|
|blueprint attributes:
| description2 = [description on the crafting recipe]
| component1   = [mandatory first component]
| component2   = 
| component3   = 
| component4   = 
| optional1    = 
| diffmod1     = 
| optional2    = 
| diffmod2     = 
| optional3    = 
| diffmod3     = 
|
|component attributes:
| quality      = 
| skillsreq    = [multiple lines, 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           = 
| range        = 
| precision    = 
| burstprec.   = 
| cqprec.      = 
| moveprec.    = 
| critchance   = 
| minstr       = 
| minskill     = 
| ammotype     = 
| magcap       = 
| energy/shot  = 
| energy       = 
}}

Samples

Click the expand link for visual examples. See source for how they're made.

Blueprint.png
Blueprint: Sniper Rifle
Blueprint
Contain instructions on how to create a sniper rifle.
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.
Blueprint.png
Blueprint: Health Hypo
Blueprint
Contains instructions on how to create a health hypo.
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)
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.
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%
Weight: 2,50
Value: 50
Misc icon.png
{{{name}}}
JHP
{{{description}}}
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:
Minimal strength: 8
Armor penalty: 70%
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
Keycard blue.png
Private Quarters Key Card
Key
Unlocks your private quarters.
Cannot be sold.