Difference between revisions of "Template:Recipe List Row"

From Space Haven Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
  | type = <!-- "producing" or "recycling" -->
 
  | type = <!-- "producing" or "recycling" -->
  | product
+
  | itemleft
 
  | alternativeimage
 
  | alternativeimage
 
  | alternativename
 
  | alternativename
 
  | rows = <!-- Count of rows either on left or right side -->
 
  | rows = <!-- Count of rows either on left or right side -->
 
  | process = <!-- Needed skill with level e.g. "Industry 1" or "automatic" -->
 
  | process = <!-- Needed skill with level e.g. "Industry 1" or "automatic" -->
  | product1 =  
+
  | itemright1 =  
  | count1 =
+
  | itemcountright1 =
  | product2 =  
+
  | itemright2 =  
  | count2 =
+
  | itemcountright2 =
  | product3 =  
+
  | itemright3 =  
  | count3 =
+
  | itemcountright3 =
  | product4 =  
+
  | itemright4 =  
  | count4 =
+
  | itemcountright4 =
 
</noinclude>
 
</noinclude>
  | rowspan="{{{rows|}}}" style="width: 1%;" | [[File:{{#if: {{{alternativeimage|}}} | {{{alternativeimage|}}} |}} Item_{{{product|}}}.png|center|link={{{product|}}}]]
+
  | rowspan="{{{rows|}}}" style="width: 1%;" | [[File:{{#if: {{{alternativeimage|}}} | {{{alternativeimage|}}} |}} Item_{{{itemleft|}}}.png|center|link={{{itemleft|}}}]]
  | rowspan="{{{rows|}}}" | {{#if: {{{alternativename|}}} | [[{{{product|}}}|{{{alternativename|}}}]] | [[{{{product|}}}]]}}
+
  | rowspan="{{{rows|}}}" | {{#if: {{{alternativename|}}} | [[{{{itemleft|}}}|{{{alternativename|}}}]] | [[{{{itemleft|}}}]]}}
 
  | rowspan="{{{rows|}}}" style="width: 1%;" | {{#ifeq: {{{type|}}} | produce | [[File:Icon_Arrow_Left.png|link=]] | [[File:Icon_Arrow_Right.png|link=]]}}
 
  | rowspan="{{{rows|}}}" style="width: 1%;" | {{#ifeq: {{{type|}}} | produce | [[File:Icon_Arrow_Left.png|link=]] | [[File:Icon_Arrow_Right.png|link=]]}}
 
  | rowspan="{{{rows|}}}" style="text-align: center;" | {{#ifeq: {{{process|}}} | automatic | automatic | [[Skills|{{{process|}}}]]}}
 
  | rowspan="{{{rows|}}}" style="text-align: center;" | {{#ifeq: {{{process|}}} | automatic | automatic | [[Skills|{{{process|}}}]]}}
 
  | rowspan="{{{rows|}}}" style="width: 1%;" | {{#ifeq: {{{type|}}} | produce | [[File:Icon_Arrow_Left.png|link=]] | [[File:Icon_Arrow_Right.png|link=]]}}
 
  | rowspan="{{{rows|}}}" style="width: 1%;" | {{#ifeq: {{{type|}}} | produce | [[File:Icon_Arrow_Left.png|link=]] | [[File:Icon_Arrow_Right.png|link=]]}}
  | style="width: 1%;" | [[File:Item_{{{product1|}}}.png|30px]]
+
  | style="width: 1%;" | [[File:Item_{{{itemright1|}}}.png|30px]]
  | style="width: 1%;" | {{{count1|}}}
+
  | style="width: 1%;" | {{{itemcountright1|}}}
  | [[{{{product1|}}}]]
+
  | [[{{{itemright1|}}}]]
 
  |-
 
  |-
  {{#if: {{{product2|}}}{{{count2|}}} |
+
  {{#if: {{{itemright2|}}}{{{itemcountright2|}}} |
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{product2|}}}.png|30px]]
+
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{itemright2|}}}.png|30px]]
  {{!}} style="width: 1%;" {{!}} {{{count2|}}}
+
  {{!}} style="width: 1%;" {{!}} {{{itemcountright2|}}}
  {{!}} [[{{{product2|}}}]]
+
  {{!}} [[{{{itemright2|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}
  {{#if: {{{product3|}}}{{{count3|}}} |
+
  {{#if: {{{itemright3|}}}{{{itemcountright3|}}} |
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{product3|}}}.png|30px]]
+
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{itemright3|}}}.png|30px]]
  {{!}} style="width: 1%;" {{!}} {{{count3|}}}
+
  {{!}} style="width: 1%;" {{!}} {{{itemcountright3|}}}
  {{!}} [[{{{product3|}}}]]
+
  {{!}} [[{{{itemright3|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}
  {{#if: {{{product4|}}}{{{count4|}}} |
+
  {{#if: {{{itemright4|}}}{{{itemcountright4|}}} |
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{product4|}}}.png|30px]]
+
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{itemright4|}}}.png|30px]]
  {{!}} style="width: 1%;" {{!}} {{{count4|}}}
+
  {{!}} style="width: 1%;" {{!}} {{{itemcountright4|}}}
  {{!}} [[{{{product4|}}}]]
+
  {{!}} [[{{{itemright4|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}

Revision as of 20:36, 1 April 2025

| type = 
| itemleft
| alternativeimage
| alternativename
| rows = 
| process = 
| itemright1 = 
| itemcountright1 =
| itemright2 = 
| itemcountright2 =
| itemright3 = 
| itemcountright3 =
| itemright4 = 
| itemcountright4 =

| rowspan="" style="width: 1%;" |

| rowspan="" | [[]]
| rowspan="" style="width: 1%;" | Icon Arrow Right.png
| rowspan="" style="text-align: center;" | [[Skills|]]
| rowspan="" style="width: 1%;" | Icon Arrow Right.png
| style="width: 1%;" | 30px
| style="width: 1%;" | 
| [[]]
|-