Difference between revisions of "Itembox/doc"
From Unofficial Stationeers Wiki
< Template:Itembox
(Created page with "{{Itembox | name = item's name | image = item's image | stacks = item's stacks | paintable = item is paintable | constructs = ite...") |
(→Example) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
| name = item's name | | name = item's name | ||
| image = item's image | | image = item's image | ||
− | | stacks = item's stacks | + | | stacks = item's stacks (number only) |
| paintable = item is paintable | | paintable = item is paintable | ||
| constructs = item's constructing variations | | constructs = item's constructing variations | ||
Line 22: | Line 22: | ||
| logic = item's logic parameter | | logic = item's logic parameter | ||
| volume = item's volume | | volume = item's volume | ||
− | |||
| prefabhash = item's prefab. hash | | prefabhash = item's prefab. hash | ||
+ | | prefabname = item's prefab. name | ||
+ | | slot_class = item's slot class when in a slot (SlotClass.None, etc) | ||
+ | | sorting_class = item's sorting class (used in Logic Sorter) (SortingClass.Default, etc) | ||
+ | | nutrition = item's nutrition | ||
+ | | quality = item's quality | ||
+ | | growthtime = item's growth time | ||
}} | }} | ||
=Example= | =Example= | ||
Line 32: | Line 37: | ||
| name = item's name | | name = item's name | ||
| image = item's image | | image = item's image | ||
− | | stacks = item's stacks | + | | stacks = item's stacks (number only) |
| paintable = item is paintable | | paintable = item is paintable | ||
| constructs = item's constructing variations | | constructs = item's constructing variations | ||
Line 52: | Line 57: | ||
| logic = item's logic parameter | | logic = item's logic parameter | ||
| volume = item's volume | | volume = item's volume | ||
− | |||
| prefabhash = item's prefab. hash | | prefabhash = item's prefab. hash | ||
+ | | prefabname = item's prefab. name | ||
+ | | slot_class = item's slot class when in a slot (SlotClass.None, etc) | ||
+ | | sorting_class = item's sorting class (used in Logic Sorter) (SortingClass.Default, etc) | ||
+ | | nutrition = item's nutrition value (if food) | ||
+ | | quality = item's quality rating (if food) | ||
+ | | growthtime = item's growth time (if plant) | ||
}} | }} | ||
− | + | </nowiki> | |
+ | |||
=Template= | =Template= | ||
Here's a blank example you can copy to fill in the data | Here's a blank example you can copy to fill in the data | ||
Line 82: | Line 93: | ||
| logic = | | logic = | ||
| volume = | | volume = | ||
− | |||
| prefabhash = | | prefabhash = | ||
− | }} | + | | prefabname = |
− | + | | slot_class = | |
+ | | sorting_class = | ||
+ | | nutrition = | ||
+ | | quality = | ||
+ | | growthtime = | ||
+ | }}</nowiki> |
Latest revision as of 15:37, 6 May 2024
item's image | |
Constructing Options | item's constructing variations |
---|---|
Used With | usedwith |
Max Input Power | item's maximum input power |
Max Output Power | item's maximum output power |
Max Pressure | item's maximum pressure |
Pressure Range | item's pressure range |
Max Temperature | item's maximum temperature |
Temperature Range | item's temperature range |
Volume | item's volume |
Properties | |
Stacks | item's stacks (number only) |
Paintable | item is paintable |
Recipe | |
Created With | old style item's recipe machine |
Cost | old style item's recipe cost |
Recipes | |
new style recipe machine (1) | new style recipe machine (1) cost |
new style recipe machine (2) | new style recipe machine (2) cost |
new style recipe machine (3) | new style recipe machine (3) cost |
Logic | |
Item Hash | item's prefab. hash |
Item Name | item's prefab. name |
Logic Classes |
item's slot class when in a slot (SlotClass.None, etc) item's sorting class (used in Logic Sorter) (SortingClass.Default, etc) |
Logic Parameters | item's logic parameter |
Food | |
Food Nutrition | item's nutrition |
Food Quality | item's quality |
Growth Time | item's growth time |
Example[edit]
The following code produces the box presented on the right. All possible arguments are utilized in this example.
{{Itembox | name = item's name | image = item's image | stacks = item's stacks (number only) | paintable = item is paintable | constructs = item's constructing variations | createdwith = old style item's recipe machine | cost = old style item's recipe cost | recipe_machine1 = new style recipe machine (1) | recipe_cost1 = new style recipe machine (1) cost | recipe_machine2 = new style recipe machine (2) | recipe_cost2 = new style recipe machine (2) cost | recipe_machine3 = new style recipe machine (3) | recipe_cost3 = new style recipe machine (3) cost | usedwith = usedwith | maxinpower = item's maximum input power | maxoutpower = item's maximum output power | maxpressure = item's maximum pressure | pressurerange = item's pressure range | maxtemp = item's maximum temperature | temprange = item's temperature range | logic = item's logic parameter | volume = item's volume | prefabhash = item's prefab. hash | prefabname = item's prefab. name | slot_class = item's slot class when in a slot (SlotClass.None, etc) | sorting_class = item's sorting class (used in Logic Sorter) (SortingClass.Default, etc) | nutrition = item's nutrition value (if food) | quality = item's quality rating (if food) | growthtime = item's growth time (if plant) }}
Template[edit]
Here's a blank example you can copy to fill in the data
{{Itembox | name = | image = | stacks = | paintable = | constructs = | createdwith = | cost = | recipe_machine1 = | recipe_cost1 = | recipe_machine2 = | recipe_cost2 = | recipe_machine3 = | recipe_cost3 = | usedwith = | maxinpower = | maxoutpower = | maxpressure = | pressurerange = | maxtemp = | temprange = | logic = | volume = | prefabhash = | prefabname = | slot_class = | sorting_class = | nutrition = | quality = | growthtime = }}