Difference between revisions of "Template:Infobox item"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table class="infobox"> | + | <onlyinclude><table class="infobox"> |
{{ Infobox default title | {{{title|}}} }} | {{ Infobox default title | {{{title|}}} }} | ||
Line 6: | Line 6: | ||
{{ Infobox conditional data | Type |{{{type|}}} }} | {{ Infobox conditional data | Type |{{{type|}}} }} | ||
− | {{ Infobox conditional | + | {{ Infobox conditional data | Effects |{{{effects|}}} }} |
{{ Infobox conditional data | Source |{{{source|}}} }} | {{ Infobox conditional data | Source |{{{source|}}} }} | ||
{{ Infobox conditional data | Cost to buy |{{{buy|}}} }} | {{ Infobox conditional data | Cost to buy |{{{buy|}}} }} | ||
{{ Infobox conditional data | Cost to sell |{{{sell|}}} }} | {{ Infobox conditional data | Cost to sell |{{{sell|}}} }} | ||
− | </ | + | </table></onlyinclude><noinclude><br style="clear:both;"/> |
− | {{documentation}}</noinclude> | + | {{documentation}}[[Category:Templates]]</noinclude> |
Latest revision as of 00:25, 4 March 2019
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...
Power Flower | |
---|---|
Type | Food |
Effects | +1 Fire |
Source | Vendor |
Cost to buy | 5g |
Cost to sell | 1g |