Difference between revisions of "Template:Recipe List Row Recycle"

From Space Haven Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<noinclude><p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/doc|> Template:{{PAGENAME}}/doc]]</p>
 +
<p style="font-size:12px; text-indent: 12px;">[[Template:{{PAGENAME}}/version|> Template:{{PAGENAME}}/version]]</p>
 +
{{{{PAGENAME}}/doc}}
 +
 +
== Exemplary presentation ==</noinclude>
 
<noinclude>
 
<noinclude>
 
  |      ingredient =  
 
  |      ingredient =  
 
  | ingredientimage =  
 
  | ingredientimage =  
 
  |  ingredientname =  
 
  |  ingredientname =  
  |         process = <!-- Needed skill with level e.g. "Industry 1" or "automatic" -->
+
  |           skill = <!-- Needed skill with level e.g. "Industry 1" otherwise "automatic" will be displayed -->
 
  |        product1 =  
 
  |        product1 =  
  |         count1 =  
+
  |         amount1 =  
 
  |        product2 =  
 
  |        product2 =  
  |         count2 =  
+
  |         amount2 =  
 
  |        product3 =  
 
  |        product3 =  
  |         count3 =  
+
  |         amount3 =  
 
  |        product4 =  
 
  |        product4 =  
  |         count4 =  
+
  |         amount4 =  
 
</noinclude>
 
</noinclude>
  | rowspan="{{#if: {{{product4|}}}{{{count4|}}} | 4 | {{#if: {{{product3|}}}{{{count3|}}} | 3 | {{#if: {{{product2|}}}{{{count2|}}} | 2 | 1 |}} |}} |}}" style="width: 1%; background: #F9F9F9;" | [[File:{{#if: {{{ingredientimage|}}} | {{{ingredientimage|}}} |}} Item_{{{ingredient|}}}.png|center|link={{{ingredient|}}}]]
+
  | rowspan="{{#if: {{{product4|}}}{{{amount4|}}} | 4 | {{#if: {{{product3|}}}{{{amount3|}}} | 3 | {{#if: {{{product2|}}}{{{amount2|}}} | 2 | 1 |}} |}} |}}" style="width: 1%; background: #F9F9F9;" | [[File:{{#if: {{{ingredientimage|}}} | {{{ingredientimage|}}} |}} Item_{{{ingredient|}}}.png|center|link={{{ingredient|}}}]]
  | rowspan="{{#if: {{{product4|}}}{{{count4|}}} | 4 | {{#if: {{{product3|}}}{{{count3|}}} | 3 | {{#if: {{{product2|}}}{{{count2|}}} | 2 | 1 |}} |}} |}}" style="font-weight: bold;" | {{#if: {{{ingredientname|}}} | [[{{{ingredient|}}}|{{{ingredientname|}}}]] | [[{{{ingredient|}}}]]}}
+
  | rowspan="{{#if: {{{product4|}}}{{{amount4|}}} | 4 | {{#if: {{{product3|}}}{{{amount3|}}} | 3 | {{#if: {{{product2|}}}{{{amount2|}}} | 2 | 1 |}} |}} |}}" style="font-weight: bold;" | {{#if: {{{ingredientname|}}} | [[{{{ingredient|}}}|{{{ingredientname|}}}]] | [[{{{ingredient|}}}]]}}
  | rowspan="{{#if: {{{product4|}}}{{{count4|}}} | 4 | {{#if: {{{product3|}}}{{{count3|}}} | 3 | {{#if: {{{product2|}}}{{{count2|}}} | 2 | 1 |}} |}} |}}" style="width: 1%; background: #F9F9F9;" | [[File:Icon_Arrow_Right.png|link=]]
+
  | rowspan="{{#if: {{{product4|}}}{{{amount4|}}} | 4 | {{#if: {{{product3|}}}{{{amount3|}}} | 3 | {{#if: {{{product2|}}}{{{amount2|}}} | 2 | 1 |}} |}} |}}" style="width: 1%; background: #F9F9F9;" | [[File:Icon_Arrow_Right.png|link=]]
  | rowspan="{{#if: {{{product4|}}}{{{count4|}}} | 4 | {{#if: {{{product3|}}}{{{count3|}}} | 3 | {{#if: {{{product2|}}}{{{count2|}}} | 2 | 1 |}} |}} |}}" style="text-align: center; background: #F9F9F9;" | {{#ifeq: {{{process|}}} | automatic | automatic | [[Skills|{{{process|}}}]]}}
+
  | rowspan="{{#if: {{{product4|}}}{{{amount4|}}} | 4 | {{#if: {{{product3|}}}{{{amount3|}}} | 3 | {{#if: {{{product2|}}}{{{amount2|}}} | 2 | 1 |}} |}} |}}" style="text-align: center; background: #F9F9F9;" | {{#if: {{{skill|}}} | [[Skills|{{{skill|}}}]] | automatic}}
  | rowspan="{{#if: {{{product4|}}}{{{count4|}}} | 4 | {{#if: {{{product3|}}}{{{count3|}}} | 3 | {{#if: {{{product2|}}}{{{count2|}}} | 2 | 1 |}} |}} |}}" style="width: 1%; background: #F9F9F9;" | [[File:Icon_Arrow_Right.png|link=]]
+
  | rowspan="{{#if: {{{product4|}}}{{{amount4|}}} | 4 | {{#if: {{{product3|}}}{{{amount3|}}} | 3 | {{#if: {{{product2|}}}{{{amount2|}}} | 2 | 1 |}} |}} |}}" style="width: 1%; background: #F9F9F9;" | [[File:Icon_Arrow_Right.png|link=]]
 
  | style="width: 1%; background: #F9F9F9;" | [[File:Item_{{{product1|}}}.png|30px]]
 
  | style="width: 1%; background: #F9F9F9;" | [[File:Item_{{{product1|}}}.png|30px]]
  | style="width: 1%; background: #F9F9F9;" | {{{count1|}}}
+
  | style="width: 1%; background: #F9F9F9;" | {{{amount1|}}}
 
  | [[{{{product1|}}}]]
 
  | [[{{{product1|}}}]]
 
  |-
 
  |-
  {{#if: {{{product2|}}}{{{count2|}}} |
+
  {{#if: {{{product2|}}}{{{amount2|}}} |
 
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{product2|}}}.png|30px]]
 
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{product2|}}}.png|30px]]
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{count2|}}}
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{amount2|}}}
 
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{product2|}}}]]
 
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{product2|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}
  {{#if: {{{product3|}}}{{{count3|}}} |
+
  {{#if: {{{product3|}}}{{{amount3|}}} |
 
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{product3|}}}.png|30px]]
 
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{product3|}}}.png|30px]]
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{count3|}}}
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{amount3|}}}
 
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{product3|}}}]]
 
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{product3|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}
  {{#if: {{{product4|}}}{{{count4|}}} |
+
  {{#if: {{{product4|}}}{{{amount4|}}} |
 
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{product4|}}}.png|30px]]
 
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{product4|}}}.png|30px]]
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{count4|}}}
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{amount4|}}}
 
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{product4|}}}]]
 
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{product4|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}

Latest revision as of 20:15, 26 April 2025

> Template:Recipe List Row Recycle/doc

> Template:Recipe List Row Recycle/version

Styleguide

Changing the template

Parameter

Template

Use this template to copy and paste it onto the page of your liking.

{{In-Game_Desciption
 |         version = 2025.04.25.0
 |
}}

Exemplary presentation

|      ingredient = 
| ingredientimage = 
|  ingredientname = 
|           skill = 
|        product1 = 
|         amount1 = 
|        product2 = 
|         amount2 = 
|        product3 = 
|         amount3 = 
|        product4 = 
|         amount4 = 

| rowspan="1" style="width: 1%; background: #F9F9F9;" |

| rowspan="1" style="font-weight: bold;" | [[]]
| rowspan="1" style="width: 1%; background: #F9F9F9;" | Icon Arrow Right.png
| rowspan="1" style="text-align: center; background: #F9F9F9;" | automatic
| rowspan="1" style="width: 1%; background: #F9F9F9;" | Icon Arrow Right.png
| style="width: 1%; background: #F9F9F9;" | 30px
| style="width: 1%; background: #F9F9F9;" | 
| [[]]
|-