Raft Wiki
(attaching to new Cargo Table, exclusively for Items. Today, no changes to normal code)
No edit summary
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
{{#cargo_attach:
 
{{#cargo_attach:
_table = ItemData/de
+
_table = ItemData
 
}}</noinclude><includeonly>{{#cargo_store:
 
}}</noinclude><includeonly>{{#cargo_store:
_table = ItemData/de
+
_table = ItemData
 
|ItemName={{{name|{{PAGENAME}}}}}
 
|ItemName={{{name|{{PAGENAME}}}}}
 
|ItemDesc={{{desc|}}}
 
|ItemDesc={{{desc|}}}

Revision as of 15:46, 17 February 2021

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

No image yet {{{name}}}
About the Documentation template Documentation - Template:ItemInfoboxViewEditHistoryPurge

This is just a item infobox with few sample fields

Usage

{{ItemInfobox
| name      = 
| image     = 
| size      = //optional, default is 250x250px
| desc      = 
| component1name   = 
| component1amount =
| component2name   = 
| component2amount =
| component3name   = 
| component3amount =
| component4name   = 
| component4amount =
| component5name   = 
| component5amount =
| achieve     =
| uses        = 
| damage      =
| stack       =
| cooktime    =
| smelttime   =
| burntime    =
| portions    =
| raw         =
| hunger      =
| bonus       =
| thirst      =
| type        =
}}

The above was transcluded from Template:ItemInfobox/doc