Difference between revisions of "Template:ItemInfobox"

From Raft Wiki
Jump to: navigation, search
m (when you forget to revert your experiments)
Line 22: Line 22:
 
{{Infobox
 
{{Infobox
 
|name = {{{name|{{PAGENAME}}}}}
 
|name = {{{name|{{PAGENAME}}}}}
|image = {{{image|}}}
+
|image = {{#if: {{{image|}}} |{{{image}}} |{{#ifexist: {{PAGENAME}}.png|{{PAGENAME}}.png|}}}}
 
|desc = {{{desc|}}}
 
|desc = {{{desc|}}}
 
|component1name = {{{component1name|}}}
 
|component1name = {{{component1name|}}}

Revision as of 17:37, 5 May 2021

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

ItemInfobox