Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (make the trimming clearer)
m (dont use outdated image in a sandbox)
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#seo:
|og:image={{#if:{{{image|}}}|https://wiki.factorio.com/images/{{ucfirst:{{#replace:{{Trim|{{{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  
Line 19: Line 15:
">
">
{| 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}}}}}||{{No language suffix/No namespace}}{{If language suffix}}}}  
| 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>
<p>{{#if: {{{category|}}} | {{Translation|{{{category-name|{{{category|}}} }}} }} <!--{{C|{{{category}}}}}-->}}</p>
|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]
|class="plainlinks infobox-edit-link" valign="top" style="display: none;" | [{{fullurl:{{ns:3002}}:{{#replace:{{No language suffix/No namespace}}| |_}}|action=edit}} {{Translation|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 74: Line 56:
</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>
Line 102: 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 126: 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 148: Line 152:
{{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 153: 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}} }}
{{Infobox/row  |Internal name                |{{{internal-name|}}} }}
{{Infobox/row  |Prototype type              |{{{prototype-type|}}} }}
{{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 163: Line 171:
{{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
Line 171: Line 183:
|category-name = Machine
|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: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