Plantilla:Infobox item/doc

De 7 Days to Die Wiki
Saltar a: navegación, buscar
  1. REDIRECCIÓN Plantilla:ToTranslate
Template-badinfo.png Documentation
This template's documentation has been marked as bad. Please improve or add to it.


Notes[editar código]

  • Please add a small picture of an item you put into the infobox (e.g. ammunition) for the overall look.
 Use this syntax:
 |ammo = [[File:CrossbowBolt.png|20px|link=Crossbow Bolt]][[Crossbow Bolt]]
 will look like: CrossbowBolt.pngCrossbow Bolt

Deprecated Parameters[editar código]

  • |obtained
Use the following parameters instead:
|ob_cheat, |ob_cook, |ob_craft, |ob_dismantle, |ob_farm , |ob_forge ,|ob_loot , |ob_mine, |ob_scavenge, |ob_scrap, |ob_upgrade
  • |used_in_scrapping
Use the following parameters instead:
|scrap_iron, |scrap_brass, |scrap_lead, |scrap_tungsten

Syntax[editar código]

{{Infobox item
| name = {{PAGENAME}}
| image = 
| caption = 
| image_alt1 = 
| caption_alt1 = 
| image_alt2 = 
| caption_alt2 = 
| size = 
| group = 
| category = 
| type = 
| tool-type =
| item-id = 
| location = 
| found = 
| effects = 
| breaks = 
| slot = 
| tool-fuel =
| places =
| cookable =
| meltable = 
| scrapable = 
| dismantleable = 
| lockable = 
| storage = 
| smell_tb = 
| smell_tb_str = 
| smell_br = 
| smell_br_str = 
| durability =
| puredur =
| hardness = 
| structural integrity = 
| max_load = 
| mass = 
| tool = 
| damage = 
| block_damage = 
| range = 
| speed = 
| critratio = 
| inv_slots = 
| stack = 
| bullet = 
| melee = 
| puncture = 
| blunt = 
| explosives = 
| hunger = 
| thirst = 
| health = 
| stamina =
| well = 
| gas = 
| consumption = 
| ammo = 
| clip =
| used_by = 
| unlocks = 
| unlocked = 
| repair = 
| repairs = 
| rep_value = 
| used_in = 
| used parts = 
| used in upgrading = 
| frame = 
| used_parts_upgrading = 
| unlocked_cooking = 
| used in cooking = 
| used_utensil = 
| used_ingredients = 
| unlocked_chemistry = 
| used_in_chemistry = 
| used_ingredients_chemistry = 
| used_in_forging = 
| weight = 
| weight_forge = 
| metal = 
| fuel = 
| burn-time = 
| ob_cheat = 
| ob_cook = 
| ob_craft = 
| ob_dismantle = 
| ob_farm = 
| ob_forge = 
| ob_loot = 
| ob_mine = 
| ob_scavenge =
| ob_scrap = 
| ob_upgrade = 
| scrap_iron =
| scrap_brass = 
| scrap_lead = 
| scrap_tungsten = 
//DEPRECATED | used_in_scrapping = 
//DEPRECATED | obtained = 
}}

Parameters[editar código]

Parameter Description
name Name of the item
image Main image of the item
caption Caption for the main image
image_alt1 First alternate Image of the item
caption_alt1 Caption for the first alternate image
image_alt2 Second alternate image of the item
caption_alt2 Caption for the second alternate image
size
group The group this item belongs to. (For possible groups see: Group)
category
type
tool-type
item-id
location
found
effects
breaks Breaks into which items
slot
tool-fuel
places
cookable Whether this item can be cooked
meltable Whether this item can be melted
scrapable Whether this item can be scrapped
dismantleable Whether this item can be dismantled
lockable Whether this item can be locked
storage How many storage slots this item has (if container)
smell_tb Smell radius when carried on toolbelt (in m)
smell_tb_str Smell strength when carried on toolbelt
smell_br Smell radius when carried in backpack (in m)
smell_br_str Smell strength when carried in backpack
durability Durability of the item; see Durability
puredur Pure durability of the item; see: Pure-Dur
hardness Hardness of the item; see: Hardness
structural integrity
max_load See: Max Load
mass Weight (only for blocks); see: Mass
tool The Appropriate Tool best to destroy this item (only for blocks)
damage Damage this item deals to entities; see Entity Damage
block_damage Damage this item deals to blocks; see Block Damage
range
speed
critratio Chance to deal critical damage
inv_slots
stack Maximum amount of items in one stack
bullet
melee
puncture
blunt
explosives
hunger
thirst
health
stamina
well
gas
consumption
ammo The item this item uses as ammo (if any)
clip Amount of ammo that fits in one clip
used_by
unlocks The item this one unlocks (if any)
unlocked The item that unlocks this one (eg. schematic)
repair The item that is needed to repair this one
repairs The item this one repairs
rep_value The amount with which this item repairs
used_in
used parts
used in upgrading
frame
used_parts_upgrading
unlocked_cooking
used in cooking
used_utensil
used_ingredients
unlocked_chemistry
used_in_chemistry
used_ingredients_chemistry
used_in_forging
weight Weight in lbs
weight_forge How much 'metal' this item gives when melted
metal The kind of metal this item gives when melted
fuel whether the item can be burnt
burn-time amount of time the item burns (in secs)
ob_cheat whether the item is obtainable through creative menu
ob_cook whether the item is obtainable through cooking
ob_craft whether the item is obtainable through crafting
ob_dismantle whether the item is obtainable through dismanteling
ob_farm whether the item is obtainable through farming
ob_forge whether the item is obtainable through forging
ob_loot whether the item is obtainable through looting
ob_mine whether the item is obtainable through mining
ob_scavenge whether the item is obtainable through scavenging
ob_scrap whether the item is obtainable through scrapping
ob_upgrade whether the item is obtainable through upgrading
scrap_iron
scrap_brass
scrap_lead
scrap_tungsten

Source[editar código]

Most values for items can be found in \7 Days To Die\Data\Config\items.xml.
Information on placeable items, such as traps and mines, are found in \7 Days To Die\Data\Config\blocks.xml.

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.