Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(better description meta tag)
mNo edit summary
Line 14: Line 14:
  }}
  }}
">
">
{| style="padding: 5px 0;"
<table style="padding: 5px 0;">
| valign="top" style="width:32px;" |{{Icon|{{{icon|{{No language suffix/No namespace}}}}}}}  
<tr>
| class="infobox-header-text" | <span>{{Translation|{{{name|{{#replace: {{No language suffix/No namespace}} | (research)|}} }}} }}</span>
<td style="width:32px;" valign="top">{{Icon|{{{icon|{{No language suffix/No namespace}}}}}}}</td>
<p>{{#if: {{{category|}}} | {{Translation|{{{category-name|{{{category|}}} }}} }} <!--{{C|{{{category}}}}}-->}}</p>
<td class="infobox-header-text"><span>{{Translation|{{{name|{{#replace: {{No language suffix/No namespace}} | (research)|}} }}} }}</span>
|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]
<p>{{#if: {{{category|}}} | {{Translation|{{{category-name|{{{category|}}} }}} }} <!--{{C|{{{category}}}}}-->}}</p></td>
|}
<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|}}} |
{{#if: {{{internal-name|}}} |
<p class="more-button" title="Click for more info">▼</p>
<p class="more-button" title="Click for more info">▼</p> </td></tr></table>
<div class="more-content" style="display: none;">
<div class="more-content" style="display: none;">
{{Translation|Internal name}}: {{{internal-name}}}
{{Translation|Internal name}}: {{{internal-name}}}
Line 28: Line 28:
|
|
{{#if: {{{prototype-type|}}} |
{{#if: {{{prototype-type|}}} |
<p class="more-button" title="Click for more info">▼</p>
<p class="more-button" title="Click for more info">▼</p> </td></tr></table>
<div class="more-content" style="display: none;">
<div class="more-content" style="display: none;">
{{Translation|Prototype type}}: {{{prototype-type}}}
{{Translation|Prototype type}}: {{{prototype-type}}}
</div>
</div>
|}}
| </td></tr></table> }}
}}
}}
</div>
</div>
Line 163: Line 163:
|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:{{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:{{#if:{{{image|}}}|{{{image}}}{{#ifeq:{{#explode:{{{image}}}|.|1}}||.png}}|}}| |_}}}}|https://wiki.factorio.com/images/{{ucfirst:{{#replace:{{ConvertName|{{{icon|{{No_language_suffix/No_namespace}}}}}}}| |_}}}}.png}}
|description={{#switch:{{lc:{{{category}}}}}
|description={{#switch:{{lc:{{{category}}}}}
|machinery
|machinery
Line 184: Line 184:
|resources=a resource
|resources=a resource
|science packs=a science pack
|science packs=a science pack
|items
|item = an item
|item = an item
|#default={{lc:{{{category}}}}}
|#default={{lc:{{{category}}}}}

Revision as of 19:42, 15 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