Difference between revisions of "Template:Infobox item"

From Tycoon Gaming
m (Damn you mediawiki stop rendering functions)
m (Reverted edits by Donald (talk) to last revision by BelgianCat)
Tag: Rollback
 
Line 17: Line 17:
 
         <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>
</infobox>
+
</infobox><includeonly>[[Category:Items]]</includeonly><noinclude>{{Documentation}}</noinclude>
<includeonly>
 
{{#if:{{NAMESPACE}}|{{#if:{{#pos:{{PAGENAME}}|:}}|[[Category:{{#explode:{{PAGENAME}}|:|1|2}}:Items]]|[[Category:Items]]}}|{{#if:{{#pos:{{PAGENAME}}|:}}|[[Category:{{#explode:{{PAGENAME}}|:|1|2}}:Items]]|[[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
}}