Difference between revisions of "Template:Infobox item/doc"

From Hgames Wiki
Jump to: navigation, search
m
 
m (1 revision)
 
(No difference)

Latest revision as of 01:59, 3 January 2014

Description
This template is used to create an item infobox.
Syntax
Type {{infobox item}} somewhere, with parameters as shown below.
Sample output
{{infobox item
| name       = Bob's Petal [defaults to pagename]
| image      = Image:Example.jpg
| imagewidth = [defaults to 250]
| caption    = Bob the Flower
| type       = Petal
| effects    = Adds +1 prettiness
| source     = Earth
| buy        = 1 Seed
| sell       = 5 Pollen
}}

Results in...

Bob's Petal
Example.jpg
Bob the Flower
Vital statistics
Type Petal
Effects Adds +1 prettiness
Source Earth
Cost to buy 1 Seed
Cost to sell 5 Pollen