Difference between revisions of "Template:Infobox item/doc"
Jump to navigation
Jump to search
m (→Samples) |
WikimanBot (talk | contribs) (template documentation update) |
||
Line 10: | Line 10: | ||
== Syntax == | == Syntax == | ||
− | To use this template | + | To use this template: |
− | <pre class="mw-collapsible | + | # copy the following code |
+ | # fill in the appropriate fields | ||
+ | # remove all unused lines | ||
+ | |||
+ | <pre class="mw-collapsible"> | ||
{{item infobox | {{item infobox | ||
− | + | | image = [leave this field empty if there's no image yet] | |
− | | image | + | | itemquality = [accepted values: low, normal, high, rarity, artifact] |
− | | itemquality | + | | name = |
− | | name | + | | type = [item type (not required for ammo)] |
− | | type | + | | description = |
− | | description | + | | whitestats = [any stats written in white that the infobox doesn't cover] |
− | | whitestats | + | | greenstats = [uses, equip effects and other stats written in green] |
− | | greenstats | + | | orangestats = [incurred stats written in orange] |
− | | orangestats | + | | energy = |
− | | energy | + | | whitestats2 = [any stats written in white, below the green section] |
− | | whitestats2 | + | | weight = |
− | | weight | + | | value = [base trading value, NOT value affected by trading multiplier] |
− | | value | ||
| | | | ||
|ammo attributes: | |ammo attributes: | ||
− | | caliber | + | | caliber = eg. "7.62mm" |
− | | type | + | | type = Standard, JHP or W2C |
| | | | ||
|armor attributes: | |armor attributes: | ||
− | | resistances | + | | resistances = [multiple lines, each intended with ":"] |
− | | encumbrance | + | | encumbrance = |
− | | minstr | + | | minstr = |
| | | | ||
|blueprint attributes: | |blueprint attributes: | ||
− | | description2 | + | | description2 = [description on the crafting recipe] |
− | | component1 | + | | 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 | + | | 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 | + | | 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 == | ||
− | + | 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 | + | | image = items_devices_blueprint.png |
− | | name | + | | itemquality = high |
− | | description | + | | name = Blueprint: Sniper Rifle |
− | | weight | + | | type = Blueprint |
− | | value | + | | description = Contain instructions on how to create a sniper rifle. |
− | | description2 | + | | 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 | + | | component1 = Frame |
− | | component2 | + | | component2 = Barrel |
− | | component3 | + | | component3 = Scope |
− | | optional1 | + | | optional1 = Sniper Rifle Enhancement |
− | | diffmod1 | + | | diffmod1 = 15% |
− | | optional2 | + | | optional2 = Sniper Rifle Enhancement |
− | | diffmod2 | + | | diffmod2 = 15% |
}} | }} | ||
Line 96: | Line 116: | ||
{{infobox blueprint | {{infobox blueprint | ||
− | | itemquality | + | | image = items_devices_blueprint.png |
− | | name | + | | itemquality = high |
− | | description | + | | name = Blueprint: Health Hypo |
− | | weight | + | | type = Blueprint |
− | | value | + | | description = Contains instructions on how to create a health hypo. |
− | | description2 | + | | greenstats = Use: Download blueprint into your wristpad. |
− | | component1 | + | | weight = 0,05 |
− | | component2 | + | | value = 800 |
− | | component3 | + | | description2 = Health Hypo can be created by mixing healthy animal blood with insectoid saliva and preserving the mixture with anticoagulant. |
− | | component4 | + | | component1 = Blood (x3) |
+ | | component2 = Insectoid Saliva | ||
+ | | component3 = Anticoagulant | ||
+ | | component4 = Syringe (x2) | ||
}} | }} | ||
Line 111: | Line 134: | ||
{{infobox item | {{infobox item | ||
− | | image | + | | image = items_medicine_health_hypo.png |
− | | itemquality | + | | itemquality = normal |
− | | name | + | | name = Health Hypo |
− | | type | + | | type = Medicine |
− | | description | + | | description = A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use. |
− | | greenstats | + | | greenstats = Use: Instantly restores 80 health points.<br>(AP: 10, Cooldown: 6 turns) |
− | | weight | + | | weight = 0,10 |
− | | value | + | | value = 120 |
}} | }} | ||
Line 124: | Line 147: | ||
{{infobox weapon | {{infobox weapon | ||
− | | image | + | | image = Crowbar icon.png |
− | | itemquality | + | | itemquality = normal |
− | | name | + | | name = Steel Crowbar |
− | | type | + | | type = Melee Weapon |
− | | description | + | | description = This handy tool can also be used as a weapon in a pinch. |
− | | damage | + | | damage = 5-13 (Mechanical) |
− | | impactspeed | + | | impactspeed = Very Low |
− | | ap | + | | ap = 18 AP |
− | | range | + | | range = Melee |
− | | critchance | + | | critchance = 10% |
− | | greenstats | + | | 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 | + | | weight = 2,50 |
− | | value | + | | value = 50 |
}} | }} | ||
Line 153: | Line 176: | ||
{{infobox armor | {{infobox armor | ||
− | | example | + | | example = yes |
− | | image | + | | image = steel armor.png |
− | | itemquality | + | | itemquality = normal |
− | | name | + | | name = Galvanic Steel Armor |
− | | type | + | | type = Armor Suit |
− | | description | + | | 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 | + | | encumbrance = 70% |
− | | minstr | + | | minstr = 8 |
− | | durability | + | | durability = 505 / 505 (mechanical) |
− | | weight | + | | weight = 20,00 |
− | | value | + | | value = 10758 |
}} | }} | ||
Line 175: | Line 198: | ||
{{infobox component | {{infobox component | ||
− | | | + | | image = items_components_leather3.png |
− | + | | itemquality = high | |
− | | itemquality | + | | name = Mutated Dog Leather |
− | | name | + | | type = Component |
− | | description | + | | description = This skin can be turned into an acid resistant leather armor. |
− | | quality | + | | quality = 62 |
− | | skillsreq | + | | skillsreq = |
:Tailoring 62 | :Tailoring 62 | ||
:Chemistry 18 | :Chemistry 18 | ||
− | | weight | + | | weight = 5,00 |
− | | value | + | | value = 1500 |
}} | }} | ||
Line 191: | Line 214: | ||
{{infobox item | {{infobox item | ||
− | | image | + | | image = keycard_blue.png |
− | | itemquality | + | | itemquality = normal |
− | | name | + | | name = Private Quarters Key Card |
− | | type | + | | type = Key |
− | | description | + | | 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
- 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
- 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.
| ||||||||
Contain instructions on how to create a sniper rifle. | ||||||||
Weight: 0,05 | ||||||||
Value: 2000
| ||||||||
|
| |||||||
Contains instructions on how to create a health hypo. | |||||||
Weight: 0,05 | |||||||
Value: 800
| |||||||
|
| |||
A hypo filled with blood and enzymes that catalyze rapid regenerative process. Double check your blood type before use. | |||
Weight: 0,10 | |||
Value: 120 |
| |||
{{{description}}} | |||
Weight: 0,03 | |||
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) | |||
Weight: 20,00 | |||
Value: 10758
|
| |||
This skin can be turned into an acid resistant leather armor. | |||
Quality: 62 ? | |||
Required crafting skills:
| |||
Weight: 5,00 | |||
Value: 1500
|
| |||
Unlocks your private quarters. | |||
Cannot be sold. |