Difference between revisions of "Template:Infobox item"

From Tycoon Gaming
m (+requirements in `infobox item` template)
m (added date sources for vehicle stats)
Line 16: Line 16:
 
         <data source="exportlocation"><label>Export at</label></data>
 
         <data source="exportlocation"><label>Export at</label></data>
 
         <data source="requires"><label>Requirements</label></data>
 
         <data source="requires"><label>Requirements</label></data>
 +
        <data source="class"><label>Class</label></data>
 +
        <data source="durability"><label>Durability</label></data>
 +
        <data source="engine"><label>Engine</label></data>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 22:38, 28 December 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
}}