Template:Infobox/sandbox: Difference between revisions
Jump to navigation
Jump to search
(add translation to tab nae) |
m (dont use outdated image in a sandbox) |
||
(52 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <includeonly><div class="infobox"> | ||
<div class="infobox-header | <div class="infobox-header | ||
{{#switch: {{{category}}} | {{#switch: {{{category}}} | ||
| Combat = | | Combat = combat | ||
| Liquids = | | Liquids = liquids | ||
| Logic = | | Logic = logic | ||
| Intermediate products = | | Intermediate products = intermediates | ||
| Machinery = | | Machinery = machinery | ||
| Resources = | | Resources = resources | ||
| Science packs = | | Science packs = science | ||
| Technology = | | Technology = technology | ||
| Tools = | | Tools = tools | ||
| #default = | | #default = default-infobox | ||
}} | }} | ||
"> | "> | ||
{| style="padding: 5px 0;" | |||
| valign="top" style="width:32px;" |{{Icon|{{{icon|{{No language suffix/No namespace}}}}}||{{No language suffix/No namespace}}{{If language suffix}}}} | |||
{{Icon|{{{icon|{{No language suffix}}}}}}} | | 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> | |||
|class="plainlinks infobox-edit-link" valign="top" style="display: none;" | [{{fullurl:{{ns:3002}}:{{#replace:{{No language suffix/No namespace}}| |_}}|action=edit}} {{Translation|Edit}}] | |||
|} | |||
< | |||
{{Translation|{{{name|{{#replace:{{No language suffix}}| (research)|}} }}} }} | |||
</ | |||
< | |||
{{#if: {{{category|}}} | {{Translation|{{{category-name|{{{category|}}} }}} }} <!--{{C|{{{category}}}}}--> }} | |||
</ | |||
</div> | </div> | ||
{{#if: {{{image|}}} | {{#if: {{{image|}}} | ||
Line 34: | Line 25: | ||
[[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]] | [[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]] | ||
</div> | </div> | ||
}} | |||
{{#if: {{{expensive-recipe|}}} | | |||
<tabber> | |||
{{Translation|Normal mode}}= | |||
<table> | |||
{{Infobox/vrow |Recipe |{{{recipe|}}} |{{Crafting/parsing|{{{recipe}}} }} }} | |||
{{Infobox/vrow |Total raw |{{{recipe|}}} |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }} | |||
</table> | |||
\-\ | |||
{{Translation|Expensive mode}}= | |||
<table> | |||
{{Infobox/vrow |Recipe |{{{expensive-recipe|}}} |{{Crafting/parsing|{{{expensive-recipe}}} }} }} | |||
{{Infobox/vrow |Total raw |{{{expensive-recipe|}}} |{{Crafting/raw|{{{expensive-total-raw|{{{expensive-recipe}}} }}} }} }} | |||
</table> | |||
</tabber> | |||
| | |||
{{#if: {{{expensive-total-raw|}}} | | |||
<tabber> | |||
{{Translation|Normal mode}}= | |||
<table> | |||
{{Infobox/vrow |Recipe |{{{recipe|}}} |{{Crafting/parsing|{{{recipe}}} }} }} | |||
{{Infobox/vrow |Total raw |{{{recipe|}}} |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }} | |||
</table> | |||
\-\ | |||
{{Translation|Expensive mode}}= | |||
<table> | |||
{{Infobox/vrow |Recipe |{{{recipe|}}} |{{Crafting/parsing|{{{recipe}}} }} }} | |||
{{Infobox/vrow |Total raw |{{{expensive-total-raw|}}} |{{Crafting/raw|{{{expensive-total-raw}}} }} }} | |||
</table> | |||
</tabber> | |||
| | |||
{{#if: {{{recipe|}}} | | |||
<tabber> | |||
{{Translation|Normal mode & expensive mode}}= | |||
<table> | |||
{{Infobox/vrow |Recipe |{{{recipe|}}} |{{Crafting/parsing|{{{recipe}}} }} }} | |||
{{Infobox/vrow |Total raw |{{{recipe|}}} |{{Crafting/raw|{{{total-raw|{{{recipe}}} }}} }} }} | |||
</table> | |||
</tabber> | |||
}} | |||
}} | |||
}}{{#if: {{{expensive-cost-multiplier|}}} | | |||
<tabber> | |||
{{Translation|Normal mode}}= | |||
<table> | |||
{{Infobox/vrow |Cost |{{{cost|}}} |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|✖ <big>{{{cost-multiplier|}}}</big>}} }} | |||
</table> | |||
\-\ | |||
{{Translation|Expensive mode}}= | |||
<table> | |||
{{Infobox/vrow |Cost |{{{cost|}}} |{{Item/parsing|{{{cost|}}} }} ✖ <big>{{{expensive-cost-multiplier|}}}</big>}} | |||
</table> | |||
</tabber> | |||
| | |||
{{#if: {{{cost|}}} | | |||
<tabber> | |||
{{Translation|Normal mode & expensive mode}}= | |||
<table> | |||
{{Infobox/vrow |Cost |{{{cost|}}} |{{Item/parsing|{{{cost|}}} }} {{#if: {{{cost-multiplier|}}}|✖ <big>{{{cost-multiplier|}}}</big>}} }} | |||
</table> | |||
</tabber> | |||
}} | |||
}} | }} | ||
<table> | <table> | ||
Line 40: | Line 93: | ||
{{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 64: | Line 128: | ||
{{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 72: | Line 138: | ||
{{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 80: | Line 149: | ||
{{Infobox/row |Speed |{{{speed|}}} }} | {{Infobox/row |Speed |{{{speed|}}} }} | ||
{{Infobox/row |Productivity |{{{productivity|}}} }} | {{Infobox/row |Productivity |{{{productivity|}}} }} | ||
{{Infobox/row |Mining speed |{{{mining-speed|}}} |{{{mining-speed} | {{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}}} }} }} | ||
{{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 88: | 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/row |Internal name |{{{internal-name|}}} }} | |||
{{Infobox/row |Prototype type |{{{prototype-type|}}} }} | |||
{{Infobox/vrow |Accepted equipment |{{{equipment|}}} |{{Item/parsing|{{{equipment}}} }} }} | |||
{{Infobox/ | |||
{{Infobox/ | |||
{{Infobox/vrow | | |||
{{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 116: | Line 171: | ||
{{Infobox/extra|{{{extra2|}}} }} | {{Infobox/extra|{{{extra2|}}} }} | ||
</table> | </table> | ||
</div> | </div>{{#seo: | ||
|og:site_name=Official Factorio Wiki | |||
<noinclude> | |og:type=article | ||
|title={{Translation|{{No_language_suffix/No_namespace}}}} - Factorio Wiki | |||
|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={{GETFIRST2SENTENCES}} | |||
}}</includeonly><noinclude> | |||
{{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 | |image=Crude oil entity | ||
|total-raw=Time, 43.5 + Iron | |recipe=Time, 0.5 + Iron gear wheel, 15 + Electronic circuit, 15 + Advanced circuit, 1 + Fast inserter | ||
|total-raw=Time, 43.5 + Iron plate, 55 + Copper plate, 32 + Plastic bar, 2 | |||
|required-technologies=Stack inserter | |required-technologies=Stack inserter | ||
|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> |