Actions

Template

Difference between revisions of "Recipe"

From Unofficial Stationeers Wiki

m
 
(13 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: {{{r1|}}}| {{{r1}}}}}{{ #if: {{{r2|}}}| {{{r2}}}}}{{ #if: {{{r3|}}}| {{{r3}}}}}{{ #if: {{{r4|}}}| {{{r4}}}}}{{ #if: {{{r5|}}}| {{{r5}}}}}{{ #if: {{{r6|}}}| {{{r6}}}}}{{ #if: {{{r7|}}}| {{{r7}}}}}{{ #if: {{{r8|}}}| {{{r8}}}}}
+
! 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 07: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