Difference between revisions of "Template:Infobox item/doc"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
|  (updated documentation) | m (→Syntax) | ||
| Line 11: | Line 11: | ||
| == Syntax == | == Syntax == | ||
| To use this template, copy the following code, fill in the appropriate fields and remove all the rest. | To use this template, copy the following code, fill in the appropriate fields and remove all the rest. | ||
| − | <pre class="mw-collapsible"> | + | <pre class="mw-collapsible mw-collapsed"> | 
| {{item infobox | {{item infobox | ||
| | example       = [marks the infobox as example. remove this line if stats are exact] | | example       = [marks the infobox as example. remove this line if stats are exact] | ||
| Line 21: | Line 21: | ||
| | 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] | ||
| | energy        =   | | energy        =   | ||
| | whitestats2   = [any stats written in white, below the green section] | | whitestats2   = [any stats written in white, below the green section] | ||
Revision as of 17:48, 2 October 2013
Description
This is the infobox template for all items.
- Aliases
- Template:Infobox ammo
- Template:Infobox armor
- Template:Infobox blueprint
- Template:Infobox component
- Template:Infobox weapon
Syntax
To use this template, copy the following code, fill in the appropriate fields and remove all the rest.
{{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]
| itemquality   = [accepted values: low, normal, high, rarity, artifact.]
| name          = 
| type          = [item type (special exception on bullets)]
| 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]
| 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 ":"]
|
|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
Please see the source code.
| 
 | ||||||||
| Contain instructions on how to create a sniper rifle. | ||||||||
| Value: 2000 
 | ||||||||
| 
 
 | ||||||||
| 
 | |||||||
| Contains instructions on how to create a health hypo. | |||||||
| Value: 800 
 | |||||||
| 
 
 | |||||||
| 
 | |||
| A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use. | |||
| Value: 120 | |||
| 
 | |||
| {{{description}}} | |||
| Value: 18 | |||
| 
 | |||
| 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) | |||
| Value: 10758 
 | |||
| 
 | |||
| This skin can be turned into an acid resistant leather armor. | |||
| Quality: 62 ? | |||
| Required crafting skills: 
 | |||
| Value: 1500 
 | |||
| 
 | |||
| Unlocks your private quarters. | |||
| Cannot be sold. | |||





