Template:Infobox/sandbox: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(tabs+recipes at the top)
(testing infobox more info in header)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-header" style="
<div class="infobox-header  
  {{#switch: {{{category}}}
  {{#switch: {{{category}}}
  | Combat                = background: #FF0000; color: white;
  | Combat                = combat
  | Liquids              = background: #8FDBFF;
  | Liquids              = liquids
  | Logic                = background: #7401DF; color: #6cdf01;
  | Logic                = logic
  | Intermediate products = background: #AAAAAA;
  | Intermediate products = intermediates
  | Machinery            = background: #FFA600;
  | Machinery            = machinery
  | Resources            = background: #444444; color: white;
  | Resources            = resources
  | Science packs        = background: #A1056F; color: white;
  | Science packs        = science
  | Technology            = background: #228B22;
  | Technology            = technology
  | Tools                = background: #62B1F6;
  | Tools                = tools
  | #default              =  
  | #default              = default-infobox
  }}
  }}
">
">
Line 29: Line 29:


</div>
</div>
{{#if: {{{internal-name|}}} |
<p class="more-button" style="text-align: center;">V</p>
<div class="more-content hidden" style="padding-left: 5px;">
{{Translation|Internal name}}: {{{internal-name}}}
{{#if: {{{prototype-type|}}} | <br/>{{Translation|Prototype type}}: {{{prototype-type|}}}|}}
</div>
|
{{#if: {{{prototype-type|}}} |
<p class="more-button" style="text-align: center;">V</p>
<div class="more-content hidden" style="padding-left: 5px;">
{{Translation|Prototype type}}: {{{prototype-type}}}
</div>
|}}
}}
</div>
</div>
{{#if: {{{image|}}}
{{#if: {{{image|}}}
Line 45: Line 59:
{{Translation|Expensive mode}}=
{{Translation|Expensive mode}}=
<table>
<table>
{{Infobox/vrow |Recipe             |{{{expensive-recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{expensive-recipe}}} }} }}
{{Infobox/vrow |Recipe                       |{{{expensive-recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{expensive-recipe}}} }} }}
{{Infobox/vrow |Total raw         |{{{expensive-recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{expensive-total-raw|{{{expensive-recipe}}} }}} }} }}
{{Infobox/vrow |Total raw                   |{{{expensive-recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{expensive-total-raw|{{{expensive-recipe}}} }}} }} }}
</table>
</table>
</tabber>
</tabber>
|
{{#if: {{{expensive-total-raw|}}} |
<tabber>
{{Translation|Normal mode}}=
<table>
<table>
|  
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
\-\
{{Translation|Expensive mode}}=
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{expensive-total-raw|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{expensive-total-raw}}} }} }}
</table>
</tabber>
|
<table>
<table>
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Recipe                      |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/parsing|{{{recipe}}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
{{Infobox/vrow |Total raw                    |{{{recipe|}}}                      |{{User:TheWombatGuru/Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }}
</table>
}}
}}
}}
{{#if: {{{expensive-cost-multiplier|}}} |
<tabber>
{{Translation|Normal mode}}=
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>X {{{cost-multiplier|}}}</big>}} }}
</table>
\-\
{{Translation|Expensive mode}}=
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} <big>X {{{expensive-cost-multiplier|}}}</big>}}
</table>
</tabber>
|
<table>
{{Infobox/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>X {{{cost-multiplier|}}}</big>}} }}
</table>
}}
<table>
{{Infobox/extra|{{{extra1|}}} }}
{{Infobox/extra|{{{extra1|}}} }}
{{Infobox/row  |Added in                    |{{{added-in|}}} }}
{{Infobox/row  |Added in                    |{{{added-in|}}} }}
Line 91: Line 139:
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
{{Infobox/row  |Power output                |{{{power-output|}}} }}
{{Infobox/row  |Power output                |{{{power-output|}}} }}
{{Infobox/row  |Maximum temperature          |{{{maximum-temperature|}}} }}
{{Infobox/row  |Fluid consumption            |{{{fluid-consumption|}}} }}
{{Infobox/row  |Shield                      |{{{shield|}}} }}
{{Infobox/row  |Shield                      |{{{shield|}}} }}
{{Infobox/row  |Energy per unit              |{{{energy-per-unit|}}}              |{{Type|{{{energy-per-unit}}} }} }}
{{Infobox/row  |Energy per unit              |{{{energy-per-unit|}}}              |{{Type|{{{energy-per-unit}}} }} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Pumping speed                |{{{pumping-speed|}}} }}
{{Infobox/row  |Mining hardness              |{{{mining-hardness|}}} }}
{{Infobox/row  |Mining hardness              |{{{mining-hardness|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
Line 99: Line 150:
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
{{Infobox/row  |Mining speed                |{{{mining-speed|}}}                |{{{mining-speed}}} {{Translation|items/s}} }}
{{Infobox/row  |Mining speed                |{{{mining-speed|}}}                |{{{mining-speed}}} }}
{{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}}} }} }}
Line 107: 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/vrow |Cost                        |{{{cost|}}}                        |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|<big>X {{{cost-multiplier|}}}</big>}} }}
{{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 123: Line 173:
{{Documentation}}
{{Documentation}}
{{Infobox/sandbox
{{Infobox/sandbox
| category = Machinery
|category = Machinery
| category-name = Machine
|category-name = Machine
|health=40
|health=40
|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
Line 133: Line 183:
|producers=Manual + Assembling machine 2 + Assembling machine 3
|producers=Manual + Assembling machine 2 + Assembling machine 3
|consumers=Stack filter inserter
|consumers=Stack filter inserter
|internal-name=stack-inserter
|prototype-type=inserter
}}
}}
</noinclude>
</noinclude>

Revision as of 16:27, 15 June 2017

Template:Infobox/sandbox

Required technologies

None required


Template:Infobox/sandbox

Machine

V

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