Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added heat output)
(Added resource-drain, science-pack-drain and base-productivity)
 
(One intermediate revision by the same user not shown)
Line 188: Line 188:
|energy = 16 MW burner
|energy = 16 MW burner
|heat-output  = 40 {{Translation|MW}} heat
|heat-output  = 40 {{Translation|MW}} heat
|efficiency = 250%
|maximum-temperature = 1000 °C
|maximum-temperature = 1000 °C
|valid-fuel=Wood + Coal + Solid fuel + Carbon + Rocket fuel + Nuclear fuel + Yumako seed + Jellynut seed + Tree seed + Yumako + Jellynut + Spoilage + Yumako mash + Biter egg + Pentapod egg
|valid-fuel=Wood + Coal + Solid fuel + Carbon + Rocket fuel + Nuclear fuel + Yumako seed + Jellynut seed + Tree seed + Yumako + Jellynut + Spoilage + Yumako mash + Biter egg + Pentapod egg
Line 194: Line 193:
|required-technologies=Heating tower
|required-technologies=Heating tower
|producers = Assembling machine + Player
|producers = Assembling machine + Player
|rotation-speed= 390 {{Translation|°/s}}
|asteroid-collection-area = 9×9
|asteroid-collection-arm-speed = 42 {{Translation|km/h}}
|asteroid-collection-arm-count = 5
|resource-drain = 20%
|science-pack-drain = 40%
|base-productivity = 30%
}}
}}
</noinclude>
</noinclude>

Latest revision as of 20:47, 1 November 2024

[View] [Edit] [Page history]

Documentation

This template is designed to be used to describe an item or machine, using a box of info.

This template uses functions from Module:Infobox.

Usage

To use, create a page in the infobox namespace by prepending Infobox: to the page you are trying to add an infobox to, so that the new pages is called Infobox:(whatever the page name is). Then, on the page, add the line {{:Infobox:Page_name}}. This will "copy" the infobox you create on Infobox:... to the page itself. Of course, replace Page_name with the name of the page.

As for the infobox on Infobox:..., start with the line: {{Infobox. Then, on the next few lines, start with the pipe character, |, then place a parameter, and set it equal to the value you wish it to be. Then, end the parameter lines with two curly-brackets. "}}", and the line <noinclude>[[Category:Infobox page]]</noinclude>.

Example working box:

{{Infobox
|category = Logistics
|health=100
|stack-size=50
|wire-reach=9
|supply-area=7×7
|recipe=Time, 0.5 + Steel plate, 2 + Copper plate, 2
|required-technologies=Electric energy distribution 1
|producers=Player + Assembling machine
}}
<noinclude>[[Category:Infobox page]]</noinclude>

Additionally, the infobox will automatically translate. Just "copy" the infobox (the same way, from Infobox:...) to the page, as done for the English page. ({{:Infobox:Page name}})


If you need further help, contact a wiki admin or look at existing examples, on actual pages.

Syntax

Recipe

The "recipe" parameter should be used as follows:


|recipe = wood, 4 = wooden chest, 1

Basically,

item1, quantity = output item, quantity.

Separate multiple items with +.

Technology trigger

The "technology-trigger" parameter should be used as follows:

|technology-trigger = trigger-type: Item, count

The trigger type can be one of the following:

  • mine-entity
  • build-entity
  • craft-item
  • capture-spawner
  • create-space-platform
  • send-item-to-orbit

The items and counts are optional, when they are left out then the colon after the trigger-type should also be removed. |technology-trigger = capture-spawner

Quality

If a property is affected by quality, add the quality template around the different numbers for the quality levels. For example, the max health of an entity is affected by quality and formatted as follows:

|health = {{Quality|200|260|320|380|500}}

Because quality solely adds information to base game items and does not override or remove values, it is applied directly to the base properties (without space-age) and does not require "changed-by-space-age-mod" to be set.

Parameters

A list of valid parameters is provided below. Since this infobox is general purpose, not all must be used, however some are required. Required parameters are shown in red. Please be as descriptive as possible when making infoboxes.

Tip: This is a large table. After expanding, use CTRL + F in most browsers to search through this table easily.

Available Parameters

Parameter Value
category The category the object fits into, same as the inventory tabs. Valid choices are Logistics, Production, Intermediate products, Space, Combat, Technology.
name The name of the object, default is the page name. Do not specify name if not necessary, to avoid translation issues.
icon Specify the icon of the object, give the name of the file without the extension. This is only necessary if the icon fails to display properly.
internal-name The internal name of the entity. Only use plain text here.
prototype-type The prototype type of the entity. Only use plain text here.
image An in-game image of the entity, without file extension (.png etc)
extra1 Add an extra row above all others, for misc purpose. Do not use templates here!
extra2 Add an extra row below all others, for misc purpose. Do not use templates here!
space-age Either the string yes, no or nothing. Determines whether to display a symbol in infobox that shows whether the object is exclusive to Space Age ( yes) or only available if Space Age is deactivated (no). Most objects are available with and without Space Age, in that case this parameter should be left out.
changed-by-space-age-mod Set to yes when the object always exists, but properties of the object are changed by toggling the Space Age mod, such as the recipe or tech cost.
recipe The recipe of the object in normal mode. See recipe syntax above for more info.
total-raw The raw recipe of the object in normal mode. See recipe syntax above. Defaults to recipe.
space-age-recipe The altered recipe of the object when the Space Age mod is active. See recipe syntax above for more info. Defaults to recipe. Needs changed-by-space-age-mod to be set to be shown.
space-age-total-raw The altered raw recipe of the object when the Space Age mod is active. See recipe syntax above. Defaults to space-age-recipe if set, otherwise defaults to total-raw.. Needs changed-by-space-age-mod to be set to be shown.
map-color The map color of the entity.
map-icon The map icon of the entity.
added-in The version the object was added into the game.
walking-speed The walking speed of the entity.
storage-size The inventory storage size of the entity, in slots.
space-age-storage-size The inventory storage size of the entity when the Space Age mod is active, in slots. Defaults to storage-size if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
fluid-storage-volume Fluid storage volume of the entity, in units. Also used for entities that do not strictly store fluid, such as pipes.
lifespan The lifespan of a deployed capsule in seconds.
expected-resources Resources expected to be dropped when this entity (tree/rock) is mined.
health The health points of the entity.
restores The amount of health the item restores.
resistance The elemental/physical resistances of the object. Resistances should be shown as such: point_resistance/10% Fire
inventory-size-bonus The inventory size bonus provided by the item.
grid-size The size of the grid for armor modules.
stack-size How many of the object fit into a stack.
space-age-stack-size How many of the object fit into a stack when the Space Age mod is active. Defaults to stack-size if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
rocket-capacity How many of the object fit into one rocket.
range The range of the weapon, in tiles.
shooting-speed The shooting speed of the weapon.
damage The damage dealt by the object.
damage-bonus The damage bonus provided by the technology or weapon.
cluster-size The size of the cluster.
area-of-affect-size The size of the area of effect of the object.
durability The durability of the object.
ammunition What type of ammo the weapon consumes.
used-as-ammo-by Which entities use this ammo.
magazine-size The number of bullets contained in the magazine.
efficiency The efficiency.
dimensions The size of the entity, in tiles.
energy The energy consumption of the entity.
drain The passive electricity drain of the entity.
robot-recharge-rate The rate at which the object recharges robots.
internal-buffer-recharge-rate The rate at which the object fills it's internal buffer.
equipped-in Which objects with equipments grids this item can be placed in.
robot-limit Limit of robots that can fit inside the entity.
repair-speed The repair speed of the object.
charging-stations The number of charging stations on the entity.
rotation-speed The rotation speed of the inserter, should use °/s as the unit.
belt-speed The speed of the belt, should use Items/s as the unit.
asteroid-collection-area The collection area of the asteroid collector.
asteroid-collection-arm-speed The collection arm max speed of the asteroid collector, should use km/h as the unit.
asteroid-collection-arm-count The collection arm count of the asteroid collector.
movement-bonus General movement speed bonus.
energy-capacity How much electricity the object can hold.
power-input How much electricity the object can intake.
power-output Same as above, but for output.
heat-output Heat output of the reactor (or reactor-like) entity.
maximum-temperature The maximum temperature of the entity.
fluid-consumption The fluid consumption of this entity. When possible in x/s.
shield The amount of shielding this shielding equipment provides.
energy-per-hitpoint How much energy is needed to recharge 1 hitpoint of this shield equipment.
maximum-recharge-speed The max recharge speed of this shield equipment.
crafting-speed The crafting speed of the entity.
pumping-speed The pumping speed of this entity.
mining-time The time it takes to mine the object.
mining-speed The mining speed of the object.
mining-area The mining area of the entity.
speed The speed bonus/penalty of this module.
productivity The productivity bonus of this module.
quality The quality bonus/penalty of this module.
fuel-value The amount of energy can be obtained by using this as fuel
vehicle-acceleration The vehicle acceleration this fuel provides, e.g 180%
vehicle-top-speed The vehicle top speed this fuel provides, e.g 115%
supply-area The area the entity can supply, in ?x? tiles. Value of 5 would produce 5x5.
wire-reach The number of tiles the wires can reach.
construction-area The size of the construction area provided by the entity.
pollution The pollution generated by the object.
buildable-on The only space locations that this entity can be placed on, e.g. "Nauvis + Gleba" or "Space platform".
crafted-on The only space locations that this recipe can be crafted on, e.g. "Nauvis + Gleba" or "Space platform".
spoil-time The spoil time of the item, in minutes, e.g. 3.
spoil-result The spoil time of the item, e.g. "Iron plate, 2" or "Spoilage".
vehicle-weight The weight of this rolling stock or vehicle.
modules Number of module slots.
equipment Equipment that can be put into this objects equipment grid.
boosting-technologies What technologies boost the object.
producers What entities (machines) produce the object.
space-age-producers What entities (machines) produce the object when the Space Age mod is active. Defaults to producers if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
consumers What recipes consume the object.
space-age-consumers What recipes consume the object when the Space Age mod is active. Defaults to consumers if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
valid-fuel Which items this entity can use as fuel.
used-as-fuel-by What entities this item can be used in as fuel.
recycling-results What the results are when this item is recycled.
cost The cost to research the technology.
cost-multiplier How many times the cost must be paid to research the tech fully.
space-age-cost The altered cost to research the technology when the Space Age mod is active. Defaults to cost if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
space-age-cost-multiplier How many times the cost must be paid to research the tech fully when the Space Age mod is active. Defaults to cost-multiplier. Needs changed-by-space-age-mod to be set to be shown.
technology-trigger The trigger that unlocks this technology, such as mining an entity. Shown as "Researched by" in the technology tree.
space-age-technology-trigger The altered trigger that unlocks this technology when the Space Age mod is active. Defaults to technology-trigger if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
allows What other technologies the tech allows.
effects Items unlocked by researching this technology.
required-technologies Technologies required to access the tech or object.
space-age-allows What other technologies the tech allows when the Space Age mod is active. Defaults to allows if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
space-age-effects Items unlocked by researching this technology when the Space Age mod is active. Defaults to effects if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
space-age-required-technologies Technologies required to access the tech or object when the Space Age mod is active. Defaults to required-technologies if not set, set to "none" to hide the row completely instead. Needs changed-by-space-age-mod to be set to be shown.
List of all templates
Rocket silo.png
Infobox/sandbox

Recipe

Time.png
0.5
+
Copper cable.png
3
+
Iron plate.png
1
Electronic circuit.png
3

Total raw

Time.png
1.25
+
Copper plate.png
1.5
+
Iron plate.png
1

foo

Health

350

Stack size

2000

Prototype type

item

Internal name

item-that-is-in-both-mods

Required technologies

Production science pack (research).png
Rocket fuel (research).png
Uranium processing (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png

Consumed by

Advanced circuit.png
Arithmetic combinator.png
Foundation.png

Recipe

Time.png
0.5
+
Superconductor.png
234
+
Steel plate.png
5
+
Rail ramp.png
3

Total raw

Time.png
5
+
Superconductor.png
2
+
Holmium ore.png
234
+
Iron plate.png
3

foo

Health

350

Stack size

200

Prototype type

item

Internal name

item-that-is-in-both-mods

Required technologies

Space science pack (research).png
Uranium processing (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png
Foundry.png

Consumed by

Advanced circuit.png
Arithmetic combinator.png
Foundation.png

Satellite.png
Infobox/sandbox

Recipe

Time.png
0.5
+
Copper cable.png
3
+
Iron plate.png
1
Electronic circuit.png
3

Total raw

Time.png
1.25
+
Copper plate.png
1.5
+
Iron plate.png
1

foo

Stack size

200

Prototype type

item

Internal name

satellite

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png
Foundry.png

Consumed by

Advanced circuit.png
Arithmetic combinator.png
Foundation.png
Foundry.png
Infobox/sandbox

Recipe

Time.png
0.5
+
Superconductor.png
234
+
Steel plate.png
5
+
Rail ramp.png
3

Total raw

Time.png
5
+
Superconductor.png
2
+
Holmium ore.png
234
+
Iron plate.png
3

foo

Storage size

20

Health

Quality normal.png 200
Quality uncommon.png 300 Quality rare.png 400
Quality epic.png 500 Quality legendary.png 600

Stack size

200

Rocket capacity

50

Buildable only on

Gleba.png

Crafted only on

Vulcanus.png

Spoil time

3 minutes

Spoil result

Spoilage.png

Prototype type

item

Internal name

space-age-only

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png
Foundry.png

Consumed by

Advanced circuit.png
Arithmetic combinator.png
Foundation.png

Recycling results

Iron plate.png
2
Copper plate.png
0.25
Infobox/sandbox

Cost

Time.png
30
Automation science pack.png
1
Logistic science pack.png
1
Chemical science pack.png
1
Production science pack.png
1
1500

foo

Prototype type

technology

Internal name

kovarex-enrichment-process

Required technologies

Production science pack (research).png
Rocket fuel (research).png
Uranium processing (research).png

Allows

Atomic bomb (research).png

Effects

Kovarex enrichment process.png
Nuclear fuel.png

Cost

Time.png
30
Automation science pack.png
1
Logistic science pack.png
1
Chemical science pack.png
1
Space science pack.png
1
1000

foo

Prototype type

technology

Internal name

kovarex-enrichment-process

Required technologies

Space science pack (research).png
Uranium processing (research).png

Allows

Atomic bomb (research).png
Atomic bomb (research).png
Atomic bomb (research).png

Effects

Nuclear fuel.png
Nuclear fuel.png
Nuclear fuel.png

Infobox/sandbox

Recipe

Time.png
6
+
Copper cable.png
4
+
Electronic circuit.png
2
+
Plastic bar.png
2

Total raw

Time.png
9.5
+
Copper plate.png
5
+
Iron plate.png
2
+
Plastic bar.png
2

Stack size

200

Prototype type

item

Internal name

advanced-circuit

Required technologies

Advanced circuit (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png

Consumed by

Active provider chest.png
Artillery turret.png
Artillery wagon.png
Beacon.png
Belt immunity equipment.png
Buffer chest.png
Bulk inserter.png
Centrifuge.png
Chemical science pack.png
Distractor capsule.png
Efficiency module.png
Efficiency module 2.png
Efficiency module 3.png
Electric furnace.png
Energy shield.png
Express splitter.png
Logistic robot.png
Modular armor.png
Nightvision.png
Nuclear reactor.png
Passive provider chest.png
Personal roboport.png
Processing unit.png
Productivity module.png
Productivity module 2.png
Productivity module 3.png
Requester chest.png
Roboport.png
Selector combinator.png
Portable solar panel.png
Speed module.png
Speed module 2.png
Speed module 3.png
Storage chest.png
Substation.png
Tank.png

Recipe

Time.png
6
+
Copper cable.png
4
+
Electronic circuit.png
2
+
Plastic bar.png
2

Total raw

Time.png
9.5
+
Copper plate.png
5
+
Iron plate.png
2
+
Plastic bar.png
2

Stack size

200

Prototype type

item

Internal name

advanced-circuit

Required technologies

Advanced circuit (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png

Consumed by

Active provider chest.png
Beacon.png
Belt immunity equipment.png
Big mining drill.png
Buffer chest.png
Bulk inserter.png
Centrifuge.png
Chemical science pack.png
Distractor capsule.png
Efficiency module.png
Efficiency module 2.png
Efficiency module 3.png
Electric furnace.png
Energy shield.png
Express splitter.png
Logistic robot.png
Modular armor.png
Nightvision.png
Nuclear reactor.png
Passive provider chest.png
Personal roboport.png
Processing unit.png
Productivity module.png
Productivity module 2.png
Productivity module 3.png
Quality module.png
Quality module 2.png
Quality module 3.png
Requester chest.png
Roboport.png
Selector combinator.png
Portable solar panel.png
Speed module.png
Speed module 2.png
Speed module 3.png
Storage chest.png
Substation.png
Tank.png
Toolbelt equipment.png

Infobox/sandbox

Cost

Time.png
60
Automation science pack.png
1
Logistic science pack.png
1
Chemical science pack.png
1
Production science pack.png
1
300

Prototype type

technology

Internal name

speed-module-3

Required technologies

Production science pack (research).png
Speed module 2 (research).png
2

Allows

Rocket silo (research).png

Effects

Speed module 3.png

Cost

Time.png
60
Automation science pack.png
1
Logistic science pack.png
1
Chemical science pack.png
1
Space science pack.png
1
Metallurgic science pack.png
1
2000

Prototype type

technology

Internal name

speed-module-3

Required technologies

Metallurgic science pack (research).png
Speed module 2 (research).png
2

Effects

Speed module 3.png

Infobox/sandbox

Cost

Time.png
60
Automation science pack.png
1
Logistic science pack.png
1
Chemical science pack.png
1
Production science pack.png
1
300

Prototype type

technology

Internal name

speed-module-3

Required technologies

Production science pack (research).png
Speed module 2 (research).png
2

Allows

Rocket silo (research).png

Effects

Speed module 3.png

Researched by

Build
Asteroid collector.png

Prototype type

technology

Internal name

speed-module-3

Required technologies

Production science pack (research).png
Speed module 2 (research).png
2

Allows

Rocket silo (research).png

Effects

Speed module 3.png

Infobox/sandbox

Researched by

Capture any spawner.

Prototype type

technology

Internal name

speed-module-3

Required technologies

Production science pack (research).png
Speed module 2 (research).png
2

Allows

Rocket silo (research).png

Effects

Speed module 3.png
Infobox/sandbox

Researched by

Capture any spawner.

Prototype type

technology

Internal name

speed-module-3

Researched by

Craft
Iron plate.png
50

Prototype type

technology

Internal name

speed-module-3

Infobox/sandbox

Heating tower entity.png

Recipe

Time.png
10
+
Concrete.png
20
+
Boiler.png
2
+
Heat pipe.png
5

Total raw

Time.png
16
+
Concrete.png
20
+
Copper plate.png
100
+
Iron plate.png
8
+
Steel plate.png
50
+
Stone.png
10

Map color

Health

Quality normal.png 500
Quality uncommon.png 650 Quality rare.png 800
Quality epic.png 950 Quality legendary.png 1250

Stack size

20

Dimensions

3×3

Energy consumption

16 MW (burner)

Rotation speed

390 °/s

Collection area

9×9

Collection arm speed

42 km/h

Collection arm count

5

Heat output

40 MW heat

Maximum temperature

1000 °C

Mining time

0.5

Resource drain

20%

Science pack drain

40%

Base productivity

30%

Required technologies

Heating tower (research).png

Produced by

Assembling machine 1.png
Assembling machine 2.png
Assembling machine 3.png
Player.png

Valid fuel

Wood.png
Coal.png
Solid fuel.png
Carbon.png
Rocket fuel.png
Nuclear fuel.png
Yumako seed.png
Jellynut seed.png
Tree seed.png
Yumako.png
Jellynut.png
Spoilage.png
Yumako mash.png
Biter egg.png
Pentapod egg.png