Template:Infobox: Difference between revisions

From Space Exploration
Jump to navigation Jump to search
imported>Pandana
Taken from factorio wiki.
 
imported>Pandana
No edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><div class="infobox">
<includeonly>{{#invoke:Infobox|infobox}}</includeonly><noinclude>
<div class="infobox-header
{{#switch: {{{category}}}
| Logistics            = logistics
| Production            = production
| Intermediate products = intermediates
| Combat                = combat
| Technology            = technology
| #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}}}}
| 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;" | [{{fullurl:{{ns:3002}}:{{#replace:{{No language suffix/No namespace}}| |_}}|action=edit}} {{Translation|Edit}}]
|}
</div>
{{#if: {{{image|}}}
|<div class="infobox-image">
[[File:{{{image}}}{{#ifeq: {{#explode: {{{image}}}|.|1}}||.png}}]]
</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>
{{Infobox/extra|{{{extra1|}}} }}
{{Infobox/row  |Map color                    |{{{map-color|}}}                    |{{Color|{{{map-color|}}}}} }}
{{Infobox/row  |Map icon                    |{{{map-icon|}}} }}
{{Infobox/row  |Added in                    |{{{added-in|}}} }}
{{Infobox/row  |Walking speed                |{{{walking-speed|}}} }}
{{Infobox/row  |Storage size                |{{{storage-size|}}} }}
{{Infobox/row  |Fluid storage volume        |{{{fluid-storage-volume|}}} }}
{{#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  |Restores                    |{{{restores|}}}                    |{{{restores}}} {{Translation|health}} }}
{{Infobox/row  |Resistances                  |{{{resistance|}}} }}
{{Infobox/row  |Lifespan                    |{{{lifespan|}}}                    |{{{lifespan}}} {{Translation|seconds}} }}
{{Infobox/row  |Inventory size bonus        |{{{inventory-size-bonus|}}} }}
{{Infobox/row  |Equipment grid size          |{{{grid-size|}}} }}
{{Infobox/row  |Stack size                  |{{{stack-size|}}} }}
{{Infobox/row  |Range                        |{{{range|}}} }}
{{Infobox/row  |Shooting speed              |{{{shooting-speed|}}} }}
{{Infobox/row  |Damage                      |{{{damage|}}} }}
{{Infobox/row  |Damage bonus                |{{{damage-bonus|}}} }}
{{Infobox/row  |Cluster size                |{{{cluster-size|}}} }}
{{Infobox/row  |Area of effect size          |{{{area-of-effect-size|}}} }}
{{Infobox/row  |Durability                  |{{{durability|}}} }}
{{Infobox/row  |Magazine size                |{{{magazine-size|}}} }}
{{Infobox/row  |Ammunition                  |{{{ammunition|}}}                  |{{Item/parsing|{{{ammunition}}} }} }}
{{Infobox/vrow |Used as ammunition by        |{{{used-as-ammo-by|}}}              |{{Item/parsing|{{{used-as-ammo-by}}} }} }}
{{Infobox/row  |Efficiency                  |{{{efficiency|}}} }}
{{Infobox/row  |Dimensions                  |{{{dimensions|}}} }}
{{Infobox/row  |Energy consumption          |{{{energy|}}}                      |{{Type|{{{energy}}} }} }}
{{Infobox/row  |Drain                        |{{{drain|}}}                        |{{Type|{{{drain}}} }} }}
{{Infobox/row  |Robot recharge rate          |{{{robot-recharge-rate|}}}          |{{Type|{{{robot-recharge-rate}}} }} }}
{{Infobox/row  |Internal buffer recharge rate|{{{internal-buffer-recharge-rate|}}}|{{Type|{{{internal-buffer-recharge-rate}}} }} }}
{{Infobox/vrow |Placed in                    |{{{equipped-in|}}}                  |{{Item/parsing|{{{equipped-in}}} }} }}
{{Infobox/row  |Robot limit                  |{{{robot-limit|}}} }}
{{Infobox/row  |Repair speed                |{{{repair-speed|}}} }}
{{Infobox/row  |Charging stations            |{{{charging-stations|}}} }}
{{Infobox/row  |Belt speed                  |{{{belt-speed|}}} }}
{{Infobox/row  |Movement bonus              |{{{movement-bonus|}}} }}
{{Infobox/row  |Energy capacity              |{{{energy-capacity|}}}              |{{Type|{{{energy-capacity}}} }} }}
{{Infobox/row  |Power input                  |{{{power-input|}}} }}
{{Infobox/row  |Power output                |{{{power-output|}}} }}
{{Infobox/row  |Maximum temperature          |{{{maximum-temperature|}}} }}
{{Infobox/row  |Fluid consumption            |{{{fluid-consumption|}}} }}
{{Infobox/row  |Shield hitpoints            |{{{shield|}}} }}
{{Infobox/row  |Energy per hitpoint          |{{{energy-per-hitpoint|}}}              |{{Type|{{{energy-per-hitpoint}}} }} }}
{{Infobox/row  |Maximum recharge speed      |{{{maximum-recharge-speed|}}} }}
{{Infobox/row  |Crafting speed              |{{{crafting-speed|}}} }}
{{Infobox/row  |Pumping speed                |{{{pumping-speed|}}} }}
{{Infobox/row  |Mining time                  |{{{mining-time|}}} }}
{{Infobox/row  |Speed                        |{{{speed|}}} }}
{{Infobox/row  |Productivity                |{{{productivity|}}} }}
{{Infobox/row  |Mining speed                |{{{mining-speed|}}}                |{{{mining-speed}}} }}
{{Infobox/row  |Mining area                  |{{{mining-area|}}}                  |{{{mining-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Fuel value                  |{{{fuel-value|}}}                  |{{Type|{{{fuel-value}}} }} }}
{{Infobox/row  |Vehicle acceleration        |{{{vehicle-acceleration|}}} }}
{{Infobox/row  |Vehicle top speed            |{{{vehicle-top-speed|}}} }}
{{Infobox/row  |Supply area                  |{{{supply-area|}}}                  |{{{supply-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Wire reach                  |{{{wire-reach|}}}                  |{{{wire-reach}}} {{Translation|tiles}} }}
{{Infobox/row  |Construction area            |{{{construction-area|}}}            |{{{construction-area}}} {{Translation|tiles}} }}
{{Infobox/row  |Pollution                    |{{{pollution|}}} }}
{{Infobox/row  |Weight                      |{{{weight|}}} }}
{{Infobox/row  |Module slots                |{{{modules|}}}                      |{{{modules}}} {{Translation|slots}} }}
{{Infobox/row  |Prototype type              |{{{prototype-type|}}}              |{{Prototype page|{{{prototype-type}}}}} }}
{{Infobox/row  |Internal name                |{{{internal-name|}}} }}
{{Infobox/vrow |Accepted equipment          |{{{equipment|}}}                    |{{Item/parsing|{{{equipment}}} }} }}
{{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 |Effects                      |{{{effects|}}}                      |{{Item/parsing|{{{effects}}} }} }}
{{Infobox/vrow |Boosting technologies        |{{{boosting-technologies|}}}        |{{Technology/parsing/sandbox|{{{boosting-technologies}}}|color=228B22}} }}
{{Infobox/vrow |Produced by                  |{{{producers|}}}                    |{{Item/parsing|{{{producers}}} }} }}
{{Infobox/vrow |Consumed by                  |{{{consumers|}}}                    |{{Item/parsing|{{{consumers}}} }} }}
{{Infobox/vrow |Valid fuel                  |{{{valid-fuel|}}}                  |{{Item/parsing|{{{valid-fuel}}} }} }}
{{Infobox/vrow |Used as fuel by              |{{{used-as-fuel-by|}}}              |{{Item/parsing|{{{used-as-fuel-by}}} }} }}
{{Infobox/extra|{{{extra2|}}} }}
</table>
</div>{{#seo:
|og:site_name=Official Factorio Wiki
|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}}
</noinclude>
</noinclude>

Latest revision as of 17:56, 7 September 2021