Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(made the normal recipe visible when there is no expensive recipe)
m (dont use outdated image in a sandbox)
 
(49 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly><div class="infobox">
<div class="infobox-header" style="
<div class="infobox-header  
  {{#switch: {{{category}}}
  {{#switch: {{{category}}}
  | Combat                = background: #FF0000; color: white;
  | Combat                = combat
  | Liquids              = background: #8FDBFF;
  | Liquids              = liquids
  | Logic                = background: #7401DF; color: #6cdf01;
  | Logic                = logic
  | Intermediate products = background: #AAAAAA;
  | Intermediate products = intermediates
  | Machinery            = background: #FFA600;
  | Machinery            = machinery
  | Resources            = background: #444444; color: white;
  | Resources            = resources
  | Science packs        = background: #A1056F; color: white;
  | Science packs        = science
  | Technology            = background: #228B22;
  | Technology            = technology
  | Tools                = background: #62B1F6;
  | Tools                = tools
  | #default              =  
  | #default              = default-infobox
  }}
  }}
">
">
 
{| style="padding: 5px 0;"
<div class="header-icon">
| valign="top" style="width:32px;" |{{Icon|{{{icon|{{No language suffix/No namespace}}}}}||{{No language suffix/No namespace}}{{If language suffix}}}}  
{{Icon|{{{icon|{{No language suffix}}}}}}}
| class="infobox-header-text" | <span>{{Translation|{{{name|{{#replace: {{No language suffix/No namespace}} | (research)|}} }}} }}</span>
</div><!--
<p>{{#if: {{{category|}}} | {{Translation|{{{category-name|{{{category|}}} }}} }} <!--{{C|{{{category}}}}}-->}}</p>
 
|class="plainlinks infobox-edit-link" valign="top" style="display: none;" | [{{fullurl:{{ns:3002}}:{{#replace:{{No language suffix/No namespace}}| |_}}|action=edit}} {{Translation|Edit}}]
--><div class="header-text">
|}
<div>
{{Translation|{{{name|{{#replace:{{No language suffix}}| (research)|}} }}} }}
</div>
 
<div>
{{#if: {{{category|}}} | {{Translation|{{{category-name|{{{category|}}} }}} }} <!--{{C|{{{category}}}}}--> }}
</div>
 
</div>
</div>
</div>
{{#if: {{{image|}}}
{{#if: {{{image|}}}
Line 34: Line 25:
[[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]]
[[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]]
</div>
</div>
}}
{{#if: {{{expensive-recipe|}}} |
<tabber>
{{Translation|Normal mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
\-\
{{Translation|Expensive mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{expensive-recipe|}}}                      |{{Crafting/parsing|{{{expensive-recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{expensive-recipe|}}}                      |{{Crafting/raw|{{{expensive-total-raw|{{{expensive-recipe}}} }}} }} }}
</table>
</tabber>
|
{{#if: {{{expensive-total-raw|}}} |
<tabber>
{{Translation|Normal mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
\-\
{{Translation|Expensive mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{expensive-total-raw|}}}          |{{Crafting/raw|{{{expensive-total-raw}}} }} }}
</table>
</tabber>
|
{{#if: {{{recipe|}}} |
<tabber>
{{Translation|Normal mode & expensive mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
</tabber>
}}
}}
}}{{#if: {{{expensive-cost-multiplier|}}} |
<tabber>
{{Translation|Normal mode}}=
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|✖ <big>{{{cost-multiplier|}}}</big>}} }}
</table>
\-\
{{Translation|Expensive mode}}=
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} ✖ <big>{{{expensive-cost-multiplier|}}}</big>}}
</table>
</tabber>
|
{{#if: {{{cost|}}} |
<tabber>
{{Translation|Normal mode & expensive mode}}=
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|✖ <big>{{{cost-multiplier|}}}</big>}} }}
</table>
</tabber>
}}
}}
}}
<table>
<table>
Line 40: Line 93:
{{Infobox/row  |Walking speed                |{{{walking-speed|}}} }}
{{Infobox/row  |Walking speed                |{{{walking-speed|}}} }}
{{Infobox/row  |Storage size                |{{{storage-size|}}} }}
{{Infobox/row  |Storage size                |{{{storage-size|}}} }}
{{#if: {{{expected-resources|}}} |
<tr class="border-top">
<td>
{{Translation|Expected resources }}
</td>
<td style="width: 70%;">
{{{expected-resources}}}
</td>
</tr>
}}
{{Infobox/row  |Health                      |{{{health|}}} }}
{{Infobox/row  |Health                      |{{{health|}}} }}
{{Infobox/row  |Restores                    |{{{restores|}}}                    |{{{restores}}} {{Translation|health}} }}
{{Infobox/row  |Restores                    |{{{restores|}}}                    |{{{restores}}} {{Translation|health}} }}
Line 64: Line 128:
{{Infobox/row  |Internal buffer recharge rate|{{{internal-buffer-recharge-rate|}}}|{{Type|{{{internal-buffer-recharge-rate}}} }} }}
{{Infobox/row  |Internal buffer recharge rate|{{{internal-buffer-recharge-rate|}}}|{{Type|{{{internal-buffer-recharge-rate}}} }} }}
{{Infobox/row  |Calculations per 60 UPS      |{{{calculations-per-second|}}} }}
{{Infobox/row  |Calculations per 60 UPS      |{{{calculations-per-second|}}} }}
{{Infobox/vrow |Placed in                    |{{{equipped-in|}}}                  |{{Item/parsing|{{{equipped-in}}} }} }}
{{Infobox/row  |Robot limit                  |{{{robot-limit|}}} }}
{{Infobox/row  |Robot limit                  |{{{robot-limit|}}} }}
{{Infobox/row  |Repair speed                |{{{repair-speed|}}} }}
{{Infobox/row  |Repair speed                |{{{repair-speed|}}} }}
{{Infobox/row  |Charging stations            |{{{charging-stations|}}} }}
{{Infobox/row  |Charging stations            |{{{charging-stations|}}} }}
{{Infobox/row  |Belt speed                  |{{{belt-speed|}}} }}
{{Infobox/row  |Movement bonus              |{{{movement-bonus|}}} }}
{{Infobox/row  |Movement bonus              |{{{movement-bonus|}}} }}
{{Infobox/row  |Maximum recharge speed      |{{{maximum-recharge-speed|}}} }}
{{Infobox/row  |Maximum recharge speed      |{{{maximum-recharge-speed|}}} }}
Line 72: Line 138:
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
{{Infobox/row  |Power output                |{{{power-output|}}} }}
{{Infobox/row  |Power output                |{{{power-output|}}} }}
{{Infobox/row  |Maximum temperature          |{{{maximum-temperature|}}} }}
{{Infobox/row  |Fluid consumption            |{{{fluid-consumption|}}} }}
{{Infobox/row  |Shield                      |{{{shield|}}} }}
{{Infobox/row  |Shield                      |{{{shield|}}} }}
{{Infobox/row  |Energy per unit              |{{{energy-per-unit|}}}              |{{Type|{{{energy-per-unit}}} }} }}
{{Infobox/row  |Energy per unit              |{{{energy-per-unit|}}}              |{{Type|{{{energy-per-unit}}} }} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Pumping speed                |{{{pumping-speed|}}} }}
{{Infobox/row  |Mining hardness              |{{{mining-hardness|}}} }}
{{Infobox/row  |Mining hardness              |{{{mining-hardness|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
Line 80: Line 149:
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
{{Infobox/row  |Mining speed                |{{{mining-speed|}}}                |{{{mining-speed}}} {{Translation|items/s}} }}
{{Infobox/row  |Mining speed                |{{{mining-speed|}}}                |{{{mining-speed}}} }}
{{Infobox/row  |Mining area                  |{{{mining-area|}}}                  |{{{mining-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Mining area                  |{{{mining-area|}}}                  |{{{mining-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Fuel value                  |{{{fuel-value|}}}                  |{{Type|{{{fuel-value}}} }} }}
{{Infobox/row  |Fuel value                  |{{{fuel-value|}}}                  |{{Type|{{{fuel-value}}} }} }}
{{Infobox/row  |Vehicle acceleration        |{{{vehicle-acceleration|}}} }}
{{Infobox/row  |Supply area                  |{{{supply-area|}}}                  |{{{supply-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Supply area                  |{{{supply-area|}}}                  |{{{supply-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Wire reach                  |{{{wire-reach|}}}                  |{{{wire-reach}}} {{Translation|tiles}} }}
{{Infobox/row  |Wire reach                  |{{{wire-reach|}}}                  |{{{wire-reach}}} {{Translation|tiles}} }}
Line 88: Line 158:
{{Infobox/row  |Pollution                    |{{{pollution|}}} }}
{{Infobox/row  |Pollution                    |{{{pollution|}}} }}
{{Infobox/row  |Module slots                |{{{modules|}}}                      |{{{modules}}} {{Translation|slots}} }}
{{Infobox/row  |Module slots                |{{{modules|}}}                      |{{{modules}}} {{Translation|slots}} }}
</table>
{{Infobox/row  |Internal name                |{{{internal-name|}}} }}
{{#if: {{{expensive-recipe|}}} |
{{Infobox/row  |Prototype type              |{{{prototype-type|}}} }}
<tabber>
{{Infobox/vrow |Accepted equipment          |{{{equipment|}}}                    |{{Item/parsing|{{{equipment}}} }} }}
{{Translation|Normal mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
\-\
{{Translation|Expensive mode}}=
<table>
{{Infobox/vrow |Recipe            |{{{expensive-recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{expensive-recipe}}} }} }}
{{Infobox/vrow |Total raw          |{{{expensive-recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{expensive-total-raw|{{{expensive-recipe}}} }}} }} }}
</table>
</tabber>
|
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                   |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
}}
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>X {{{cost-multiplier|}}}</big>}} }}
{{Infobox/vrow |Required technologies        |{{{required-technologies|}}}        |{{Technology/parsing/sandbox|{{{required-technologies}}}|color=228B22}}                          |{{Translation|None required}}}}
{{Infobox/vrow |Required technologies        |{{{required-technologies|}}}        |{{Technology/parsing/sandbox|{{{required-technologies}}}|color=228B22}}                          |{{Translation|None required}}}}
{{Infobox/vrow |Allows                      |{{{allows|}}}                      |{{Technology/parsing/sandbox|{{{allows}}}|color=228B22}} }}
{{Infobox/vrow |Allows                      |{{{allows|}}}                      |{{Technology/parsing/sandbox|{{{allows}}}|color=228B22}} }}
Line 121: Line 171:
{{Infobox/extra|{{{extra2|}}} }}
{{Infobox/extra|{{{extra2|}}} }}
</table>
</table>
</div>
</div>{{#seo:
 
|og:site_name=Official Factorio Wiki
<noinclude>
|og:type=article
|title={{Translation|{{No_language_suffix/No_namespace}}}} - Factorio Wiki
|og:image={{#if:{{{image|}}}|https://{{SERVERNAME}}/images/{{ucfirst:{{#replace:{{#if:{{{image|}}}|{{{image}}}{{#ifeq:{{#explode:{{{image}}}|.|1}}||.png}}|}}| |_}}}}|https://{{SERVERNAME}}/images/{{ucfirst:{{#replace:{{ConvertName|{{{icon|{{No_language_suffix/No_namespace}}}}}}}| |_}}}}.png}}
|description={{GETFIRST2SENTENCES}}
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
{{Infobox/sandbox
{{Infobox/sandbox
| category = Machinery
|category = Machinery
| category-name = Machine
|category-name = Machine
|health=40
|health=40
|recipe=Time, 0.5 + Iron Gear Wheel, 15 + Electronic Circuit, 15 + Advanced Circuit, 1 + Fast inserter
|image=Crude oil entity
|total-raw=Time, 43.5 + Iron Plate, 55 + Copper Plate, 32 + Plastic bar, 2
|recipe=Time, 0.5 + Iron gear wheel, 15 + Electronic circuit, 15 + Advanced circuit, 1 + Fast inserter
|expensive-recipe=Time, 5 + Iron Gear Wheel, 15 + Electronic Circuit, 15 + Advanced Circuit, 1 + Fast inserter
|total-raw=Time, 43.5 + Iron plate, 55 + Copper plate, 32 + Plastic bar, 2
|expensive-total-raw=Time, 400 + Iron Plate, 55 + Copper Plate, 32 + Plastic bar, 2
|required-technologies=Stack inserter
|required-technologies=Stack inserter
|producers=Manual + Assembling machine 2 + Assembling machine 3
|producers=Manual + Assembling machine 2 + Assembling machine 3
|consumers=Stack filter inserter
|consumers=Stack filter inserter
|internal-name=stack-inserter
|prototype-type=inserter
}}
}}
</noinclude>
</noinclude>

Latest revision as of 10:07, 22 July 2020

Infobox/sandbox

Machine

Crude oil entity.png

Recipe

Time.png
0.5
+
Iron gear wheel.png
15
+
Electronic circuit.png
15
+
Advanced circuit.png
1
+
Fast inserter.png
1

Total raw

Time.png
43.5
+
Iron plate.png
55
+
Copper plate.png
32
+
Plastic bar.png
2

Health

40

Internal name

stack-inserter

Prototype type

inserter

Required technologies

Stack inserter (research).png

Produced by

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

Consumed by

Stack filter inserter.png