Actions

Template

Difference between revisions of "Recipe"

From Unofficial Stationeers Wiki

m
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>WIP Template, don't use yet!</noinclude>
+
<noinclude>
{| class="wikitable"
+
{{/Doc}}
!Manufactory
+
</noinclude>
!Materials
+
{| class="wikitable large"
!Time
+
|-
!Energy
+
! Manufactory
{{ #if: {{{1|}}}| |- |{{{1}}}}}{{ #if: {{{2|}}}| {{{2}}}}}{{ #if: {{{3|}}}| {{{3}}}}}{{ #if: {{{4|}}}| {{{4}}}}}{{ #if: {{{5|}}}| {{{5}}}}}{{ #if: {{{6|}}}| {{{6}}}}}{{ #if: {{{7|}}}| {{{7}}}}}{{ #if: {{{8|}}}| {{{8}}}}}
+
! Materials
 +
! Time
 +
! Energy
 +
{{Ifnotempty|{{{1|}}}|
 +
{{{1}}} }}{{Ifnotempty|{{{2|}}}|
 +
{{{2}}} }}{{Ifnotempty|{{{3|}}}|
 +
{{{3}}} }}{{Ifnotempty|{{{4|}}}|
 +
{{{4}}} }}{{Ifnotempty|{{{5|}}}|
 +
{{{5}}} }}{{Ifnotempty|{{{6|}}}|
 +
{{{6}}} }}{{Ifnotempty|{{{7|}}}|
 +
{{{7}}} }}{{Ifnotempty|{{{8|}}}|
 +
{{{8}}} }}
 
|}
 
|}
<includeonly>
 
[[Category:Recipes]]
 
</includeonly>
 

Latest revision as of 06:10, 23 June 2018

A table with up to 8 different recipes. The Recycler recipe is automatically styled to indicate return rather than price.

Example[edit]

{{Recipe
|{{Recipe/row |machine = Autolathe  |mats = 10g [[Iron]], 2g [[Copper]] |time = 10 |energy = 500}}
|{{Recipe/row |machine = Fabricator |mats = 10g [[Iron]], 2g [[Copper]] |time = 1 |energy = 500}}
|{{Recipe/row |machine = Recycler   |mats = 5g [[Iron]], 1g [[Copper]]  |time = 10 |energy = 1000}}
}}

Result[edit]

Manufactory Materials Time Energy
Autolathe 10g Iron, 2g Copper 10 500
Fabricator 10g Iron, 2g Copper 1 500
Recycler 5g Iron, 1g Copper 10 1000
Manufactory Materials Time Energy