Difference between revisions of "Template:ItemInfobox"

From Raft Wiki
Jump to: navigation, search
m (test)
m
 
(3 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
{{Infobox
 
{{Infobox
 
|name = {{{name|{{PAGENAME}}}}}
 
|name = {{{name|{{PAGENAME}}}}}
|image = {{{image|}}}
+
|image = {{#if: {{{image|}}} |{{{image}}} |{{#ifexist: File:{{PAGENAME}}.png|{{PAGENAME}}.png|}}}}
|desc = {{{desc|}}}
+
|desc = {{{desc|}}}
 
|component1name = {{{component1name|}}}
 
|component1name = {{{component1name|}}}
 
|component1amount = {{{component1amount|}}}
 
|component1amount = {{{component1amount|}}}
Line 40: Line 40:
 
|title3 = Damage
 
|title3 = Damage
 
|data3 = {{{damage|}}}
 
|data3 = {{{damage|}}}
|title4 = <span title="This indicates how much items can be in 1 stack">Stacksize</span>
+
|title4 = <span title="This indicates how many items can be in an one stack">Stacksize</span>
|data4 = {{{stack|a}}}
+
|data4 = {{{stack|}}}
 
|title5 = [[Cook Time]]
 
|title5 = [[Cook Time]]
 
|data5 = {{#if: {{{cooktime|}}}| {{{cooktime}}} Seconds}}
 
|data5 = {{#if: {{{cooktime|}}}| {{{cooktime}}} Seconds}}

Latest revision as of 17:41, 5 May 2021

This template adds rows to the table "ItemData", which is declared by the template Cargo-Items. View table.

ItemInfobox