Difference between revisions of "Template:Recipe List Row"

From Space Haven Wiki
Jump to navigation Jump to search
 
(3 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>
 
  | type = <!-- "producing" or "recycling" -->
 
  | type = <!-- "producing" or "recycling" -->
Line 15: Line 20:
 
  | itemcountright4 =
 
  | itemcountright4 =
 
</noinclude>
 
</noinclude>
  | rowspan="{{{rows|}}}" style="width: 1%;" | [[File:{{#if: {{{alternativeimage|}}} | {{{alternativeimage|}}} |}} Item_{{{itemleft|}}}.png|center|link={{{itemleft|}}}]]
+
  | rowspan="{{{rows|}}}" style="width: 1%; background: #F9F9F9;" | [[File:{{#if: {{{alternativeimage|}}} | {{{alternativeimage|}}} |}} Item_{{{itemleft|}}}.png|center|link={{{itemleft|}}}]]
 
  | rowspan="{{{rows|}}}" style="font-weight: bold;" | {{#if: {{{alternativename|}}} | [[{{{itemleft|}}}|{{{alternativename|}}}]] | [[{{{itemleft|}}}]]}}
 
  | rowspan="{{{rows|}}}" style="font-weight: bold;" | {{#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%; background: #F9F9F9;" | {{#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; background: #F9F9F9;" | {{#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%; background: #F9F9F9;" | {{#ifeq: {{{type|}}} | produce | [[File:Icon_Arrow_Left.png|link=]] | [[File:Icon_Arrow_Right.png|link=]]}}
  | style="width: 1%;" | [[File:Item_{{{itemright1|}}}.png|30px]]
+
  | style="width: 1%; background: #F9F9F9;" | [[File:Item_{{{itemright1|}}}.png|30px]]
  | style="width: 1%;" | {{{itemcountright1|}}}
+
  | style="width: 1%; background: #F9F9F9;" | {{{itemcountright1|}}}
 
  | [[{{{itemright1|}}}]]
 
  | [[{{{itemright1|}}}]]
 
  |-
 
  |-
 
  {{#if: {{{itemright2|}}}{{{itemcountright2|}}} |
 
  {{#if: {{{itemright2|}}}{{{itemcountright2|}}} |
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{itemright2|}}}.png|30px]]
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{itemright2|}}}.png|30px]]
  {{!}} style="width: 1%;" {{!}} {{{itemcountright2|}}}
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{itemcountright2|}}}
  {{!}} [[{{{itemright2|}}}]]
+
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{itemright2|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}
 
  {{#if: {{{itemright3|}}}{{{itemcountright3|}}} |
 
  {{#if: {{{itemright3|}}}{{{itemcountright3|}}} |
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{itemright3|}}}.png|30px]]
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{itemright3|}}}.png|30px]]
  {{!}} style="width: 1%;" {{!}} {{{itemcountright3|}}}
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{itemcountright3|}}}
  {{!}} [[{{{itemright3|}}}]]
+
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{itemright3|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}
 
  {{#if: {{{itemright4|}}}{{{itemcountright4|}}} |
 
  {{#if: {{{itemright4|}}}{{{itemcountright4|}}} |
  {{!}} style="width: 1%;" {{!}} [[File:Item_{{{itemright4|}}}.png|30px]]
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} [[File:Item_{{{itemright4|}}}.png|30px]]
  {{!}} style="width: 1%;" {{!}} {{{itemcountright4|}}}
+
  {{!}} style="width: 1%; background: #F9F9F9;" {{!}} {{{itemcountright4|}}}
  {{!}} [[{{{itemright4|}}}]]
+
  {{!}} style="background: #F9F9F9;" {{!}} [[{{{itemright4|}}}]]
 
  {{!}}- |}}
 
  {{!}}- |}}

Latest revision as of 20:15, 26 April 2025

> Template:Recipe List Row/doc

> Template:Recipe List 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

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

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

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