Template:Infobox item: Difference between revisions
(added up to 5 alternate images, increased infobox width, added "image_width" parameter for custom title image sizes) |
m (rm .) |
||
(104 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
< | <noinclude> | ||
| | {{Documentation/sandbox | ||
|doc={{Note|content=Documentation for this template is transcluded from [[{{FULLPAGENAME}}/doc]].}}{{/doc}} | |||
| | }} | ||
| | {{ll|Category:Infobox}} | ||
</noinclude><includeonly>{{Infobox/sandbox | |||
| title = {{#if:{{{name|}}}|{{{name}}}|{{#getdisplaytitle:{{FULLPAGENAME}}}}}} | |||
| color = var(--color-red) | |||
| <!-- | |||
## IMAGE ## | |||
| | -->{{Infobox/image | ||
| | | 1 = {{#if:{{{icon|}}}|[[File:{{{icon}}}|{{{icon_name|{{{model_name|{{{name|}}}}}}}}}|link=]]}} | ||
| | | 2 = {{#if:{{{icon2|}}}|[[File:{{{icon2}}}|{{{icon_name2|{{{model_name2|{{{name|}}}}}}}}}|link=]]}} | ||
| | | 3 = {{#if:{{{icon3|}}}|[[File:{{{icon3}}}|{{{icon_name3|{{{model_name3|{{{name|}}}}}}}}}|link=]]}} | ||
| 4 = {{#if:{{{icon4|}}}|[[File:{{{icon4}}}|{{{icon_name4|{{{model_name4|{{{name|}}}}}}}}}|link=]]}} | |||
| 5 = {{#if:{{{icon5|}}}|[[File:{{{icon5}}}|{{{icon_name5|{{{model_name5|{{{name|}}}}}}}}}|link=]]}} | |||
| 6 = {{#if:{{{icon6|}}}|[[File:{{{icon6}}}|{{{icon_name6|{{{model_name6|{{{name|}}}}}}}}}|link=]]}} | |||
| 7 = {{#if:{{{icon7|}}}|[[File:{{{icon7}}}|{{{icon_name7|{{{model_name7|{{{name|}}}}}}}}}|link=]]}} | |||
| 8 = {{#if:{{{icon8|}}}|[[File:{{{icon8}}}|{{{icon_name8|{{{model_name8|{{{name|}}}}}}}}}|link=]]}} | |||
| 9 = {{#if:{{{icon9|}}}|[[File:{{{icon9}}}|{{{icon_name9|{{{model_name9|{{{name|}}}}}}}}}|link=]]}} | |||
| 10 = {{#if:{{{icon10|}}}|[[File:{{{icon10}}}|{{{icon_name10|{{{model_name10|{{{name|}}}}}}}}}|link=]]}} | |||
| 11 = {{#if:{{{icon11|}}}|[[File:{{{icon11}}}|{{{icon_name11|{{{model_name11|{{{name|}}}}}}}}}|link=]]}} | |||
| 12 = {{#if:{{{icon12|}}}|[[File:{{{icon12}}}|{{{icon_name12|{{{model_name12|{{{name|}}}}}}}}}|link=]]}} | |||
| 13 = {{#if:{{{icon13|}}}|[[File:{{{icon13}}}|{{{icon_name13|{{{model_name13|{{{name|}}}}}}}}}|link=]]}} | |||
| 14 = {{#if:{{{icon14|}}}|[[File:{{{icon14}}}|{{{icon_name14|{{{model_name14|{{{name|}}}}}}}}}|link=]]}} | |||
| 15 = {{#if:{{{icon15|}}}|[[File:{{{icon15}}}|{{{icon_name15|{{{model_name15|{{{name|}}}}}}}}}|link=]]}} | |||
| 16 = {{#if:{{{icon16|}}}|[[File:{{{icon16}}}|{{{icon_name16|{{{model_name16|{{{name|}}}}}}}}}|link=]]}} | |||
| 17 = {{#if:{{{icon17|}}}|[[File:{{{icon17}}}|{{{icon_name17|{{{model_name17|{{{name|}}}}}}}}}|link=]]}} | |||
| 18 = {{#if:{{{icon18|}}}|[[File:{{{icon18}}}|{{{icon_name18|{{{model_name18|{{{name|}}}}}}}}}|link=]]}} | |||
| 19 = {{#if:{{{icon19|}}}|[[File:{{{icon19}}}|{{{icon_name19|{{{model_name19|{{{name|}}}}}}}}}|link=]]}} | |||
| 20 = {{#if:{{{icon20|}}}|[[File:{{{icon20}}}|{{{icon_name20|{{{model_name20|{{{name|}}}}}}}}}|link=]]}} | |||
| 21 = {{#if:{{{icon21|}}}|[[File:{{{icon21}}}|{{{icon_name21|{{{model_name21|{{{name|}}}}}}}}}|link=]]}} | |||
| p1 = {{#if:{{{icon|}}}|[[File:{{{model|{{{icon}}}}}}|{{{model_name|{{{icon_name|{{{name|}}}}}}}}}|{{{model_width|200px}}}|{{#if:{{{model|}}}||class=pixelart}}]]}} | |||
| p2 = {{#if:{{{icon2|}}}|[[File:{{{model2|{{{icon2}}}}}}|{{{model_name2|{{{icon_name2|{{{name|}}}}}}}}}|{{{model_width2|200px}}}|{{#if:{{{model2|}}}||class=pixelart}}]]}} | |||
| p3 = {{#if:{{{icon3|}}}|[[File:{{{model3|{{{icon3}}}}}}|{{{model_name3|{{{icon_name3|{{{name|}}}}}}}}}|{{{model_width3|200px}}}|{{#if:{{{model3|}}}||class=pixelart}}]]}} | |||
| p4 = {{#if:{{{icon4|}}}|[[File:{{{model4|{{{icon4}}}}}}|{{{model_name4|{{{icon_name4|{{{name|}}}}}}}}}|{{{model_width4|200px}}}|{{#if:{{{model4|}}}||class=pixelart}}]]}} | |||
| p5 = {{#if:{{{icon5|}}}|[[File:{{{model5|{{{icon5}}}}}}|{{{model_name5|{{{icon_name5|{{{name|}}}}}}}}}|{{{model_width5|200px}}}|{{#if:{{{model5|}}}||class=pixelart}}]]}} | |||
| p6 = {{#if:{{{icon6|}}}|[[File:{{{model6|{{{icon6}}}}}}|{{{model_name6|{{{icon_name6|{{{name|}}}}}}}}}|{{{model_width6|200px}}}|{{#if:{{{model6|}}}||class=pixelart}}]]}} | |||
| p7 = {{#if:{{{icon7|}}}|[[File:{{{model7|{{{icon7}}}}}}|{{{model_name7|{{{icon_name7|{{{name|}}}}}}}}}|{{{model_width7|200px}}}|{{#if:{{{model7|}}}||class=pixelart}}]]}} | |||
| p8 = {{#if:{{{icon8|}}}|[[File:{{{model8|{{{icon8}}}}}}|{{{model_name8|{{{icon_name8|{{{name|}}}}}}}}}|{{{model_width8|200px}}}|{{#if:{{{model8|}}}||class=pixelart}}]]}} | |||
| p9 = {{#if:{{{icon9|}}}|[[File:{{{model9|{{{icon9}}}}}}|{{{model_name9|{{{icon_name9|{{{name|}}}}}}}}}|{{{model_width9|200px}}}|{{#if:{{{model9|}}}||class=pixelart}}]]}} | |||
| p10 = {{#if:{{{icon10|}}}|[[File:{{{model10|{{{icon10}}}}}}|{{{model_name10|{{{icon_name10|{{{name|}}}}}}}}}|{{{model_width10|200px}}}|{{#if:{{{model10|}}}||class=pixelart}}]]}} | |||
| p11 = {{#if:{{{icon11|}}}|[[File:{{{model11|{{{icon11}}}}}}|{{{model_name11|{{{icon_name11|{{{name|}}}}}}}}}|{{{model_width11|200px}}}|{{#if:{{{model11|}}}||class=pixelart}}]]}} | |||
| p12 = {{#if:{{{icon12|}}}|[[File:{{{model12|{{{icon12}}}}}}|{{{model_name12|{{{icon_name12|{{{name|}}}}}}}}}|{{{model_width12|200px}}}|{{#if:{{{model12|}}}||class=pixelart}}]]}} | |||
| p13 = {{#if:{{{icon13|}}}|[[File:{{{model13|{{{icon13}}}}}}|{{{model_name13|{{{icon_name13|{{{name|}}}}}}}}}|{{{model_width13|200px}}}|{{#if:{{{model13|}}}||class=pixelart}}]]}} | |||
| p14 = {{#if:{{{icon14|}}}|[[File:{{{model14|{{{icon14}}}}}}|{{{model_name14|{{{icon_name14|{{{name|}}}}}}}}}|{{{model_width14|200px}}}|{{#if:{{{model14|}}}||class=pixelart}}]]}} | |||
| p15 = {{#if:{{{icon15|}}}|[[File:{{{model15|{{{icon15}}}}}}|{{{model_name15|{{{icon_name15|{{{name|}}}}}}}}}|{{{model_width15|200px}}}|{{#if:{{{model15|}}}||class=pixelart}}]]}} | |||
| p16 = {{#if:{{{icon16|}}}|[[File:{{{model16|{{{icon16}}}}}}|{{{model_name16|{{{icon_name16|{{{name|}}}}}}}}}|{{{model_width16|200px}}}|{{#if:{{{model16|}}}||class=pixelart}}]]}} | |||
| p17 = {{#if:{{{icon17|}}}|[[File:{{{model17|{{{icon17}}}}}}|{{{model_name17|{{{icon_name17|{{{name|}}}}}}}}}|{{{model_width17|200px}}}|{{#if:{{{model17|}}}||class=pixelart}}]]}} | |||
| p18 = {{#if:{{{icon18|}}}|[[File:{{{model18|{{{icon18}}}}}}|{{{model_name18|{{{icon_name18|{{{name|}}}}}}}}}|{{{model_width18|200px}}}|{{#if:{{{model18|}}}||class=pixelart}}]]}} | |||
| p19 = {{#if:{{{icon19|}}}|[[File:{{{model19|{{{icon19}}}}}}|{{{model_name19|{{{icon_name19|{{{name|}}}}}}}}}|{{{model_width19|200px}}}|{{#if:{{{model19|}}}||class=pixelart}}]]}} | |||
| p20 = {{#if:{{{icon20|}}}|[[File:{{{model20|{{{icon20}}}}}}|{{{model_name20|{{{icon_name20|{{{name|}}}}}}}}}|{{{model_width20|200px}}}|{{#if:{{{model20|}}}||class=pixelart}}]]}} | |||
| p21 = {{#if:{{{icon21|}}}|[[File:{{{model21|{{{icon21}}}}}}|{{{model_name21|{{{icon_name21|{{{name|}}}}}}}}}|{{{model_width21|200px}}}|{{#if:{{{model21|}}}||class=pixelart}}]]}} | |||
| caption = {{#if: {{{image_caption|}}}|''{{{image_caption|}}}''}} | |||
}}<!-- | |||
## GENERAL ## | |||
| | -->{{#if:{{{category|}}}{{{weight|}}}{{{capacity|}}}{{{equipped|}}}{{{body_location|}}}{{{attachment_type|}}}{{{function|}}}{{{secondary_item|}}}{{{weapon|}}}{{{weapons|}}}{{{weapon1|}}}{{{weapon2|}}}{{{weapon3|}}}{{{weapon4|}}}{{{weapon5|}}}{{{part_type|}}}{{{skill_type|}}}{{{ammo_type|}}}{{{clip_size|}}} | ||
| | | {{Infobox/section | ||
| {{tt|name=Infobox item|default=General|arg1=general}} | |||
| color = var(--color-red) | |||
| id = item-general | |||
| <!-- | |||
-->{{#if:{{{category|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Category|arg1=category}} | |||
|{{{category|Item}}} | |||
}}}}<!-- | |||
| | -->{{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Encumbrance|arg1=weight}}[[File:Moodle_Icon_HeavyLoad.png|right|link=Heavy Load{{lcs}}]] | ||
|{{#iferror:{{#expr:{{{weight|1}}}}} <!-- weight=1 - no 'if' as it should always be displayed --> | |||
|{{{weight|1}}} {{#if:{{{weight_text|}}}|{{{weight_text}}}}}<!-- error --> | |||
|{{tooltip<!-- | |||
-->|{{{weight|1}}} {{#if:{{{weight_text|}}} <!-- append text - checks if appended text should be `weight_text` or "(empty)" --> | |||
|{{{weight_text}}} | |||
|{{#if:{{{weight_full|}}} | |||
|({{tt|name=Infobox item|default=empty|arg1=empty}}) | |||
|{{#if:{{{weight_reduction|}}} | |||
|{{#if:{{{capacity|}}} | |||
|({{tt|name=Infobox item|default=empty|arg1=empty}}) | |||
}} | |||
}} | |||
}} | |||
}}<!-- text --><!-- | |||
-->|{{#expr:{{{weight|1}}}*0.3 round 2}} {{tt|name=Infobox item|default=when equipped|arg1=weight_equipped}}<!-- tooltip --> | |||
}} | |||
}}{{#if:{{{weight2|}}} <!-- weight 2 --> | |||
|<br>{{#iferror:{{#expr:{{{weight2}}}}} | |||
|{{{weight2}}} {{#if:{{{weight_text2|}}}|{{{weight_text2}}}}}<!-- error --> | |||
|{{tooltip<!-- | |||
-->|{{{weight2}}} {{#if:{{{weight_text2|}}}|{{{weight_text2}}}}}<!-- text --><!-- | |||
-->|{{#expr:{{{weight2}}}*0.3 round 2}} {{tt|name=Infobox item|default=when equipped|arg1=weight_equipped}}}}<!-- tooltip --> | |||
}} | |||
}}{{#if:{{{weight3|}}} <!-- weight 3 --> | |||
|<br>{{#iferror:{{#expr:{{{weight3}}}}} | |||
|{{{weight3}}} {{#if:{{{weight_text3|}}}|{{{weight_text3}}}}}<!-- error --> | |||
|{{tooltip<!-- | |||
-->|{{{weight3}}} {{#if:{{{weight_text3|}}}|{{{weight_text3}}}}} <!-- text --><!-- | |||
-->|{{#expr:{{{weight3}}}*0.3 round 2}} {{tt|name=Infobox item|default=when equipped|arg1=weight_equipped}}}} <!-- tooltip --> | |||
}} | |||
}}{{#if:{{{weight_full|}}} <!-- weight when full --> | |||
|<br>{{#iferror:{{#expr:{{{weight_full}}}}} <!-- expression check --> | |||
|{{{weight_full}}} ({{tt|name=Infobox item|default=full|arg1=full}}) <!--error--> | |||
|{{Tooltip <!--valid--><!-- | |||
-->|{{{weight_full}}} ({{tt|name=Infobox item|default=full|arg1=full}}) <!-- text --><!-- | |||
-->|{{#expr:{{{weight_full}}}*0.3 round 2}} {{tt|name=Infobox item|default=when equipped|arg1=weight_equipped}} <!-- tooltip --> | |||
}} | |||
}} | |||
|{{#if:{{{weight_reduction|}}} <!-- add full weight for a container --> | |||
|<br>{{tooltip|<!-- #initialise tooltip | |||
-->{{Container weight<!-- #text | |||
-->|capacity={{{capacity|1}}}<!-- | |||
-->|weight_reduction={{{weight_reduction}}}<!-- | |||
-->|weight={{{weight|1}}}<!-- | |||
-->}} ({{tt|name=Infobox_item|default=full|arg1=full}})<!-- | |||
-->|{{Container weight<!-- #tooltip | |||
-->|trait=organized<!-- | |||
-->|capacity={{{capacity|1}}}<!-- | |||
-->|weight_reduction={{{weight_reduction}}}<!-- | |||
-->|weight={{{weight|1}}}<!-- | |||
-->}} {{tt|name=Infobox_item|default=with organized trait|arg1=with_organized}} {{Container weight<!-- | |||
-->|trait=disorganized<!-- | |||
-->|capacity={{{capacity|1}}}<!-- | |||
-->|weight_reduction={{{weight_reduction}}}<!-- | |||
-->|weight={{{weight|1}}}<!-- | |||
-->}} {{tt|name=Infobox_item|default=with disorganized trait|arg1=with_disorganized}}<!-- | |||
-->}} | |||
}} | |||
}} | |||
}}<!-- | |||
| | -->{{#if:{{{equipped|}}}{{{body_location|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Equipped|arg1=equipped}} | ||
|{{{equipped|{{{body_location}}}}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{attachment_type|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Slot attached|arg1=slot_attached}} | ||
|{{#switch:{{{attachment_type|}}} <!-- get attachment_type and return correct attachment location --> | |||
| Saucepan|BigWeapon|BigBlade|Shovel|Racket|Pan|Guitar|GuitarAcoustic|Rifle|Back = {{tt|name=Infobox item|default=Back|arg1=back}} | |||
| Nightstick|MeatCleaver|Hammer|Wrench|Knife|Screwdriver|Walkie|Belt = {{tt|name=Infobox item|default=Belt|arg1=belt}} | |||
| Holster = {{tt|name=Infobox item|default=Holster|arg1=holster}} | |||
| #default = {{#ifeq:N/A|{{{attachment_type|}}}|{{tooltip|{{tt|name=Infobox item|default=N/A|arg1=n-a}}|{{tt|name=Infobox item|default=This item cannot be attached to any slot|arg1=n-a_slot_desc}}}}|{{{attachment_type|}}}}} | |||
}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{function|}}}{{{primary_use|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Function|arg1=function}} | ||
|{{{function|{{{primary_use|}}}}}}{{#if:{{{secondary_use|}}}|<br>{{{secondary_use}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{secondary_item|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Secondary|arg1=secondary}} | ||
|{{{secondary_item|}}} | |||
}}}}<!-- | |||
-->{{#if:{{{attachments_provided|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Slots added|arg1=slots_added}} | ||
|{{{attachments_provided|}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{MountOn|}}}{{{weapon|}}}{{{weapons|}}}{{{weapon1|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Used in|arg1=used_in}} | ||
|{{#if:{{{MountOn|}}}{{{weapon|}}}{{{weapons|}}} | |||
|{{{MountOn|{{{weapon|{{{weapons}}}}}}}}} | |||
|{{#if:{{{weapon1|}}} | |||
|[[{{{weapon1}}}]] {{#if:{{{weapon2|}}} | |||
|<br>[[{{{weapon2}}}]] {{#if:{{{weapon3|}}} | |||
|<br>[[{{{weapon3}}}]] {{#if:{{{weapon4|}}} | |||
|<br>[[{{{weapon4}}}]] {{#if:{{{weapon5|}}} | |||
|<br>[[{{{weapon5}}}]] | |||
}}}}}}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{part_type|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Part type|arg1=part_type}} | ||
|{{{part_type|}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{skill_type|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Skill|arg1=skill}} | ||
|{{#switch:{{{skill_type|}}} | |||
| Blunt|Long Blunt = [[Long Blunt]] | |||
| SmallBlunt|Short Blunt = [[Short Blunt]] | |||
| LongBlade|Long Blade = [[Long Blade]] | |||
| SmallBlade|Short Blade = [[Short Blade]] | |||
| Firearm = [[Firearm]] | |||
| #default = {{#ifeq:N/A|{{{skill_type|}}}|{{tooltip|{{tt|name=Infobox item|default=N/A|arg1=n-a}}|{{tt|name=Infobox item|default=This item has no skill associated with it|arg1=n-a_skill_desc}}}}|{{{skill_type|}}}}} | |||
}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{ammo_type|}}}{{{ammo|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Ammunition|arg1=ammunition}} | ||
|{{#if:{{{ammo_type|}}}|{{{ammo_type}}}|{{#if:{{{ammo|}}}|[[{{{ammo}}}]]}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{clip_size|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Magazine size|arg1=clip_size}} | ||
|{{{clip_size|}}} | |||
}}}} | |||
}}}}<!-- | |||
## PROPERTIES ## | |||
| | -->{{#if:{{{material|}}}{{{material_value|}}}{{{contents|}}}{{{max_units|}}}{{{capacity|}}}{{{can_boil_water|}}}{{{consumed|}}}{{{writable|}}}{{{recipes|}}}{{{skill_trained|}}}{{{page_number|}}}{{{vol_number|}}}{{{packaged|}}}{{{rain_factor|}}}{{{days_fresh|}}}{{{days_rotten|}}}{{{condition_max|}}}{{{condition_lower_chance|}}}{{{run_speed|}}}{{{combat_speed|}}}{{{base_speed|}}}{{{scratch_defense|}}}{{{bite_defense|}}}{{{bullet_defense|}}}{{{neck_protection|}}}{{{insulation|}}}{{{wind_resistance|}}}{{{water_resistance|}}}{{{light_distance|}}}{{{light_strength|}}}{{{torch_cone|}}}{{{wet_cooldown|}}}{{{sensor_range|}}}{{{remote_range|}}}{{{energy_source|}}}{{{portable|}}}{{{two_way|}}}{{{mic_range|}}}{{{transmit_range|}}}{{{min_channel|}}} | ||
| | | {{Infobox/section | ||
| {{tt|name=Infobox item|default=Properties|arg1=properties}} | |||
| color = var(--color-red) | |||
| id = item-properties | |||
| <!-- | |||
-->{{#if:{{{material|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Material|arg1=material}} | |||
|{{{material}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{material_value|}}} | {{Infobox/sandbox/row | ||
| | |{{{material|{{tt|name=Infobox item|default=Material|arg1=material}}}}} {{tt|name=Infobox item|default=quantity|arg1=quantity}} | ||
|{{{material_value}}} | |||
}}}}<!-- | |||
-->{{#if:{{{contents|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Contents|arg1=contents}} | ||
|{{{contents}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{max_units|}}}{{{capacity|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Capacity|arg1=capacity}} | ||
|tooltip={{#ifeq:{{{weight_text2|}}}|{{tt|name=Infobox item|default=(box)|arg1=box}}|{{tt|name=Infobox item|default=Number of items when combined into a box|arg1=box_capacity_desc}}}} | |||
|{{#ifeq:{{{category|}}} | |||
|{{tt|name=Infobox item|default=Ammo|arg1=ammo}} | |||
|{{{capacity|{{{max_units|}}}}}} {{#ifeq:{{{capacity|{{{max_units}}}}}} <!-- category = Ammo --> | |||
|1 | |||
|{{tt|name=Infobox item|default=round|arg1=round}} <!-- is 1 --> | |||
|{{tt|name=Infobox item|default=rounds|arg1=rounds}} <!-- is not 1 --> | |||
}} | |||
|{{#if:{{{max_units|}}} <!-- category != Ammo --> | |||
|{{#iferror: | |||
{{#ifexpr:1 >= {{{max_units}}} <!-- check if input is raw data (decimal) --> | |||
|{{#expr:1/{{{max_units}}} round 1}} | |||
|{{{max_units}}} | |||
}} {{tt|name=Infobox item|default=units|arg1=units}} | |||
|{{{max_units}}} | |||
}} | |||
|{{#ifeq:{{{capacity|}}} | |||
|{{#expr:{{{capacity|}}}}} <!-- check if capacity is a valid expression --> | |||
|{{#ifeq:{{{weight_text2|}}} | |||
|{{tt|name=Infobox item|default=(box)|arg1=box}} | |||
|{{{capacity|}}} | |||
|{{Tooltip|{{{capacity|}}}|<!-- | |||
-->{{Container capacity|organized|{{{capacity|}}}}} {{tt|name=Infobox item|default=with organized trait|arg1=with_organized}}<!-- | |||
--> {{Container capacity|disorganized|{{{capacity|}}}}} {{tt|name=Infobox item|default=with disorganized trait|arg1=with_disorganized}}<!-- | |||
-->}} | |||
}} | |||
|{{#iferror:{{{capacity|}}}}} <!-- if capacity is NOT a valid expression --> | |||
}} | |||
}} | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{can_boil_water|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Can boil water|arg1=can_boil_water}} | ||
|{{ucfirst:{{lc:{{{can_boil_water}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{consumed|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Consumed|arg1=consumed}} | ||
|{{ucfirst:{{lc:{{{consumed}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{writable|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Writable|arg1=writable}} | ||
|{{ucfirst:{{lc:{{{writable}}}}}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{recipes|}}}{{{skill_trained|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Skills learned|arg1=recipes}} | ||
|{{{recipes|{{{skill_trained}}}}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{page_number|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Total pages|arg1=total_pages}} | ||
|{{{page_number}}} {{#ifeq:1|{{{page_number}}}|{{tt|name=Infobox item|default=page|arg1=page}}|{{tt|name=Infobox item|default=pages|arg1=pages}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{vol_number|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Total volumes|arg1=total_volumes}} | ||
|{{#ifeq:1|{{{vol_number}}}|{{tt|name=Infobox item|default=volume|arg1=volume}}|{{tt|name=Infobox item|default=volumes|arg1=volumes}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{packaged|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Packaged|arg1=packaged}} | ||
|{{tooltip|{{ucfirst:{{lc:{{{packaged}}}}}}}|{{tt|name=Infobox item|default=Nutritional information always known|arg1=packaged_desc}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{rain_factor|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Rain factor|arg1=rain_factor}} | ||
|{{{rain_factor}}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{days_fresh|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Days fresh|arg1=days_fresh}} | ||
|{{#iferror:{{#expr:{{{days_fresh}}}}} | |||
|{{{days_fresh}}} {{tt|name=Infobox item|default=days|arg1=days}} <!-- error --> | |||
|{{Tooltip|{{{days_fresh}}} {{tt|name=Infobox item|default=days|arg1=days}}|{{#expr:{{{days_fresh}}}*5}} days when chilled <!-- | |||
-->{{yesno|{{{cant_be_frozen|}}} <!-- check if it can be frozen --> | |||
|yes=(can't be frozen) <!-- cannot be frozen --> | |||
|no=and {{#expr:{{{days_fresh}}}*50}} days when frozen <!-- can be frozen --> | |||
}}. | |||
}} | |||
}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{days_rotten|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Days until rotten|arg1=days_rotten}} | ||
|{{#iferror:{{#expr:{{{days_rotten}}}}} | |||
|{{{days_rotten}}} {{tt|name=Infobox item|default=days|arg1=days}} <!-- error --> | |||
|{{Tooltip|{{{days_rotten}}} {{tt|name=Infobox item|default=days|arg1=days}}|{{#expr:{{{days_rotten}}}*5}} days when chilled <!-- | |||
-->{{yesno|{{{cant_be_frozen|}}} <!-- check if it can be frozen --> | |||
|yes=(can't be frozen) <!-- cannot be frozen --> | |||
|no=and {{#expr:{{{days_rotten}}}*50}} days when frozen <!-- can be frozen --> | |||
}}. | |||
}} | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{condition_max|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Max condition|arg1=condition_max}} | ||
|{{{condition_max}}} | |||
}}}}<!-- | |||
-->{{#if:{{{condition_lower_chance|}}} | {{Infobox/sandbox/row | |||
| | |{{tt|name=Infobox item|default=Condition lower chance|arg1=condition_lower_chance}} | ||
|{{{condition_lower_chance}}} | |||
}}}}<!-- | |||
| | {{#if:{{{condition_lower_chance|}}}{{{base_durability|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Base durability|arg1=base_durability}} | ||
|tooltip={{tt|name=Infobox item|default=Average number of hits before breaking with 0 in mainteneance and weapon skill|arg1=base_durability_desc}} | |||
|{{#if:{{{base_durability|}}} | |||
|{{{base_durability}}} | |||
|{{#iferror:{{#expr:{{{condition_lower_chance}}}}} | |||
|{{Error|expr|{{{condition_lower_chance}}}}} | |||
|{{#expr:{{{condition_lower_chance}}}*{{{condition_max|1}}}}} | |||
}} | |||
}} | |||
}}}} | |||
| | -->{{#if:{{{run_speed|}}} | {{Infobox/sandbox/row | ||
|{{tt|name=Infobox item|default=Run speed|arg1=run_speed}} | |||
|{{tooltip|{{#iferror: {{#expr:{{{run_speed}}} * 100 round 0}} | {{{run_speed}}} (disabled)| {{#expr:{{{run_speed}}} * 100 round 0}}% (disabled)}}|Currently has no effect in-game}} | |||
}}}}<!-- | |||
| | -->{{#if:{{{combat_speed|}}} | {{Infobox/sandbox/row | ||
| | |{{tt|name=Infobox item|default=Combat speed|arg1=combat_speed}} | ||
}}</ | |{{#if:{{{combat_speed|}}} | ||
|{{#iferror:{{#ifexpr:1 >= {{{combat_speed}}} | |||
|{{#expr:{{{combat_speed}}} * 100 round 0}}% <!-- 1 or less --> | |||
|{{{combat_speed}}} <!-- greater than 1 --> | |||
}} | |||
|{{{combat_speed}}} <!-- error --> | |||
}} | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{scratch_defense|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Scratch defence|arg1=scratch_defense}} | |||
|{{{scratch_defense}}}{{#iferror:{{#expr:{{{scratch_defense}}}}}||%<!-- add percentage sign if it hasn't already been added -->}} | |||
}}}}<!-- | |||
-->{{#if:{{{bite_defense|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Bite defence|arg1=bite_defense}} | |||
|{{{bite_defense}}}{{#iferror:{{#expr:{{{bite_defense}}}}}||%<!-- add percentage sign if it hasn't already been added -->}} | |||
}}}}<!-- | |||
-->{{#if:{{{bullet_defense|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Bullet defence|arg1=bullet_defense}} | |||
|{{{bullet_defense}}}{{#iferror:{{#expr:{{{bullet_defense}}}}}||%<!-- add percentage sign if it hasn't already been added -->}} | |||
}}}}<!-- | |||
-->{{#if:{{{neck_protection|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Neck protection|arg1=neck_protection}} | |||
|{{#iferror:{{#ifexpr:1 >= {{{neck_protection}}} | |||
|{{#expr:{{{neck_protection}}} * 100 round 0}}% <!-- 1 or less --> | |||
|{{{neck_protection}}} <!-- greater than 1 --> | |||
}} | |||
|{{{neck_protection}}} <!-- error --> | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{insulation|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Insulation|arg1=insulation}} | |||
|{{#iferror:{{#ifexpr:1 >= {{{insulation}}} | |||
|{{#expr:{{{insulation}}} * 100 round 0}}% <!-- 1 or less --> | |||
|{{{insulation}}} <!-- greater than 1 --> | |||
}} | |||
|{{{insulation}}} <!-- error --> | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{wind_resistance|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Wind resistance|arg1=wind_resistance}} | |||
|{{#iferror:{{#ifexpr:1 >= {{{wind_resistance}}} | |||
|{{#expr:{{{wind_resistance}}} * 100 round 0}}% <!-- 1 or less --> | |||
|{{{wind_resistance}}} <!-- greater than 1 --> | |||
}} | |||
|{{{wind_resistance}}} <!-- error --> | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{water_resistance|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Water resistance|arg1=water_resistance}} | |||
|{{#iferror:{{#ifexpr:1 >= {{{water_resistance}}} | |||
|{{#expr:{{{water_resistance}}} * 100 round 0}}% <!-- 1 or less --> | |||
|{{{water_resistance}}} <!-- greater than 1 --> | |||
}} | |||
|{{{water_resistance}}} <!-- error --> | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{light_distance|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Light distance|arg1=light_distance}} | |||
|{{{light_distance}}} {{#ifeq:1|{{{light_distance}}}|{{tt|name=Infobox item|default=tile|arg1=tile}}|{{tt|name=Infobox item|default=tiles|arg1=tiles}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{light_strength|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Light strength|arg1=light_strength}} | |||
|{{{light_strength}}} | |||
}}}}<!-- | |||
-->{{#if:{{{torch_cone|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Torch cone|arg1=torch_cone}} | |||
|{{ucfirst:{{lc:{{{torch_cone}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{wet_cooldown|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Wet cooldown|arg1=wet_cooldown}} | |||
|{{#iferror:{{#expr:{{{wet_cooldown}}}*0.0208}} |{{{wet_cooldown}}}|{{#expr:{{{wet_cooldown}}}*0.0208}} {{#ifeq:1|{{{wet_cooldown}}}|{{tt|name=Infobox item|default=second|arg1=second}}|{{tt|name=Infobox item|default=seconds|arg1=seconds}}}} }} <!-- wet_cooldown*0.0208 (number of seconds to dry 1 wet_cooldown unit), if not maths expr, return wet_cooldown. --> | |||
}}}}<!-- | |||
-->{{#if:{{{sensor_range|}}}{{{remote_range|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Sensor range|arg1=sensor_range}} | |||
|{{{sensor_range|{{{remote_range}}}}}} {{#ifeq:1|{{{sensor_range|{{{remote_range}}}}}}|{{tt|name=Infobox item|default=tile|arg1=tile}}|{{tt|name=Infobox item|default=tiles|arg1=tiles}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{energy_source|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Energy source|arg1=energy_source}} | |||
|{{{energy_source}}} | |||
}}}}<!-- | |||
-->{{#if:{{{portable|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Portable|arg1=portable}} | |||
|{{ucfirst:{{lc:{{{portable}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{two_way|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Two-way|arg1=two_way}} | |||
|{{ucfirst:{{lc:{{{two_way}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{mic_range|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Mic range|arg1=mic_range}} | |||
|{{{mic_range}}} | |||
}}}}<!-- | |||
-->{{#if:{{{transmit_range|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Transmit range|arg1=transmit_range}} | |||
|{{{transmit_range}}} | |||
}}}}<!-- | |||
-->{{#if:{{{min_channel|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Frequency range|arg1=frequency_range}} | |||
|{{{min_channel}}}–{{{max_channel}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## PERFORMANCE ## | |||
-->{{#if:{{{damage_type|}}}{{{min_damage|}}}{{{max_damage|}}}{{{DamageModifier|}}}{{{damage_mod|}}}{{{door_damage|}}}{{{tree_damage|}}}{{{min_range|}}}{{{max_range|}}}{{{min_range_mod|}}}{{{max_range_mod|}}}{{{hit_chance|}}}{{{hit_chance_mod|}}}{{{accuracy_mod|}}}{{{recoil_delay|}}}{{{recoil_mod|}}}{{{recoil_delay_mod|}}}{{{sound_radius|}}}{{{base_speed|}}}{{{atack_speed|}}}{{{push_back|}}}{{{knockdown|}}}{{{aiming_time|}}}{{{aiming_time_mod|}}}{{{aiming_mod|}}}{{{reload_time|}}}{{{reload_time_mod|}}}{{{reload_mod|}}}{{{crit_chance|}}}{{{angle_mod|}}}{{{spread_mod|}}}{{{kill_move|}}}{{{weight_mod|}}}{{{effect_power|}}}{{{effect_range|}}}{{{effect_duration|}}}{{{effect_timer|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Performance|arg1=performance}} | |||
| color = var(--color-red) | |||
| id = item-performance | |||
| <!-- | |||
-->{{#if:{{{damage_type|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Damage type|arg1=damage_type}} | |||
|{{#ifeq:Slash|{{ucfirst:{{lc:{{{damage_type}}}}}}}|{{tooltip|{{ucfirst:{{lc:{{{damage_type}}}}}}}|Creates holes in clothing}}|{{ucfirst:{{lc:{{{damage_type}}}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{min_damage|}}}{{{max_damage|}}}{{{DamageModifier|}}}{{{damage_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Damage|arg1=damage}} | |||
|{{#if:{{{DamageModifier|}}}{{{damage_mod|}}}|{{{DamageModifier|{{{damage_mod|}}}}}}|{{{min_damage|0}}}–{{{max_damage|1}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{door_damage|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Door damage|arg1=door_damage}} | |||
|{{{door_damage}}} | |||
}}}}<!-- | |||
-->{{#if:{{{tree_damage|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Tree damage|arg1=tree_damage}} | |||
|{{{tree_damage}}} | |||
}}}}<!-- | |||
-->{{#if:{{{min_range|{{{max_range|}}}}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Range|arg1=range}} | |||
|{{#if:{{{min_range|}}}|{{{min_range|}}}–{{{max_range|}}}|{{#if:{{{max_range|}}}|0–{{{max_range|}}} }} }} <!-- if min_range != null, return range, elseif min_range = null && max_range != null, min_range = 0, else return null --> | |||
}}}}<!-- | |||
-->{{#if:{{{min_range_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Min range|arg1=min_range}} <!-- this is for range modifier from weapon mods --> | |||
|{{{min_range_mod}}} | |||
}}}}<!-- | |||
-->{{#if:{{{max_range_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Max range|arg1=max_range}} <!-- this is for range modifier from weapon mods --> | |||
|{{{max_range_mod}}} | |||
}}}}<!-- | |||
-->{{#if:{{{hit_chance|}}}{{{hit_chance_mod|}}}{{{accuracy_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Accuracy|arg1=accuracy}} | |||
|{{{hit_chance|{{{hit_chance_mod|{{{accuracy_mod|}}}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recoil_delay|}}}{{{recoil_mod|}}}{{{recoil_delay_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Recoil|arg1=recoil}} | |||
|{{{recoil_delay|{{{recoil_mod|{{{recoil_delay_mod|}}}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{sound_radius|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Noise radius|arg1=noise_radius}} | |||
|{{{sound_radius|}}} | |||
}}}}<!-- | |||
-->{{#if:{{{base_speed|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Attack speed|arg1=base_speed}} | |||
|{{#ifeq:N/A|{{{base_speed|}}}|{{tooltip|N/A|Attacks are near instant, and not influenced by a speed stat}}|{{{base_speed|}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{push_back|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Knockback|arg1=knockback}} | |||
|{{{push_back}}} | |||
}}}}<!-- | |||
-->{{#if:{{{knockdown|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Knockdown|arg1=knockdown}} | |||
|{{{knockdown}}} | |||
}}}}<!-- | |||
-->{{#if:{{{aiming_time|}}}{{{aiming_time_mod|}}}{{{aiming_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Aiming time|arg1=aiming_time}} | |||
|{{{aiming_time|{{{aiming_time_mod|{{{aiming_mod|}}}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{reload_time|}}}{{{reload_time_mod|}}}{{{reload_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Reload time|arg1=reload_time}} | |||
|{{{reload_time|{{{reload_time_mod|{{{reload_mod|}}}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{crit_chance|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Crit chance|arg1=crit_chance}} | |||
|{{#if:{{{crit_multiplier|}}}|{{tooltip|{{{crit_chance}}}%|{{tt|name=Infobox item|default=Damage multiplied by {{{crit_multiplier}}}|arg1=crit_chance_desc|arg2={{{crit_multiplier}}}}}}}|{{{crit_chance}}}%}} | |||
}}}}<!-- | |||
-->{{#if:{{{angle_mod|}}}{{{spread_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Spread|arg1=spread}} | |||
|{{{angle_mod|{{{spread_mod|}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{kill_move|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Special ability|arg1=special_ability}} | |||
|{{{kill_move}}} | |||
}}}}<!-- | |||
-->{{#if:{{{weight_mod|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Encumbrance mod.|arg1=encumbrance_mod}} | |||
|{{{weight_mod}}} | |||
}}}}<!-- | |||
-->{{#if:{{{effect_power|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default={{{effect_type|Effect}}} power|arg1=effect_power|arg2={{{effect_type|Effect}}}}} | |||
|{{{effect_power}}} | |||
}}}}<!-- | |||
-->{{#if:{{{effect_range|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default={{{effect_type|Effect}}} range|arg1=effect_range|arg2={{{effect_type|Effect}}}}} | |||
|{{{effect_range}}} {{#ifeq:1|{{{effect_range}}}|{{tt|name=Infobox item|default=tile|arg1=tile}}|{{tt|name=Infobox item|default=tiles|arg1=tiles}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{effect_duration|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default={{{effect_type|Effect}}} duration|arg1=effect_duration|arg2={{{effect_type|Effect}}}}} | |||
|{{{effect_duration}}} {{tt|name=Infobox item|default=minutes|arg1=minutes}} | |||
}}}}<!-- | |||
-->{{#if:{{{effect_timer|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default={{{effect_type|Effect}}} timer|arg1=effect_timer|arg2={{{effect_type|Effect}}}}} | |||
|{{{effect_timer}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## NUTRITION ## | |||
-->{{#if:{{{hunger_change|}}}{{{thirst_change|}}}{{{calories|}}}{{{carbohydrates|}}}{{{proteins|}}}{{{lipids|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Nutrition|arg1=nutrition}} | |||
| color = var(--color-red) | |||
| id = item-nutrition | |||
| <!-- | |||
-->{{#if:{{{hunger_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Hunger|arg1=hunger}}[[File:Moodle_Icon_Hungry.png|link=Hunger{{lcs}}]] | |||
|{{{hunger_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{thirst_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Thirst|arg1=thirst}}[[File:Moodle_Icon_Thirsty.png|link=Thirst{{lcs}}]] | |||
|{{{thirst_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{calories|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Calories|arg1=calories}}[[File:UI_Calories.png|link=Nutrition{{lcs}}#{{tt|name=Infobox item|default=Calories|arg1=calories}}|{{tt|name=Infobox item|default=Calories|arg1=calories}}]] | |||
|{{{calories}}} | |||
}}}}<!-- | |||
-->{{#if:{{{carbohydrates|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Carbohydrates|arg1=carbohydrates}}[[File:UI_Carbohydrates.png|link=Nutrition{{lcs}}#{{tt|name=Infobox item|default=Carbohydrates|arg1=carbohydrates}}|{{tt|name=Infobox item|default=Carbohydrates|arg1=carbohydrates}}]] | |||
|{{{carbohydrates}}} | |||
}}}}<!-- | |||
-->{{#if:{{{proteins|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Proteins|arg1=proteins}}[[File:UI_Protein.png|link=Nutrition{{lcs}}#{{tt|name=Infobox item|default=Proteins|arg1=proteins}}|{{tt|name=Infobox item|default=Proteins|arg1=proteins}}]] | |||
|{{{proteins}}} | |||
}}}}<!-- | |||
-->{{#if:{{{lipids|}}}{{{fats|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Fat|arg1=fat}}[[File:UI_Fats.png|link=Nutrition{{lcs}}#{{tt|name=Infobox item|default=Fat|arg1=fat}}|{{tt|name=Infobox item|default=Fat|arg1=fat}}]] | |||
|{{{lipids|{{{fats}}}}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## EFFECT ## | |||
-->{{#if:{{{unhappy_change|}}}{{{boredom_change|}}}{{{stress_change|}}}{{{panic_change|}}}{{{fatigue_change|}}}{{{endurance_change|}}}{{{flu_change|}}}{{{pain_change|}}}{{{sick_change|}}}{{{alcoholic|}}}{{{alcohol|}}}{{{alcohol_power|}}}{{{reduce_infection_power|}}}{{{bandage_power|}}}{{{wet_cooldown|}}}{{{poison_power|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Effect|arg1=effect}} | |||
| color = var(--color-red) | |||
| id = item-effect | |||
| <!-- | |||
-->{{#if:{{{unhappy_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Unhappiness|arg1=unhappiness}}[[File:Moodle_Icon_Unhappy.png|link=Unhappiness{{lcs}}]] | |||
|{{{unhappy_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{boredom_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Boredom|arg1=boredom}}[[File:Moodle_Icon_Bored.png|link=Boredom{{lcs}}]] | |||
|{{{boredom_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{stress_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Stress|arg1=stress}}[[File:Moodle_Icon_Stressed.png|link=Stress{{lcs}}]] | |||
|{{{stress_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{panic_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Panic|arg1=panic}}[[File:Moodle_Icon_Panic.png|link=Panic{{lcs}}]] | |||
|{{{panic_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{fatigue_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Fatigue|arg1=fatigue}}[[File:Moodle_Icon_Tired.png|link=Fatigue{{lcs}}]] | |||
|{{{fatigue_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{endurance_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Endurance|arg1=enburance}}[[File:Moodle_Icon_Endurance.png|link=Endurance{{lcs}}]] | |||
|{{{endurance_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{flu_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Cold|arg1=cold}}[[File:Moodle_Icon_Cold.png|link=Cold{{lcs}}]] | |||
|{{{flu_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{pain_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Pain|arg1=pain}}[[File:Moodle_Icon_Pain.png|link=Pain{{lcs}}]] | |||
|{{{pain_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{sick_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Sick|arg1=sick}}[[File:Moodle_Icon_Sick.png|link=Sick{{lcs}}]] | |||
|{{{sick_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{alcoholic|{{{alcohol|}}}}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Alcohol|arg1=alcohol}}[[File:Moodle_Icon_Drunk.png|link=Drunk{{lcs}}]] | |||
|{{{alcoholic|{{{alcohol}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{alcohol_power|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Sterilize power|arg1=sterilize_power}}[[File:Alcohol.png|link=First Aid{{lcs}}#{{tt|name=Infobox item|default=Disinfection|arg1=disinfection}}|{{tt|name=Infobox item|default=Disinfection|arg1=disinfection}}]] | |||
|{{{alcohol_power}}} | |||
}}}}<!-- | |||
-->{{#if:{{{reduce_infection_power|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Antibiotic power|arg1=antibiotics_power}}[[File:Antibiotics.png|link=Health{{lcs}}#{{tt|name=Infobox item|default=Infections|arg1=infections}}]] | |||
|{{{reduce_infection_power}}} | |||
}}}}<!-- | |||
-->{{#if:{{{bandage_power|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Bandage power|arg1=bandage_power}}[[File:Moodle_Icon_Bleeding.png|link=Bleeding{{lcs}}]] | |||
|{{{bandage_power}}} | |||
}}}}<!-- | |||
-->{{#if:{{{wet_cooldown|}}} | {{#if:{{{max_units|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Wetness|arg1=wetness}}[[File:Moodle_Icon_Wet.png|link=Wet{{lcs}}]] | |||
|{{#iferror:{{#expr:4/{{{max_units}}}}}|4% per unit|{{tooltip|-{{#expr:4/{{{max_units}}}}}%|{{tt|name=Infobox item|default=Dries 4% of total wetness per unit|arg1=wetness_desc}}}}}}<!-- 4/max_units, if not maths expr, return "4% per unit" --> | |||
}}}}}}<!-- | |||
-->{{#if:{{{poison_power|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Poison|arg1=poison}}[[File:SkullPoison.png|{{tt|name=Infobox item|default=Poison|arg1=poison}}|class=auto-size]] | |||
|{{{poison_power}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## SKILLS ## | |||
-->{{#if:{{{carpentry_change|}}}{{{cooking_change|}}}{{{farming_change|}}}{{{first_aid_change|}}}{{{electrical_change|}}}{{{metalworking_change|}}}{{{mechanics_change|}}}{{{tailoring_change|}}}{{{aiming_change|}}}{{{reloading_change|}}}{{{fishing_change|}}}{{{trapping_change|}}}{{{foraging_change|}}}{{{long_blunt_change|}}}{{{short_blade_change|}}}{{{lightfooted_change|}}}{{{recipemagazineone_learnt|}}}{{{recipemagazinetwo_learnt|}}}{{{recipemagazinethree_learnt|}}}{{{recipemagazinefour_learnt|}}}{{{recipemagazinefive_learnt|}}}{{{recipemagazinesix_learnt|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Skill XP|arg1=skills}} | |||
| color = var(--color-red) | |||
| id = item-skills | |||
| <!-- | |||
-->{{#if:{{{carpentry_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Carpentry|arg1=carpentry}}[[File:Hammer.png|link=Carpentry{{lcs}}]] | |||
|{{{carpentry_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{cooking_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Cooking|arg1=cooking}}[[File:BowlFull.png|link=Cooking{{lcs}}]] | |||
|{{{cooking_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{farming_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Farming|arg1=farming}}[[File:TZ_IndieStoneNPK.png|link=Farming{{lcs}}]] | |||
|{{{farming_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{first_aid_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=First aid|arg1=first_aid}}[[File:Bandage.png|link=First_aid{{lcs}}]] | |||
|{{{first_aid_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{electrical_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Electrical|arg1=electrical}}[[File:ElectronicsScrap.png|link=Electrical{{lcs}}]] | |||
|{{{electrical_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{metalworking_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Metalworking|arg1=metalworking}}[[File:BlowTorch.png|link=Metalworking{{lcs}}]] | |||
|{{{metalworking_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{mechanics_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Mechanics|arg1=mechanics}}[[File:LugWrench.png|link=Mechanics{{lcs}}]] | |||
|{{{mechanics_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{tailoring_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Tailoring|arg1=tailoring}}[[File:Thread.png|link=Tailoring{{lcs}}]] | |||
|{{{tailoring_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{aiming_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Aiming|arg1=aiming}}[[File:Trait_hunter.png|link=Aiming{{lcs}}]] | |||
|{{{aiming_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{reloading_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Reloading|arg1=reloading}}[[File:BerettaClip.png|link=Reloading{{lcs}}]] | |||
|{{{reloading_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{fishing_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Fishing|arg1=fishing}}[[File:FishingTackle_Model.png|link=Fishing{{lcs}}]] | |||
|{{{fishing_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{trapping_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Trapping|arg1=trapping}}[[File:TrapBox.png|link=Trapping{{lcs}}]] | |||
|{{{trapping_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{foraging_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Foraging|arg1=foraging}}[[File:Trait_outdoorsman.png|link=Foraging{{lcs}}]] | |||
|{{{foraging_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{long_blunt_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Long blunt|arg1=long_blunt}}[[File:BaseballBat.png|link=Longblunt{{lcs}}]] | |||
|{{{long_blunt_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{short_blade_change|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Short blade|arg1=short_blade}}[[File:KnifeChopping.png|link=Shortblade{{lcs}}]] | |||
|{{{short_blade_change}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recipemagazineone_learnt|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=The Metalwork Magazine Vol. 1|arg1=recipemagazineone}}[[File:MagazineWelding1.png|link=The_Metalwork_Magazine{{lcs}}]] | |||
|{{{recipemagazineone_learnt}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recipemagazinetwo_learnt|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=The Metalwork Magazine Vol. 3|arg1=recipemagazinetwo}}[[File:MagazineWelding3.png|link=The_Metalwork_Magazine{{lcs}}]] | |||
|{{{recipemagazinetwo_learnt}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recipemagazinethree_learnt|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Guerilla Radio Vol. 1|arg1=recipemagazinethree}}[[File:MagazineElectronics01.png|link=Guerilla_Radio{{lcs}}]] | |||
|{{{recipemagazinethree_learnt}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recipemagazinefour_learnt|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Good Cooking Magazine Vol. 1|arg1=recipemagazinefour}}[[File:MagazineFood.png|link=Good_Cooking_Magazine{{lcs}}]] | |||
|{{{recipemagazinefour_learnt}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recipemagazinefive_learnt|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Angler USA Magazine Vol. 1|arg1=recipemagazinefive}}[[File:MagazineFish.png|link=Angler_USA_Magazine{{lcs}}]] | |||
|{{{recipemagazinefive_learnt}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recipemagazinesix_learnt|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=The Hunter Magazine Vol. 2|arg1=recipemagazinesix}}[[File:MagazineHunting2.png|link=The_Hunter_Magazine{{lcs}}]] | |||
|{{{recipemagazinesix_learnt}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## COOKING ## | |||
-->{{#if:{{{cook_minutes|}}}{{{burn_minutes|}}}{{{dangerous_uncooked|}}}{{{bad_microwaved|}}}{{{good_hot|}}}{{{bad_cold|}}}{{{spice|}}}{{{evolved_recipe|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Cooking|arg1=cooking}} | |||
| color = var(--color-red) | |||
| id = item-cooking | |||
| <!-- | |||
-->{{#if:{{{cook_minutes|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Time until cooked|arg1=time_until_cooked}} | |||
|{{{cook_minutes}}} {{tt|name=Infobox item|default=minutes|arg1=minutes}} | |||
}}}}<!-- | |||
-->{{#if:{{{burn_minutes|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Time until burned|arg1=time_until_burned}} | |||
|{{{burn_minutes}}} {{tt|name=Infobox item|default=minutes|arg1=minutes}} | |||
}}}}<!-- | |||
-->{{#if:{{{dangerous_uncooked|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Dangerous uncooked|arg1=dangerous_uncooked}} | |||
|{{ucfirst:{{lc:{{{dangerous_uncooked}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{bad_microwaved|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Bad microwaved|arg1=bad_microwaved}} | |||
|{{ucfirst:{{lc:{{{bad_microwaved}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{good_hot|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Good hot|arg1=goot_hot}} | |||
|{{ucfirst:{{lc:{{{good_hot}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{bad_cold|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Bad cold|arg1=bad_cold}} | |||
|{{ucfirst:{{lc:{{{bad_cold}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{spice|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Spice|arg1=spice}} | |||
|{{ucfirst:{{lc:{{{spice}}}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{evolved_recipe|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Custom recipe|arg1=custom_recipe}} | |||
|{{{evolved_recipe}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## CRAFTING ## | |||
-->{{#if:{{{workstation|}}}{{{tool|}}}{{{tool_tag|}}}{{{ingredients|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Crafting|arg1=crafting}} | |||
| color = var(--color-red) | |||
| id = item-crafting | |||
| collapsed = true | |||
| <!-- | |||
-->{{#if:{{{workstation|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Workstation|arg1=workstation}} | |||
|{{{workstation}}} | |||
}}}}<!-- | |||
-->{{#if:{{{tool|}}}{{{tool_tag|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Tool(s)|arg1=tools}} | |||
|{{#if:{{{tool|}}} | |||
|{{{tool}}} | |||
|{{#if:{{{tool_tag|}}}|{{tl|{{{tool_tag}}}}}}} | |||
}}{{#if:{{{tool2|}}} | |||
|<br>{{{tool2}}} | |||
|{{#if:{{{tool_tag2|}}}|<br>{{tl|{{{tool_tag2}}}}}}} | |||
}}{{#if:{{{tool3|}}} | |||
|<br>{{{tool3}}} | |||
|{{#if:{{{tool_tag3|}}}|<br>{{tl|{{{tool_tag3}}}}}}} | |||
}}{{#if:{{{tool4|}}} | |||
|<br>{{{tool4}}} | |||
|{{#if:{{{tool_tag4|}}}|<br>{{tl|{{{tool_tag4}}}}}}} | |||
}}{{#if:{{{tool5|}}} | |||
|<br>{{{tool5}}} | |||
|{{#if:{{{tool_tag5|}}}|<br>{{tl|{{{tool_tag5}}}}}}} | |||
}}{{#if:{{{tool6|}}} | |||
|<br>{{{tool6}}} | |||
|{{#if:{{{tool_tag6|}}}|<br>{{tl|{{{tool_tag6}}}}}}} | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{ingredients|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Ingredients|arg1=ingredients}} | |||
|{{{ingredients}}} | |||
}}}}<!-- | |||
--> | |||
}}}}<!-- | |||
## TECHNICAL ## | |||
-->{{#if:{{{tags|}}}{{{tag|}}}{{{item_id|}}}{{{class_name|}}}{{{media_id|}}}{{{guid|}}} | |||
| {{Infobox/section | |||
| {{tt|name=Infobox item|default=Technical|arg1=technical}} | |||
| color = var(--color-red) | |||
| id = item-technical | |||
| collapsed = true | |||
| <!-- | |||
-->{{#if:{{{tags|}}}{{{tag|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Tags|arg1=tags}} | |||
|{{#if:{{{tags|}}} | |||
|{{{tags}}} | |||
|{{#if:{{{tag|}}} | |||
|{{tl|{{{tag}}}}} | |||
}}{{#if:{{{tag2|}}} | |||
|<br>{{tl|{{{tag2}}}}} | |||
}}{{#if:{{{tag3|}}} | |||
|<br>{{tl|{{{tag3}}}}} | |||
}}{{#if:{{{tag4|}}} | |||
|<br>{{tl|{{{tag4}}}}} | |||
}}{{#if:{{{tag5|}}} | |||
|<br>{{tl|{{{tag5}}}}} | |||
}}{{#if:{{{tag6|}}} | |||
|<br>{{tl|{{{tag6}}}}} | |||
}} | |||
}} | |||
}}}}<!-- | |||
-->{{#if:{{{item_id|}}}{{{class_name|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Item ID|arg1=item_id}} | |||
|{{ID | |||
|{{{item_id|{{{class_name}}}}}} {{#if:{{{item_id2|}}} | |||
|<br>{{{item_id2|}}}}} {{#if:{{{item_id3|}}} | |||
|<br>{{{item_id3|}}}}} {{#if:{{{item_id4|}}} | |||
|<br>{{{item_id4|}}}}} {{#if:{{{item_id5|}}} | |||
|<br>{{{item_id5|}}}}} {{#if:{{{item_id6|}}} | |||
|<br>{{{item_id6|}}}}} {{#if:{{{item_id7|}}} | |||
|<br>{{{item_id7|}}}}} {{#if:{{{item_id8|}}} | |||
|<br>{{{item_id8|}}}}} {{#if:{{{item_id9|}}} | |||
|<br>{{{item_id9|}}}}} {{#if:{{{item_id10|}}} | |||
|<br>{{{item_id10|}}}}} | |||
}}{{#if:{{{item_id_more|}}}|<br><small title="{{{item_id_more}}}">[[#{{{item_id_more}}}|[{{tt|name=Infobox item|default=See all|arg1=see_all}}]]]</small>}} | |||
}}}}<!-- | |||
-->{{#if:{{{guid|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=GUID|arg1=guid}} | |||
|{{ID | |||
|{{{guid}}} {{#if:{{{gui2|}}} | |||
|<br>{{{guid2|}}}}} {{#if:{{{guid3|}}} | |||
|<br>{{{guid3|}}}}} {{#if:{{{guid4|}}} | |||
|<br>{{{guid4|}}}}} {{#if:{{{guid5|}}} | |||
|<br>{{{guid5|}}}}} {{#if:{{{guid6|}}} | |||
|<br>{{{guid6|}}}}} {{#if:{{{guid7|}}} | |||
|<br>{{{guid7|}}}}} {{#if:{{{guid8|}}} | |||
|<br>{{{guid8|}}}}} {{#if:{{{guid9|}}} | |||
|<br>{{{guid9|}}}}} {{#if:{{{guid10|}}} | |||
|<br>{{{guid10|}}}}} | |||
}}{{#if:{{{guid_more|}}}|<br><small title="{{{guid_more}}}">[[#{{{guid_more}}}|[{{tt|name=Infobox item|default=See all|arg1=see_all}}]]]</small>}} | |||
}}}}<!-- | |||
-->{{#if:{{{itemdisplayname|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=Media ID|arg1=itemdisplayname}} | |||
|{{ID|{{{itemdisplayname}}}}} | |||
}}}}<!-- | |||
-->{{#if:{{{recmedia|}}} | {{Infobox/sandbox/row | |||
|{{tt|name=Infobox item|default=RecMedia ID|arg1=recmedia}} | |||
|{{ID|{{{recmedia}}}}} | |||
}}}}<!-- | |||
--> | |||
}}}} | |||
}}</includeonly> |
Latest revision as of 12:16, 3 May 2024
All item infoboxes use this template.
Basic usage
{{Infobox item |name= |model= |icon= |icon_name= |category= |weight= |item_id= }}
Detailed usage
Weapon
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|equipped=
|attachment_type=
|function=
|skill_type=
|ammo_type=
|clip_size=
<!--Properties-->
|material= <!-- E.g., Metal -->
|material_value= <!-- E.g., MetalValue attribute -->
|condition_max=
|condition_lower_chance=
|attack_speed=
<!--Performance-->
|damage_type=
|min_damage=
|max_damage=
|door_damage=
|tree_damage=
|min_range=
|max_range=
|sound_radius=
|base_speed=
|push_back=
|aiming_time=
|reload_time=
|crit_chance=
|crit_multiplier=
|kill_move=
<!--Technical-->
|tag=
|item_id=
}}
Weapon part
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|part_type=
|function=
|weapon=
|ammo_type=
|clip_size=
<!--Properties-->
|material= <!-- E.g., Metal -->
|material_value= <!-- E.g., MetalValue attribute -->
<!--Performance-->
|damage_mod=
|min_range_mod=
|max_range_mod=
|recoil_delay=
|sound_radius=
|aiming_time=
|reload_time=
|angle_mod=
|weight_mod=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}
Ammo
{{Infobox item
|name=
|model=
|model2=
|icon=
|icon_name=
|icon2=
|icon_name2=
<!--General-->
|category=Ammo
|weight=
|weight_text=(single)
|weight2=
|weight_text2=(box)
|weapon=
<!--Properties-->
|material=
|material_value=
|capacity=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}
Clothing
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|capacity=
|weight_reduction=
|body_location=
|function=
|attachments_provided
<!--Properties-->
|material= <!-- E.g., FabricType attribute -->
|condition_max=
|condition_lower_chance=
|run_speed=
|combat_speed=
|scratch_defense=
|bite_defense=
|bullet_defense=
|neck_protection=
|insulation=
|wind_resistance=
|water_resistance=
<!--Technical-->
|tag=
|item_id=
}}
Bag
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|capacity=
|weight_reduction=
|equipped= <!-- E.g., CanBeEquipped attribute -->
|function=
<!--Properties-->
|material= <!-- E.g., FabricType attribute -->
|weight_reduction=
|run_speed=
|combat_speed=
<!--Technical-->
|tag=
|item_id=
}}
Medical
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
|max_units=
<!--Nutrition-->
|hunger_change=
|calories=
<!--Properties-->
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
|max_units= <!-- Do not add again if already defined in General section -->
<!--Effect-->
|unhappy_change=
|boredom_change=
|stress_change=
|fatigue_change=
|endurance_change=
|flu_change=
|pain_change=
|sick_change=
|reduce_infection_power=
|alcohol_power=
|wet_cooldown=
|bandage_power=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}
Water container
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
|weight_full=
|function=
<!--Properties-->
|max_units=
|contents=
|can_boil_water=
|rain_factor=
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
<!--Technical-->
|tag=
|item_id=
}}
Communication
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|material=
|material_value=
|weight_reduction=
|condition_max=
|condition_lower_chance=
|energy_source=
|portable=
|two_way=
|mic_range=
|transmit_range=
|min_channel=
|max_channel=
<!--Performance-->
|sound_radius=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tags=
|item_id=
}}
Food
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
|max_units=
|days_fresh=
|days_rotten=
|cant_be_frozen=
|packaged=
<!--Nutrition-->
|hunger_change=
|thirst_change=
|calories=
|lipids=
|proteins=
|carbohydrates=
<!--Effect-->
|unhappy_change=
|boredom_change=
|stress_change=
|fatigue_change=
|endurance_change=
|flu_change=
|pain_change=
|sick_change=
|reduce_infection_power=
|alcohol_power=
|poison_power=
<!--Cooking-->
|cook_minutes=
|burn_minutes=
|dangerous_uncooked=
|bad_microwaved=
|good_hot=
|bad_cold=
|spice=
|evolved_recipe=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}
Literature
{{Infobox item
|name=
|model=
|icon= <!-- icon2, icon3, ... -->
|icon_name= <!-- icon_name2, icon_name3, ... -->
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|consumed=
|writable=
|recipes=
|page_number=
|vol_number=
<!--Effect-->
|unhappy_change=
|boredom_change=
|stress_change=
<!--Technical-->
|tag=
|item_id=
}}
Light source
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
|max_units=
|light_distance=
|light_strength=
|torch_cone=
|energy_source=
<!--Technical-->
|tag=
|item_id=
}}
Media
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
<!--Properties-->
|skill_trained=
<!--EFFECT-->
|unhappy_change=
|boredom_change=
|stress_change=
|panic_change=
|fatigue_change=
|endurance_change=
|fitness_change=<!--currently unused-->
|drunk_change=<!--currently unused-->
|anger_change=<!--currently unused-->
|morale_change=<!--currently unused-->
|fear_change=<!--currently unused-->
<!--Technical-->
|item_id=
|media_id=
}}
Other
{{Infobox item
|name=
|model=
|icon=
|icon_name=
<!--General-->
|category=
|weight=
|function=
<!--Properties-->
|material= <!-- or |metal_value= -->
|material_value= <!-- or |metal_value= -->
|max_units=
<!--Crafting-->
|workspace=
|tool=
|ingredients=
<!--Technical-->
|tag=
|item_id=
}}
Parameters
Any of the following parameters can be used in the template, regardless of whether or not they're included in the above examples.
Name and images | |||
Parameter | Description | ||
---|---|---|---|
Preferred | Alternative | Game files | |
name |
display_name |
DisplayName |
The name of the item. Displayed at the top of the infobox. Can be different if overwritten by the ItemName_EN.txt file.Default: uses page name |
model |
image |
WorldStaticModel WeaponSprite |
The model of the item. Default: uses the icon upscaled with pixelated class |
model_width |
image_width |
Default: 200px (128px if model is blank) | |
model_caption |
image_caption |
The caption of the model/image. Displayed beneath the image/model. | |
icon |
Icon IconsForTexture |
The icon of the item. For multiple icons, add any number from 2-16 to the parameter. E.g., icon2 .
| |
icon_width |
icon parameter. E.g., icon_width2 . | ||
icon_name |
The tooltip to be displayed when hovering over the icon. For multiple icons, use the same number as the icon parameter. E.g., icon_name2 .
| ||
icon_link |
icon parameter. E.g., icon_link2 . | ||
General | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
category |
DisplayCategory Type |
The in-game category for the item. | |
weight |
Weight |
The encumbrance (previously weight) of the item. Up to 3 weights can be defined, by appending a suffix id. E.g., weight2 . Encumbrance when equipped will be calculated automatically and added as a tooltip.
| |
weight_text |
Text to append to the end of the weight value with the same suffix id. E.g., weight_text2 .
| ||
weight_full |
The weight of the item when full. Leaving blank will calculate the weight of a bag when full, so long as capacity and weight_reduction are added. Weight organized and disorganized traits will be calculated automatically and added as a tooltip.
| ||
capacity |
Capacity |
The capacity of the item, to be used in the weight_full value, or displayed in the properties section. \May be for bags or "drainable" items. | |
weight_reduction |
WeightReduction |
The encumbrance reduction of the item. Used in calculating the weight when value. | |
body_location |
equipped |
BodyLocation RequiresEquippedBothHands TwoHandWeapon |
body_location to be used for clothing.equipped to be used for other items, like weapons.
|
attachment_type |
AttachmentType |
The slot the item is attached to. Typically used for weapons. | |
function |
primary_use Deprecatedsecondary_use Deprecated |
||
secondary_item |
OtherHandRequire |
Item to be equipped in the secondary hand for the item to function. | |
attachments_provided |
AttachmentsProvided |
The attachment slots provided by the item. Typical of belts. | |
weapon |
weapons Deprecated |
MountOn |
Weapons that the item is used in. Multiple weapons can be set by using weapon2 , weapon3 , etc., up to weapon5 .Add a weapon using a wikilink ( [[weapon]] ) or an image ([[File:weapon_icon.png|link=weapon]] ).
|
part_type |
PartType |
Part of the weapon that it is attached to. | |
skill_type |
Categories |
The skill the item is associated with. Typically used with weapons. | |
ammo_type |
ammo |
AmmoType |
The type of ammo used in the item/firearm. |
clip_size |
MaxAmmo |
The maximum ammo the item can contain. Typically used for firearms and magazines. | |
Properties | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
material |
FabricType MetalValue |
The material the item is made of. Usage is not strict. Intended use is for items with MetalValue , or FabricType (Cotton, Leather, or Denim).
| |
material_value |
MetalValue |
How much of the material the item contains. The material parameter will be included in the group title.
| |
contents |
Alternate to material , especially if the material is fuzzy, e.g., A water bottle can hold water or gas.
| ||
capacity Containermax_units Drainable |
UseDelta DrainableCount Ammo |
1) | |
weight_reduction |
WeightReduction |
Encumbrance reduction of the item. Used to calculate the "Full encumbrance" value. Displayed as a percentage. | |
weight_reduction_text |
weight_reduction . Typical usage: (full) | ||
can_boil_water |
IsCookable CanBoilWater |
Set to TRUE if the item can be used to boil water.
| |
consumed |
Set to TRUE if the item is consumed once used/depleted. Intended to be used for literature items only. Not to be used for food.
| ||
writable |
CanBeWrite |
Set to TRUE if the item can be written in.
| |
recipes |
skill_trained |
TeachedRecipes SkillTrained |
The recipes or skills that are learned from the item (magazine or book). |
page_number |
NumberOfPages PageToWrite |
Number of pages in the item. | |
vol_number |
Number of volumes for the series. | ||
packaged |
Packaged |
Set to TRUE if the item is packaged. Unlocks ability to look at the nutritional content.
| |
rain_factor |
RainFactor |
Determines how quickly an item can fill up with water if left out in the rain. | |
days_fresh |
DaysFresh |
The amount of days this item is recognized as "fresh". The unit "days" is appended after the value. Chilled and frozen calculated automatically and added as a tooltip. | |
days_rotten |
DaysTotallyRotten |
The amount of days before this item is recognized as "rotten". The unit "days" is appended after the value. Chilled and frozen calculated automatically and added as a tooltip. | |
cant_be_frozen |
CantBeFrozen |
Set to true if the item can be frozen, delaying time before the food rots. Used in calculations for days_fresh and days_rotten tooltip.
| |
condition_max |
ConditionMax |
The item's maximum condition, i.e. when it's fully repaired. Used in the calculation for "Base durability" if condition_lower_chance is defined.
| |
condition_lower_chance |
ConditionLowerChanceOneIn |
The item's chance of lowering in durability. Used in the calculation for "Base durability". | |
base_durability |
ConditionMax ×ConditionLowerChanceOneIn |
||
run_speed |
RunSpeedModifier |
Run speed modifier. Note this is currently bugged/unimplemented, and has no in-game function. | |
combat_speed |
CombatSpeedModifier |
Combat speed modifier for clothing. | |
attack_speed |
|||
scratch_defense |
ScratchDefense |
Scratch defense modifier. Automatically converted to a percentage. | |
bite_defense |
BiteDefense |
Bit defense modifier. Automatically converted to a percentage. | |
bullet_defense |
BulletDefense |
Bullet defense modifier. Automatically converted to a percentage. | |
neck_protection |
NeckProtectionModifier |
Neck protection modifier. Automatically converted to a percentage. | |
insulation |
Insulation |
Insulation modifier. Automatically converted to a percentage. | |
wind_resistance |
WindResistance |
Wind resistance modifier. Automatically converted to a percentage. | |
water_resistance |
WaterResistance |
Water resistance modifier. Automatically converted to a percentage. | |
light_distance |
LightDistance |
The distance the light from the source will travel. | |
light_strength |
LightStrength |
The intensity/brightness of light the source provides. | |
torch_cone |
TorchCone |
Set to TRUE if the light from this item travels in a single direction, a.k.a torch cone.
| |
wet_cooldown |
WetCooldown |
Time it takes to dry 1 wet_cooldown unit. Calculated based on the input and displayed in seconds. | |
sensor_range |
remote_range |
SensorRange RemoteRange |
How close an entity needs to be before the trap is triggered, or the distance the remote needs to be in order to trigger. |
energy_source |
The energy source of the item. E.g., UsesBattery = TRUE would mean the energy source is a battery.
| ||
portable |
IsPortable |
Whether the item can be used while in the inventory, or if it must be placed on the ground in order to operate. | |
two_way |
TwoWay |
Whether the item can receive and transmit a signal. | |
mic_range |
MicRange |
Number of tiles the player must be within in order for the mic to transmit their voice. | |
transmit_range |
TransmitRange |
The distance in tiles the item will transmit | |
min_channel |
MinChannel |
The minimum bandwidth/frequency for selecting a channel. | |
max_channel |
MaxChannel |
The maximum bandwidth/frequency for selecting a channel. | |
Performance | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
damage_type |
DamageCategory |
The type of damage this weapon does. The attribute used to define this has an order of priority if it exists for the item.
| |
min_damage |
MinDamage |
Minimal weapon damage, before modifiers. | |
max_damage |
MaxDamage |
Maximum weapon damage, before modifiers. | |
door_damage |
DoorDamage |
Damage modifier done to doors. | |
tree_damage |
TreeDamage |
Damage modifier done to trees. | |
damage_mod |
DamageModifier |
||
min_range |
MinRange |
Range below which a weapon attack gets converted to shoving. | |
max_range |
MaxRange |
Range at which weapon gets 100% of its damage. | |
min_range_mod |
|||
max_range_mod |
hit_chance hit_chance_mod accuracy_mod |
||
recoil_delay |
recoil_mod recoil_delay_mod |
||
sound_radius |
SoundRadius |
||
base_speed |
BaseSpeed SwingTime |
Base speed of the weapon (previously the SwingTime attribute).
| |
push_back |
PushBackMod |
||
knockdown |
KnockdownMod |
||
aiming_time |
aiming_time_mod aiming_mod |
||
reload_time |
reload_time_mod reload_mod |
||
crit_chance |
CriticalChance |
Base critical chance value, before modifiers. | |
crit_multiplier |
CritDmgMultiplier |
Critical damage multiplier. | |
angle_mod |
spread_mod |
||
kill_move |
CloseKillMove |
||
weight_mod |
|||
effect_type |
|||
effect_power |
|||
effect_range |
|||
effect_duration |
|||
effect_timer |
|||
Nutrition | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
hunger_change |
HungerChange HUN |
The value of hunger that is changed from using/consuming this item. | |
thirst_change |
ThirstChange THI |
The value of thirst that is changed from using/consuming this item. | |
calories |
Calories |
The value of calories. | |
carbohydrates |
Carbohydrates |
The value of carbohydrates. | |
proteins |
Proteins |
The value of proteins. | |
lipids |
fat |
Lipids |
The value of lipids. |
Effect | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
unhappy_change |
UnhappyChange UHP |
The value of unhappiness that is changed from using/consuming this item. | |
boredom_change |
BoredomChange BOR |
The value of boredom that is changed from using/consuming this item. | |
stress_change |
StressChange STS |
The value of stress that is changed from using/consuming this item. | |
panic_change |
PAN |
The value of panic that is changed from using/consuming this item. | |
fatigue_change |
FatigueChange FAT |
The value of fatigue that is changed from using/consuming this item. | |
endurance_change |
EnduranceChange END |
The value of endurance that is changed from using/consuming this item. | |
flu_change |
FluReduction |
The value of flu/cold that is changed from using/consuming this item. | |
pain_change |
PainReduction PAI |
The value of pain that is changed from using/consuming this item. | |
sick_change |
ReduceFoodSickness SIC |
The value of sickness that is changed from using/consuming this item. | |
alcoholic |
alcohol |
Alcoholic DRU |
Whether this item is considered to be alcohol and therefore contributing to the drunk moodle. |
alcohol_power |
AlcoholPower |
The alcohol power of this item when used on wounds. | |
reduce_infection_power |
ReduceInfectionPower |
How much the item reduces wound infection. | |
bandage_power |
BandagePower |
How effective the item is at absorbing blood, and how frequently it needs to be replaced. | |
wet_cooldown |
WetCooldown |
If this value is defined, the "Wetness" value will be displayed. Does not contribute to the value. | |
max_units |
UseDelta |
Displayed as "Wetness" if wet_cooldown is defined. Determines how much wetness is dried per unit. Displayed as a percentage.
| |
poison_power |
PoisonPower |
The value of poison power attached to this item. | |
Cooking | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
cook_minutes |
MinutesToCook |
How long it takes before this item is "cooked". The unit "minutes" is appended after the value. | |
burn_minutes |
MinutesToBurn |
How long it takes before this item is "burnt". The unit "minutes" is appended after the value. | |
dangerous_uncooked |
DangerousUncooked |
Set to TRUE if the item can make the player sick if consumed before cooking it.
| |
bad_microwaved |
BadInMicrowave |
Set to TRUE if this item is of a poorer quality when cooked in a microwave.
| |
good_hot |
GoodHot |
Set to TRUE if this item is of a superior quality when consumed hot.
| |
bad_cold |
BadCold |
Set to TRUE if this item is of a poorer quality when consumed cold.
| |
spice |
Spice |
Set to TRUE if this item is considered a "spice" in cooking recipes.
| |
evolved_recipe |
EvolvedRecipeName |
The name of the item used in evolved recipes. Not a list of recipes this can be used in. | |
Crafting | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
workstation |
The workstation/tile needed to craft the item. | ||
tool |
The tool needed to craft the item. Up to 6 different tools can be defined, by adding a suffix id to the end of the parameter, e.g., tool2 .
| ||
tool_tag |
The tag of the tool needed to craft the item. Up to 6 different tools can be defined, by adding a suffix id to the end of the parameter, e.g., tool_tag2 . Will not work if tool with the same suffix id is defined.
| ||
ingredients |
List of ingredients required to craft the tile. Each entry should be a link to the item and separated by <br> , e.g., 2×[[Planks]]<br>4×[[Nails]] .
| ||
Technical | |||
Parameter | Description | ||
Preferred | Alternative | Game files | |
tags |
Tags |
Tags attributes for the item, that are used to define/group its functionality. Each value should be separated by <br> | |
tag |
Tags |
The Tags attributes for the item, which will automatically create a link to Item tags. Up to 6 different tags can be defined, by adding a suffix id to the end of the parameter, e.g., tag2 . Will not work if tags is already defined.
| |
item_id |
class_name Deprecated |
[module].[type] |
The ID of the item. The format is [module].[type] . This can be found in-game with debug, in the item list. Otherwise, in the item scripts where [module] is the name of the outermost block, e.g., Base , radio , farming , camping . Multiple item IDs can be set by either: separating with <br> or adding a 'suffix id' to the end (up to 10), e.g., item_id2 .
|
item_id_more |
If there are too many item IDs to be listed in the infobox, this can be used to define a link to a section on the page. E.g., item_id_more=Item IDs , will link to the "Item IDs" section on that page.
| ||
guid |
The "GUID" is a unique identifier used for some items to be used in various systems. For clothing this is found in fileGuidTable.xml .
| ||
guid_more |
If there are too many GUIDs to be listed in the infobox, this can be used to define a link to a section on the page. E.g., guid_more=Item IDs , will link to the "Item IDs" section on that page.
| ||
media_id |
The media ID for recorded media. Found in recorded_media.lua . E.g., 89108e07-fc70-4eec-a267-790d6f4b9831 for CD: Your smile. Your kiss.
|
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
<!-- Section: General -->
| general = General
| category = Category
| weight = Encumbrance
| weight_equipped = when equipped
| empty = empty
| full = full
| with_organized = with organized trait
| with_disorganized = with disorganized trait
| equipped = Equipped
| slot_attached = Slot attached
| back = Back
| belt = Belt
| holster = Holster
| n-a = N/A
| n-a_slot_desc = This item cannot be attached to any slot
| function = Function
| secondary = Secondary
| slots_added = Slots added
| used_in = Used in
| part_type = Part type
| skill = Skill
| n-a_skill_desc = This item has no skill associated with it
| ammunition = Ammunition
| clip_size = Magazine size
<!-- Section: Properties -->
| properties = Properties
| material = Material
| quantity = quantity
| contents = Contents
| capacity = Capacity
| ammo = Ammo
| round = round
| rounds = rounds
| box = (box)
| box_capacity_desc = Number of items when combined into a box
| units = units
| can_boil_water = Can boil water
| consumed = Consumed
| writable = Writable
| recipes = Skills learned
| total_pages = Total pages
| page = page
| pages = pages
| total_volumes = Total volumes
| volume = volume
| volumes = volumes
| packaged = Packaged
| packaged_desc = Nutritional information always known
| rain_factor = Rain factor
| days_fresh = Days fresh
| days_rotten = Days until rotten
| days = days
| condition_max = Condition max.
| condition_lower_chance = Condition lower chance
| base_durability = Base durability
| base_durability_desc = Average number of hits before breaking at level 0
| run_speed = Run speed
| combat_speed = Combat speed
| scratch_defense = Scratch defence
| bite_defense = Bite defence
| bullet_defense = Bullet defence
| neck_protection = Neck protection
| insulation = Insulation
| wind_resistance = Wind resistance
| water_resistance = Water resistance
| light_distance = Light distance
| light_strength = Light strength
| torch_cone = Torch cone
| wet_cooldown = Wet cooldown
| second = second
| seconds = seconds
| sensor_range = Sensor range
| tile = tile
| tiles = tiles
| energy_source = Energy source
| portable = Portable
| two_way = Two-way
| mic_range = Mic range
| transmit_range = Transmit range
| frequency_range = Frequency range
<!-- Section: Performance -->
| performance = Performance
| damage_type = Damage type
| damage = Damage
| door_damage = Door damage
| tree_damage = Tree damage
| range = range
| min_range = Min range
| max_range = Max range
| accuracy = Accuracy
| recoil = Recoil
| noise_radius = Noise radius
| attack_speed = Attack speed
| knockback = Knockback
| knockdown = Knockdown
| aiming_time = Aiming time
| reload_time = Reload time
| crit_chance = Crit chance
| crit_chance_desc = Damage multiplied by {{{2}}}
| spread = Spread
| special_ability = Special ability
| encumbrance_mod = Encumbrance mod.
| effect_power = {{{2|Effect}}} power
| effect_range = {{{2|Effect}}} range
| effect_duration = {{{2|Effect}}} duration
| minutes = minutes
| effect_timer = {{{2|Effect}}} timer
<!-- Section: Nutrition -->
| nutrition = Nutrition
| hunger = Hunger
| thirst = Thirst
| calories = Calories
| carbohydrates = Carbohydrates
| proteins = Proteins
| fat = Fat
<!-- Section: Effect -->
| effect = Effect
| unhappiness = Unhappiness
| boredom = Boredom
| stress = Stress
| panic = Panic
| enburance = Endurance
| fatigue = Fatigue
| cold = Cold
| pain = Pain
| sick = Sick
| alcohol = Alcohol
| sterilize_power = Sterilize power
| disinfection = Disinfection
| antibiotics_power = Antibiotic power
| infections = Infections
| bandage_power = Bandage power
| wetness = Wetness
| wetness_desc = Dries 4% of total wetness per unit
| poison = Poison
<!-- Section: Cooking -->
| cooking = Cooking
| time_until_cooked = Time until cooked
| minutes = minutes
| time_until_burned = Time until burned
| dangerous_uncooked = Dangerous uncooked
| bad_microwaved = Bad microwaved
| goot_hot = Good hot
| bad_cold = Bad cold
| spice = Spice
| custom_recipe = Custom recipe
<!-- Section: Crafting -->
| crafting = Crafting
| workstation = Workstation
| tools = Tool(s)
| ingredients = Ingredients
<!-- Section: Technical -->
| technical = Technical
| tags = Tags
| item_id = Item ID
| guid = GUID
| media_id = Media ID
| #default = {{Error|translation}}
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.