Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
(update to state of the normal template)
Line 14: Line 14:
  }}
  }}
">
">
<table style="padding: 5px 0;">
{| style="padding: 5px 0;"
<tr>
| valign="top" style="width:32px;" |{{Icon|{{{icon|{{No language suffix/No namespace}}}}}||{{No language suffix/No namespace}}{{If language suffix}}}}  
<td style="width:32px;" valign="top">{{Icon|{{{icon|{{No language suffix/No namespace}}}}}}}</td>
| class="infobox-header-text" | <span>{{Translation|{{{name|{{#replace: {{No language suffix/No namespace}} | (research)|}} }}} }}</span>
<td 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></td>
|class="plainlinks infobox-edit-link" valign="top" style="display: none;" | [{{fullurl:{{ns:3002}}:{{#replace:{{No language suffix/No namespace}}| |_}}|action=edit}} {{Translation|Edit}}]
<td class="plainlinks infobox-edit-link" style="display: none;" valign="top">[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> </td></tr></table>
<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> </td></tr></table>
<div class="more-content" style="display: none;">
{{Translation|Prototype type}}: {{{prototype-type}}}
</div>
| </td></tr></table> }}
}}
</div>
</div>
{{#if: {{{image|}}}
{{#if: {{{image|}}}
Line 80: Line 66:
{{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>
|
|
<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>
}}
}}
Line 98: Line 84:
{{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 122: Line 119:
{{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 144: Line 143:
{{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 149: Line 149:
{{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 166:
|og:type=article
|og:type=article
|title={{Translation|{{No_language_suffix/No_namespace}}}} - Factorio Wiki
|title={{Translation|{{No_language_suffix/No_namespace}}}} - Factorio Wiki
|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}}
|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={{#switch:{{lc:{{{category}}}}}
|description={{GETFIRST2SENTENCES}}
|machinery
|tools
|combat
|science packs
|item
|logic
|intermediate products=The
|liquids
|resources=
|#default=The
}} {{No_language_suffix/No_namespace}} is {{#switch:{{lc:{{{category}}}}}
|machinery=a machine
|tools=a tool
|combat=used in combat
|liquids=a fluid
|logic=used in the circuit network
|intermediate products=an intermediate product
|resources=a resource
|science packs=a science pack
|items
|item = an item
|#default={{lc:{{{category}}}}}
}}. {{#if: {{{recipe|}}}|Its recipe is {{#replace:{{#replace:{{{recipe}}}|+|and}}|,|:}}|}}{{#if: {{{cost|}}}|{{#if: {{{recipe|}}}|.}} Its cost is ({{#replace:{{#replace:{{{cost}}}|+|and}}|,|:}}) {{#if:{{{cost-multiplier|}}}|x {{{cost-multiplier}}}|}}|}}{{#if: {{{required-technologies|}}}|. It requires the following technologies: {{#replace:{{{required-technologies}}}|+|and}}|}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}

Revision as of 10:23, 5 March 2018

Infobox/sandbox

Machine

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

Recipe

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

Total raw

Time.png
400
+
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