1. Template
  2. Infobox item/doc
Printable Version

https://www.forum.werealive.com/wiki_index.php?title=Template:Infobox-item-doc
This page can be used as a building block in other pages.

This page has been seen 8 times.

;Description
[indent]This template is used to create an item infobox.[/indent];Syntax
[indent]Type <code>[template]t|infobox item|...[/template]</code> somewhere, with parameters as shown below.[/indent];Sample output

[code]{{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
}}[/code]Results in...

[template]infobox item
| name = Bob's Petal
| image = Image:Example.jpg
| caption = Bob the Flower
| type = Petal
| effects = Adds +1 prettiness
| source = Earth
| buy = 1 Seed
| sell = 5 Pollen
[/template]

[includeonly][category]Infobox templates|[var]PAGENAME[/var[/category]][/includeonly][noinclude][category]Template documentation|[var]PAGENAME[/var[/category]][/noinclude]