Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(this should trim the name of the image before replacing " " with "_")
(What if the icon doesn't link? It never knew why it did that anyway, we're already on that page)
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|og:image={{#if:{{{image|}}}|https://wiki.factorio.com/images/{{ucfirst:{{#replace:{{#if:{{{image}}}|{{{image}}}{{#ifeq:{{#explode:{{{image}}}|.|1}}||.png}}}}| |_}}}}|https://wiki.factorio.com/images/{{ucfirst:{{#replace:{{ConvertName|{{{icon|{{No_language_suffix/No_namespace}}}}}}}}}| |_}}.png}}
|description={{#if: {{{recipe|}}}|Recipe: {{#replace:{{#replace:{{{recipe}}}|+|and}}|,|:}}|}}{{#if: {{{cost|}}}|{{#if: {{{recipe|}}}|.}} Cost: {{#replace:{{#replace:{{{cost}}}|+|and}}|,|:}}{{#if:{{{cost-multiplier|}}}| x {{{cost-multiplier}}}|}}|}}{{#if: {{{required-technologies|}}}|. Required technologies: {{#replace:{{{required-technologies}}}|+|and}}|}}{{#if: {{{consumers|}}}|. Consumed by: {{#replace:{{{consumers}}}|+|and}}|}}{{#if: {{{effects|}}}|. Effects: {{#replace:{{{effects}}}|+|and}}|}}
}}
<includeonly><div class="infobox">
<includeonly><div class="infobox">
<div class="infobox-header  
<div class="infobox-header  
  {{#switch: {{{category}}}
  {{#switch: {{{category}}}
| Logistics            = logistics
| Production            = production
| Intermediate products = intermediates
  | Combat                = combat
  | Combat                = combat
| Liquids              = liquids
| Logic                = logic
| Intermediate products = intermediates
| Machinery            = machinery
| Resources            = resources
| Science packs        = science
  | Technology            = technology
  | Technology            = technology
| Tools                = tools
  | #default              = default-infobox
  | #default              = default-infobox
  }}
  }}
">
">
{| style="padding: 5px 0;"
{| style="padding: 5px 0;"
| style="width:32px;" |{{Icon|{{{icon|{{No language suffix/No namespace}}}}}}}  
| valign="top" style="width:32px;" |{{Icon|{{{icon|{{No language suffix/No namespace}}}}}||}}  
| valign="top" class="infobox-header-text" | <span>{{Translation|{{{name|{{#replace: {{No language suffix/No namespace}} | (research)|}} }}} }}</span>
| class="infobox-header-text" | <span>{{Translation|{{{name|{{#replace: {{No language suffix/No namespace}} | (research)|}} }}} }}</span>
<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}}]
|class="plainlinks infobox-edit-link" valign="top" style="display: none;" | [https://wiki.factorio.com/index.php?title={{ns:3002}}:{{#replace:{{No language suffix/No namespace}}| |_}}&action=edit Edit]
|}
|}
{{#if: {{{internal-name|}}} |
<p class="more-button" title="Click for more info">▼</p>
<div class="more-content" style="display: none;">
{{Translation|Internal name}}: {{{internal-name}}}
{{#if: {{{prototype-type|}}} | <br/>{{Translation|Prototype type}}: {{{prototype-type|}}}|}}
</div>
|
{{#if: {{{prototype-type|}}} |
<p class="more-button" title="Click for more info">▼</p>
<div class="more-content" style="display: none;">
{{Translation|Prototype type}}: {{{prototype-type}}}
</div>
|}}
}}
</div>
</div>
{{#if: {{{image|}}}
{{#if: {{{image|}}}
Line 43: Line 20:
[[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]]
[[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]]
</div>
</div>
}}
}}{{#if: {{{expensive-recipe|}}} |
{{#if: {{{expensive-recipe|}}} |
<tabber>
<tabber>
{{Translation|Normal mode}}=
{{Translation|Normal mode}}=
Line 74: Line 50:
</tabber>
</tabber>
|
|
{{#if: {{{recipe|}}} |
<tabber>
{{Translation|Normal mode & expensive mode}}=
<table>
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
</table>
</tabber>
}}
}}
}}
}}
{{#if: {{{expensive-cost-multiplier|}}} |
}}{{#if: {{{expensive-cost-multiplier|}}} |
<tabber>
<tabber>
{{Translation|Normal mode}}=
{{Translation|Normal mode}}=
<table>
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>X {{{cost-multiplier|}}}</big>}} }}
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>{{{cost-multiplier|}}}</big>}} }}
</table>
</table>
\-\
\-\
{{Translation|Expensive mode}}=
{{Translation|Expensive mode}}=
<table>
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} <big>X {{{expensive-cost-multiplier|}}}</big>}}
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} <big>{{{expensive-cost-multiplier|}}}</big>}}
</table>
</table>
</tabber>
</tabber>
|
|
{{#if: {{{cost|}}} |
<tabber>
{{Translation|Normal mode & expensive mode}}=
<table>
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>X {{{cost-multiplier|}}}</big>}} }}
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>{{{cost-multiplier|}}}</big>}} }}
</table>
</table>
</tabber>
}}
}}
}}
<table>
<table>
{{Infobox/extra|{{{extra1|}}} }}
{{Infobox/extra|{{{extra1|}}} }}
{{Infobox/row  |Map color                    |{{{map-color|}}}                    |{{Color|{{{map-color|}}}}} }}
{{Infobox/row  |Map icon                    |{{{map-icon|}}} }}
{{Infobox/row  |Added in                    |{{{added-in|}}} }}
{{Infobox/row  |Added in                    |{{{added-in|}}} }}
{{Infobox/row  |Walking speed                |{{{walking-speed|}}} }}
{{Infobox/row  |Walking speed                |{{{walking-speed|}}} }}
{{Infobox/row  |Storage size                |{{{storage-size|}}} }}
{{Infobox/row  |Storage size                |{{{storage-size|}}} }}
{{Infobox/row  |Fluid storage volume        |{{{fluid-storage-volume|}}} }}
{{#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 107: Line 106:
{{Infobox/row  |Lifespan                    |{{{lifespan|}}}                    |{{{lifespan}}} {{Translation|seconds}} }}
{{Infobox/row  |Lifespan                    |{{{lifespan|}}}                    |{{{lifespan}}} {{Translation|seconds}} }}
{{Infobox/row  |Inventory size bonus        |{{{inventory-size-bonus|}}} }}
{{Infobox/row  |Inventory size bonus        |{{{inventory-size-bonus|}}} }}
{{Infobox/row  |Grid size                   |{{{grid-size|}}} }}
{{Infobox/row  |Equipment grid size         |{{{grid-size|}}} }}
{{Infobox/row  |Stack size                  |{{{stack-size|}}} }}
{{Infobox/row  |Stack size                  |{{{stack-size|}}} }}
{{Infobox/row  |Range                        |{{{range|}}} }}
{{Infobox/row  |Range                        |{{{range|}}} }}
Line 116: Line 115:
{{Infobox/row  |Area of effect size          |{{{area-of-effect-size|}}} }}
{{Infobox/row  |Area of effect size          |{{{area-of-effect-size|}}} }}
{{Infobox/row  |Durability                  |{{{durability|}}} }}
{{Infobox/row  |Durability                  |{{{durability|}}} }}
{{Infobox/row  |Magazine size                |{{{magazine-size|}}} }}
{{Infobox/row  |Ammunition                  |{{{ammunition|}}}                  |{{Item/parsing|{{{ammunition}}} }} }}
{{Infobox/row  |Ammunition                  |{{{ammunition|}}}                  |{{Item/parsing|{{{ammunition}}} }} }}
{{Infobox/row  |Magazine size                |{{{magazine-size|}}} }}
{{Infobox/vrow |Used as ammunition by        |{{{used-as-ammo-by|}}}              |{{Item/parsing|{{{used-as-ammo-by}}} }} }}
{{Infobox/row  |Efficiency                  |{{{efficiency|}}} }}
{{Infobox/row  |Efficiency                  |{{{efficiency|}}} }}
{{Infobox/row  |Dimensions                  |{{{dimensions|}}} }}
{{Infobox/row  |Dimensions                  |{{{dimensions|}}} }}
{{Infobox/row  |Energy consumption          |{{{energy|}}}                      |{{Type|{{{energy}}} }} }}
{{Infobox/row  |Energy consumption          |{{{energy|}}}                      |{{Type|{{{energy}}} }} }}
{{Infobox/row  |Drain                        |{{{drain|}}}                        |{{Type|{{{drain}}} }} }}
{{Infobox/row  |Drain                        |{{{drain|}}}                        |{{Type|{{{drain}}} }} }}
{{Infobox/row  |Transmission                |{{{transmission|}}}                |{{Type|{{{transmission}}} }} }}
{{Infobox/row  |Robot recharge rate          |{{{robot-recharge-rate|}}}          |{{Type|{{{robot-recharge-rate}}} }} }}
{{Infobox/row  |Robot recharge rate          |{{{robot-recharge-rate|}}}          |{{Type|{{{robot-recharge-rate}}} }} }}
{{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/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  |Energy capacity              |{{{energy-capacity|}}}              |{{Type|{{{energy-capacity}}} }} }}
{{Infobox/row  |Energy capacity              |{{{energy-capacity|}}}              |{{Type|{{{energy-capacity}}} }} }}
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
Line 136: Line 135:
{{Infobox/row  |Maximum temperature          |{{{maximum-temperature|}}} }}
{{Infobox/row  |Maximum temperature          |{{{maximum-temperature|}}} }}
{{Infobox/row  |Fluid consumption            |{{{fluid-consumption|}}} }}
{{Infobox/row  |Fluid consumption            |{{{fluid-consumption|}}} }}
{{Infobox/row  |Shield                       |{{{shield|}}} }}
{{Infobox/row  |Shield hitpoints            |{{{shield|}}} }}
{{Infobox/row  |Energy per unit              |{{{energy-per-unit|}}}              |{{Type|{{{energy-per-unit}}} }} }}
{{Infobox/row  |Energy per hitpoint          |{{{energy-per-hitpoint|}}}              |{{Type|{{{energy-per-hitpoint}}} }} }}
{{Infobox/row  |Maximum recharge speed      |{{{maximum-recharge-speed|}}} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Pumping speed                |{{{pumping-speed|}}} }}
{{Infobox/row  |Pumping speed                |{{{pumping-speed|}}} }}
{{Infobox/row  |Mining hardness              |{{{mining-hardness|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
{{Infobox/row  |Mining power                |{{{mining-power|}}} }}
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
Line 148: Line 146:
{{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  |Vehicle top speed            |{{{vehicle-top-speed|}}} }}
{{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}} }}
{{Infobox/row  |Construction area            |{{{construction-area|}}}            |{{{construction-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Construction area            |{{{construction-area|}}}            |{{{construction-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Pollution                    |{{{pollution|}}} }}
{{Infobox/row  |Pollution                    |{{{pollution|}}} }}
{{Infobox/row  |Weight                      |{{{weight|}}} }}
{{Infobox/row  |Module slots                |{{{modules|}}}                      |{{{modules}}} {{Translation|slots}} }}
{{Infobox/row  |Module slots                |{{{modules|}}}                      |{{{modules}}} {{Translation|slots}} }}
{{Infobox/row  |Prototype type              |{{{prototype-type|}}}              |{{Prototype page|{{{prototype-type}}}}} }}
{{Infobox/row  |Internal name                |{{{internal-name|}}} }}
{{Infobox/vrow |Accepted equipment          |{{{equipment|}}}                    |{{Item/parsing|{{{equipment}}} }} }}
{{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 158: Line 162:
{{Infobox/vrow |Boosting technologies        |{{{boosting-technologies|}}}        |{{Technology/parsing/sandbox|{{{boosting-technologies}}}|color=228B22}} }}
{{Infobox/vrow |Boosting technologies        |{{{boosting-technologies|}}}        |{{Technology/parsing/sandbox|{{{boosting-technologies}}}|color=228B22}} }}
{{Infobox/vrow |Produced by                  |{{{producers|}}}                    |{{Item/parsing|{{{producers}}} }} }}
{{Infobox/vrow |Produced by                  |{{{producers|}}}                    |{{Item/parsing|{{{producers}}} }} }}
{{Infobox/vrow |Processed by                |{{{processors|}}}                  |{{Item/parsing|{{{processors}}} }} }}
{{Infobox/vrow |Consumed by                  |{{{consumers|}}}                    |{{Item/parsing|{{{consumers}}} }} }}
{{Infobox/vrow |Consumed by                  |{{{consumers|}}}                    |{{Item/parsing|{{{consumers}}} }} }}
{{Infobox/vrow |Valid fuel                  |{{{valid-fuel|}}}                  |{{Item/parsing|{{{valid-fuel}}} }} }}
{{Infobox/vrow |Used as fuel by              |{{{used-as-fuel-by|}}}              |{{Item/parsing|{{{used-as-fuel-by}}} }} }}
{{Infobox/vrow |Used as fuel by              |{{{used-as-fuel-by|}}}              |{{Item/parsing|{{{used-as-fuel-by}}} }} }}
{{Infobox/extra|{{{extra2|}}} }}
{{Infobox/extra|{{{extra2|}}} }}
</table>
</table>
</div></includeonly>
</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 = Production
|category-name = Machine
|health=40
|health=40
|image=Equipment slots
|image=Crude oil entity
|recipe=Time, 0.5 + Iron gear wheel, 15 + Electronic circuit, 15 + Advanced circuit, 1 + Fast inserter
|recipe=Time, 0.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
|total-raw=Time, 43.5 + Iron plate, 55 + Copper plate, 32 + Plastic bar, 2
|expensive-recipe=Time, 5 + Iron gear wheel, 15 + Electronic circuit, 15 + Advanced circuit, 1 + Fast inserter
|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

Latest revision as of 10:29, 26 April 2024

Infobox/sandbox

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

Prototype type

inserter

Internal name

stack-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