Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (make the trimming clearer)
m (formatting)
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 163: Line 159:
{{Infobox/extra|{{{extra2|}}} }}
{{Infobox/extra|{{{extra2|}}} }}
</table>
</table>
</div></includeonly>
</div>{{#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>


<noinclude>
<noinclude>

Revision as of 18:37, 10 August 2017


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

Required technologies

Stack inserter (research).png

Produced by

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

Consumed by

Stack filter inserter.png