Template:Infobox/sandbox

From Official Factorio Wiki
Jump to navigation Jump to search

[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

List of all templates
Infobox/sandbox
  • Base game
  •  
  • Space Age mod

Recipe

0.5
+
3
+
1
3

Total raw

1.25
+
1.5
+
1

foo

Health

350

Stack size

2000

Science capacity

100%
200% 300%
400% 600%

Prototype type

item

Internal name

item-that-is-in-both-mods

Required technologies

Produced by

Consumed by

Infobox/sandbox

Recipe

0.5
+
3
+
1
3

Total raw

1.25
+
1.5
+
1

foo

Stack size

200

Prototype type

item

Internal name

satellite

Produced by

Consumed by

Infobox/sandbox

Recipe

0.5
+
234
+
5
+
3

Total raw

5
+
2
+
234
+
3

foo

Storage size

20

Health

200
300 400
500 600

Stack size

200

Rocket capacity

50

Buildable only on

Crafted only on

Spoil time

2h 5m 50s
2h 43m 34s 3h 21m 20s
3h 59m 5s 5h 14m 35s

Spoil result

Prototype type

item

Internal name

space-age-only

Produced by

Consumed by

Recycling results

2
0.25
Infobox/sandbox
  • Base game
  •  
  • Space Age mod

Cost

30
1
1
1
1
1500

foo

Prototype type

technology

Internal name

kovarex-enrichment-process

Required technologies

Allows

Effects

Infobox/sandbox
  • Base game
  •  
  • Space Age mod

Recipe

6
+
4
+
2
+
2

Total raw

9.5
+
5
+
2
+
2

Stack size

200

Prototype type

item

Internal name

advanced-circuit

Required technologies

Produced by

Consumed by

Infobox/sandbox
  • Base game
  •  
  • Space Age mod

Cost

60
1
1
1
1
300

Prototype type

technology

Internal name

speed-module-3

Required technologies

2

Allows

Effects

Infobox/sandbox
  • Base game
  •  
  • Space Age mod

Cost

60
1
1
1
1
300

Prototype type

technology

Internal name

speed-module-3

Required technologies

2

Allows

Effects

Infobox/sandbox

Researched by

Capture any spawner.

Prototype type

technology

Internal name

speed-module-3

Required technologies

2

Allows

Effects

Infobox/sandbox
  • Base game
  •  
  • Space Age mod

Researched by

Capture any spawner.

Prototype type

technology

Internal name

speed-module-3

Best tech (research)

Recipe

10
+
20
+
2
+
5

Total raw

16
+
20
+
100
+
8
+
50
+
10

Map color

Health

500
650 800
950 1250

Stack size

20

Radar coverage distance

1
2 3
4 6

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

Research speed

1

Mining time

0.5

Resource drain

20%

Science pack drain

40%

Base productivity

30%

Required technologies

Produced by

Valid fuel