Difference between revisions of "Template:Infobox item"

From Tycoon Gaming
m (added date sources for vehicle stats)
m (+next/prev vehicles data sources)
Line 19: Line 19:
 
         <data source="durability"><label>Durability</label></data>
 
         <data source="durability"><label>Durability</label></data>
 
         <data source="engine"><label>Engine</label></data>
 
         <data source="engine"><label>Engine</label></data>
 +
        <data source="nextcar"><label>Next Vehicle</label></data>
 +
        <data source="previouscar"><label>Previous Vehicle</label></data>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 01:20, 31 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
}}