Template:ItemInfobox

From Raft Wiki
Jump to: navigation, search

This template adds rows to the table "RaftData", which is declared by the template RaftItemData. View table.

No image yet {{{name}}}

Information icon.png Documentation View [Edit] [History] [Purge]


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        =
}}

Example

Sprinkler.png
Sprinkler
Waters your crops automatically. Seems to be missing a battery though.
Requires
Plastic.png
Scrap.png
Bolt.png
Circuit Board.png
Description
Achievements
Small Spender!
Medium Spender!
Big Spender!
Stacksize
5
50 Seconds
90 Seconds
2
Yes
+15
+10
+10
120 Seconds
Type
Food & Water
{{ItemInfobox
| name     = Sprinkler
| image    = Sprinkler.png
| desc      = Waters your crops automatically. Seems to be missing a battery though.
| component1name   = Plastic
| component1amount = 12
| component2name   = Scrap
| component2amount = 2
| component3name   = Bolt
| component3amount = 2
| component4name   = Circuit Board
| component4amount = 1
| achieve   = [[Achievements#Small_Spender.21|Small Spender!]]</br>[[Achievements#Medium_Spender.21|Medium Spender!]]</br>[[Achievements#Big_Spender.21|Big Spender!]]
| stack     = 5
| cooktime  = 50
| smelttime = 90
| burntime  = 120
| portions     = 2
| raw          = Yes
| hunger       = 15
| bonus        = 10
| thirst       = 10
| type      = Food & Water
}}

The above was transcluded from Template:ItemInfobox/doc