Difference between revisions of "Template:Infobox item"

From Tycoon Gaming
m (+ limitations)
m (pickup+craft+export location)
Line 12: Line 12:
 
<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>
 
         <data source="limitations"><label>Limitations</label></data>
 +
        <data source="pickuplocation"><label>Pick up at</label></data>
 +
        <data source="craftlocation"><label>Craft at</label></data>
 +
        <data source="exportlocation"><label>Export at</label></data>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 23:04, 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
}}