Template:Infobox item/doc: Difference between revisions
Jump to navigation
Jump to search
>Default m (Protected "Template:Infobox item/doc" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
>Default No edit summary |
||
| Line 42: | Line 42: | ||
}} | }} | ||
<includeonly>[[Category: | <includeonly>[[Category:Templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | ||
Revision as of 20:46, 26 May 2015
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...
| {{{name}}} | |
|---|---|
| 100px {{{caption}}} | |
| Vital statistics | |
| Type | Food |
| Effects | +1 Fire |
| Source | Vendor |
| Cost to buy | 5g |
| Cost to sell | 1g |