Template:Infobox item/doc
From Growtopia
Jump to navigationJump to search
Description
To use this template, copy the following code and fill in the appropriate fields.
Syntax
{{infobox item
| title =
| image = [e.g. "Example.jpg"]
| imagewidth = [e.g. "150"] [default: 210 pixels]
| imagecaption =
| type =
| effects =
| source =
| buy =
| sell =
}}
Samples
{{infobox item
| title = Power Flower
| image = Example.jpg
| type = Food
| effects = +1 Fire
| source = Vendor
| buy = 5g
| sell = 1g
}}
Results in...
<infobox> <title source="title"><default>Unknown</default></title> <image source="image"/> <label>imagecaption</label> <label>type</label><default>Unknown</default> <label>effects</label><default>Unknown</default> <label>source</label><default>Unknown</default> <label>buy</label><default>Unknown</default> <label>sell</label><default>Unknown</default> </infobox>