Template:Infobox item

From BBW Wiki
Jump to: navigation, search

<infobox> <title source="title"><default>Unknown</default></title> <image source="image"><caption source="imagecaption"/></image> <label>Type</label><default>Unknown</default> <label>Effects</label><default>Unknown</default> <label>Source</label><default>Unknown</default> <label>Cost to buy</label><default>Unknown</default> <label>Cost to sell</label><default>Unknown</default> </infobox>

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_item/doc to edit this documentation. (How does this work?)

Description

To use this template, copy the following code and fill in the appropriate fields.

Syntax

{{infobox item
 | title         = 
 | image         = [e.g. "Example.jpg"]
 | 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"><caption source="imagecaption"/></image> <label>Type</label><default>Unknown</default> <label>Effects</label><default>Unknown</default> <label>Source</label><default>Unknown</default> <label>Cost to buy</label><default>Unknown</default> <label>Cost to sell</label><default>Unknown</default>

</infobox>