Difference between revisions of "Template:Recipe Row"

From Space Haven Wiki
Jump to navigation Jump to search
 
(17 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>
 
  |    product = <!-- Item which is produced -->
 
  |    product = <!-- Item which is produced -->
 
  |      skill = <!-- Skill & Skilllevel needed -->
 
  |      skill = <!-- Skill & Skilllevel needed -->
 +
|    category = <!-- Category of product -->
 
  |        rows = <!-- Number of different ingredients -->
 
  |        rows = <!-- Number of different ingredients -->
 
  | ingredient1 = <!-- Ingredient 1 -->
 
  | ingredient1 = <!-- Ingredient 1 -->
Line 9: Line 15:
 
  | 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|}}}]]'''
 
  | rowspan="{{{rows|}}}" | '''[[{{{product|}}}]]'''
  | rowspan="{{{rows|}}}" | [[Skills|{{{skill|}}}]]
+
  {{#if: {{{category|}}} |
 +
  {{!}} rowspan="{{{rows|}}}" {{!}} [[{{{category|}}}]]
 +
|}}
 +
{{#if: {{{skill|}}} |
 +
  {{!}} rowspan="{{{rows|}}}" {{!}} [[Skills|{{{skill|}}}]]
 +
|}}
 
  | style="width: 1%" | [[File:Item_{{{ingredient1|}}}.png|30px|link={{{ingredient1|}}}]]
 
  | style="width: 1%" | [[File:Item_{{{ingredient1|}}}.png|30px|link={{{ingredient1|}}}]]
 
  | style="width: 1%" | {{{amount1|}}}
 
  | style="width: 1%" | {{{amount1|}}}
 
  | [[{{{ingredient1|}}}]]
 
  | [[{{{ingredient1|}}}]]
 +
|-
 
  {{#if: {{{ingredient2|}}}{{{amount2|}}} |
 
  {{#if: {{{ingredient2|}}}{{{amount2|}}} |
  {{!}}-
 
 
   {{!}} style="width: 1%" {{!}} [[File:Item_{{{ingredient2|}}}.png|30px|link={{{ingredient2|}}}]]
 
   {{!}} style="width: 1%" {{!}} [[File:Item_{{{ingredient2|}}}.png|30px|link={{{ingredient2|}}}]]
 
   {{!}} style="width: 1%" {{!}} {{{amount2|}}}
 
   {{!}} style="width: 1%" {{!}} {{{amount2|}}}
 
   {{!}} [[{{{ingredient2|}}}]]
 
   {{!}} [[{{{ingredient2|}}}]]
 +
  {{!}}-
 
  |}}
 
  |}}
 
  {{#if: {{{ingredient3|}}}{{{amount3|}}} |
 
  {{#if: {{{ingredient3|}}}{{{amount3|}}} |
  {{!}}-
 
 
   {{!}} style="width: 1%" {{!}} [[File:Item_{{{ingredient3|}}}.png|30px|link={{{ingredient3|}}}]]
 
   {{!}} style="width: 1%" {{!}} [[File:Item_{{{ingredient3|}}}.png|30px|link={{{ingredient3|}}}]]
 
   {{!}} 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 20:15, 26 April 2025

> Template:Recipe Row/doc

> Template:Recipe Row/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

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


| rowspan="" |

| rowspan="" | [[]]


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