Difference between revisions of "Template:Recipe Row"

From Space Haven Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
 
  | ingredient3 = <!-- Ingredient 3 -->
 
  | ingredient3 = <!-- Ingredient 3 -->
 
  |    amount3 = <!-- Amount of ingredient 3 -->
 
  |    amount3 = <!-- Amount of ingredient 3 -->
 +
| ingredient4 = <!-- Ingredient 4 -->
 +
|    amount4 = <!-- Amount of ingredient 4 -->
 
</noinclude>
 
</noinclude>
  
 
  | rowspan="{{{rows|}}}" | [[File:Item_{{{product|}}}.png|center|link={{{product|}}}]]  
 
  | rowspan="{{{rows|}}}" | [[File:Item_{{{product|}}}.png|center|link={{{product|}}}]]  
  | rowspan="{{{rows|}}}" | '''[[{{{product|}}}]]'''{{#if: {{{category|}}} |
+
  | rowspan="{{{rows|}}}" | '''[[{{{product|}}}]]'''
 +
{{#if: {{{category|}}} |
 
   {{!}} rowspan="{{{rows|}}}" {{!}} [[{{{category|}}}]]
 
   {{!}} rowspan="{{{rows|}}}" {{!}} [[{{{category|}}}]]
 
  |}}
 
  |}}
  {{#if: {{{skill|}}} |
+
{{#if: {{{skill|}}} |
 
   {{!}} rowspan="{{{rows|}}}" {{!}} [[Skills|{{{skill|}}}]]
 
   {{!}} rowspan="{{{rows|}}}" {{!}} [[Skills|{{{skill|}}}]]
 
  |}}
 
  |}}
Line 33: Line 36:
 
   {{!}} style="width: 1%" {{!}} {{{amount3|}}}
 
   {{!}} style="width: 1%" {{!}} {{{amount3|}}}
 
   {{!}} [[{{{ingredient3|}}}]]
 
   {{!}} [[{{{ingredient3|}}}]]
 +
  {{!}}-
 +
|}}
 +
{{#if: {{{ingredient4|}}}{{{amount4|}}} |
 +
  {{!}} style="width: 1%" {{!}} [[File:Item_{{{ingredient4|}}}.png|30px|link={{{ingredient4|}}}]]
 +
  {{!}} style="width: 1%" {{!}} {{{amount4|}}}
 +
  {{!}} [[{{{ingredient4|}}}]]
 
   {{!}}-
 
   {{!}}-
 
  |}}
 
  |}}

Latest revision as of 10:26, 28 March 2025

|     product = 
|       skill = 
|    category = 
|        rows = 
| ingredient1 = 
|     amount1 = 
| ingredient2 = 
|     amount2 = 
| ingredient3 = 
|     amount3 = 
| ingredient4 = 
|     amount4 = 


| rowspan="" |

| rowspan="" | [[]]


| style="width: 1%" | 30px
| style="width: 1%" | 
| [[]]
|-