Difference between revisions of "Template:Infobox item"

From Tycoon Gaming
m (+ limitations)
Line 11: Line 11:
 
<data source="buy"><label>Cost to buy</label></data>
 
<data source="buy"><label>Cost to buy</label></data>
 
<data source="sell"><label>Cost to sell</label></data>
 
<data source="sell"><label>Cost to sell</label></data>
 +
        <data source="limitations"><label>Limitations</label></data>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:00, 4 April 2023

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
}}