Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(better description meta tag)
(better description meta tag)
Line 161: Line 161:
</div>{{#seo:
</div>{{#seo:
|og:site_name=Official Factorio Wiki
|og:site_name=Official Factorio Wiki
|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:{{Trim|{{{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://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=The {{No_language_suffix/No_namespace}} is a {{{category-name|{{{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}}|}}
|description={{#switch:{{lc:{{{category}}}}}
|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
|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 17:53, 13 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