Raft Wiki
(Added "raw" paremeter.)
mNo edit summary
Line 55: Line 55:
 
{{#if: {{{portions|}}} | {{!}} width=80 {{!}} <div>'''[[Portions]]'''</div> {{!!}} {{{portions}}}}}
 
{{#if: {{{portions|}}} | {{!}} width=80 {{!}} <div>'''[[Portions]]'''</div> {{!!}} {{{portions}}}}}
 
|- valign="top"
 
|- valign="top"
{{#if: {{{raw|}}} | {{!}} width=80 {{!}} <div>'''[[Hunger#Raw_Foods]]'''</div> {{!!}} {{{raw}}}}}
+
{{#if: {{{raw|}}} | {{!}} width=80 {{!}} <div>'''[[Hunger#Raw_Foods|Raw]]'''</div> {{!!}} {{{raw}}}}}
 
|- valign="top"
 
|- valign="top"
 
{{#if: {{{hunger|}}} | {{!}} width=80 {{!}} <div>'''[[Hunger]]'''</div> {{!!}} +{{{hunger}}}}}
 
{{#if: {{{hunger|}}} | {{!}} width=80 {{!}} <div>'''[[Hunger]]'''</div> {{!!}} +{{{hunger}}}}}

Revision as of 10:11, 4 January 2021

Error: The specified table, "RaftData", does not exist.
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