(āāParameters: document "removed" parameter) |
(āāSyntax: add documentation for parameter "removed") |
||
Line 70: | Line 70: | ||
{{Infobox item |
{{Infobox item |
||
| name = {{PAGENAME}} |
| name = {{PAGENAME}} |
||
+ | | removed = |
||
| image = |
| image = |
||
| caption = |
| caption = |
||
Line 174: | Line 175: | ||
</pre> |
</pre> |
||
</div> |
</div> |
||
+ | |||
== Parameters == |
== Parameters == |
||
{| border=1 |
{| border=1 |
Revision as of 02:55, 6 May 2016
This template's documentation has been marked as bad. Please improve or add to it.
Notes[]
- 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: Crossbow Bolt
- When using the experience components, exp1 is the inital experience gained for the first use, exp2 is every subsequent use of the item.
Deprecated Parameters[]
- |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
Cut, Paste, and Replace[]
Use the following to easily create new infoboxes. Cut and paste the code then replace the values as appropriate.
Firearm[]
{{Infobox_item/Sandbox |image = Ak47.png |item-id = ak47 |group = Ammo/Weapons |category = Firearm |type = Automatic |damage_min = 25 |damage_max = (combination of all the parts qualities.) |speed = 0.10 |bonus_damage_headshot = 6 |durability_min = 1 |durability_max = 600 |range = 100 |ammo = [[File:762mmBullet.png|20px|link=762mm Bullet]] [[762mm Bullet]] |clip = 30 Cartridges |used_parts = [[Ak 47 Receiver]]<br>[[Ak 47 Barrel]]<br>[[Ak 47 Stock]]<br>[[Ak 47 Parts]] |weight = 6.8 |weight_forge = 108 |metal = Iron |meltable = y |scrapable = y |dismantleable = y |scrap_iron = 13 |ob_craft = 1 |ob_loot = 1 |ob_cheat = 1 |repair = [[Weapon Repair Kit]] |unlocked = [[Ak 47 Schematic]] |}}
Syntax[]
Basic syntax:
{{Infobox item | name = {{PAGENAME}} | parameter = value | parameter = value | parameter = value |]To view an exhaustive example, click the the Expand link:
{{Infobox item | name = {{PAGENAME}} | removed = | 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 = | exp1 = | exp2 = | 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 = | cloth_fragment = //DEPRECATED | used_in_scrapping = //DEPRECATED | obtained = }}
Parameters[]
Parameter | Description |
---|---|
removed | Version in which item was removed |
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 | Item ID. Number in brackets in creative menu. |
location | |
found | |
effects | |
breaks | Breaks into which items |
slot | Gear slot. Example: Bandane = face |
tool-fuel | Fuel to use this tool. (There is only Gas Can.) |
places | |
exp | How much experience you gain from this item (First time | Subsequent times) |
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 | See: 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 | Weapon/Tool range. See: Range |
speed | Attack speed. |
critratio | Chance to deal critical damage |
bonus_damage_headshot | Headshot damage multiplier. |
inv_slots | |
stack | Maximum amount of items in one stack |
bullet | Bullet protection. |
melee | Melee protection. |
puncture | Punture protection. |
blunt | Blunt protection. |
explosives | Explosives protection. |
hunger | Fullness change when you eat/drink this one. |
thirst | Thirst change when you eat/drink this one. |
health | Health change when you eat/drink this one. |
stamina | Stamina change when you eat/drink this one. |
well | Wellness change when you eat/drink this one. |
gas | Gassiness change when you eat/drink this one. |
consumption | Other effects when you eat/drink this one. |
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 | Items you can craft with this one. |
used parts | Parts used to assembly. |
used in upgrading | |
frame | |
used_parts_upgrading | Items used to upgrade this one. |
unlocked_cooking | |
used in cooking | |
used_utensil | |
used_ingredients | Ingredients used to cook this one. |
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 | How much Scrap Iron this item gives when scraped |
scrap_brass | How much Scrap Brass this item gives when scraped |
scrap_lead | How much Scrap Lead this item gives when scraped |
scrap_tungsten | How much Scrap Tungsten this item gives when scraped |
cloth_fragment | How much Cloth Fragment this item gives when scraped |
Source[]
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.