Difference between revisions of "Template:Infobox item"

From Tycoon Gaming
tycoon>FANDOM
m (1 revision: Updates made for portability)
 
m (Reverted edits by Donald (talk) to last revision by BelgianCat)
Tag: Rollback
 
(20 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
<title source="title"/>
 
<title source="title"/>
 
<image source="image"><caption source="imagecaption"/></image>
 
<image source="image"><caption source="imagecaption"/></image>
 +
        <data source ="description"><label>Description</label></data>
 
<data source="type"><label>Type</label></data>
 
<data source="type"><label>Type</label></data>
 +
<data source="job"><label>Job</label></data>
 
<data source="effects"><label>Effects</label></data>
 
<data source="effects"><label>Effects</label></data>
 
<data source="source"><label>Source</label></data>
 
<data source="source"><label>Source</label></data>
 +
<data source="export"><label>Exported at</label></data>
 +
<data source="weight"><label>Weight</label></data>
 +
<data source="value"><label>Value</label></data>
 
<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>
 +
        <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>
 +
        <data source="requires"><label>Requirements</label></data>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
 
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 16:06, 4 May 2024

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