Template:Item Infobox

Revision as of 15:26, 24 November 2025 by Eleiyas (talk | contribs) (Created page with "<includeonly><!-- --><infobox> <title source="name"> <format>{{#if:{{{number|}}}|<span class="number">{{{number}}} </span>}}{{{name|{{PAGENAME}}}}}</format> </title> <image source="image"> </image> <group layout="horizontal"> <data source="category"> <label>Category</label> <format>[[{{{category}}}]]</format> </data> <data source="type"> <label>Type</label> <format>[[{{{type}}}]]</format> </data> </group> <data sou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
Note: parts of or the entire template might not be visible without values provided.
This template uses Module:Infobox, a script written in Lua.
This template uses CSS found at MediaWiki:Gadget-Infobox.css.

Template that creates an infobox for Items.

Syntax

{{Item Infobox
|name        = 
|category    = 
|type        = 
|quality     = 
|sell        = 
|description = 
|source      = 
}}
  • name – Name of the item.
  • category – Category of the item.
  • type – Type of the item.
  • quality – Quality of the item.
  • sell – Selling price of the item.
  • description – Description of the item.
  • source – Source(s) of the item as a semicolon separated list.

Other parameters

  • image – Override the default image with a single file. Default: name Icon.png.
  • images – Override the default image with multiple files and tabs.
    • Format: Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name; ... ; Image N.ext:Tab N name.

Example

{{Item Infobox
|name        = Wildgrass
|category    = Materials
|type        = Wildgrass
|quality     = Gray
|sell        = 1
|description = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|source      = Example
}}

<infobox>

 <title source="name">
 	<format>Wildgrass</format>
 </title>
 <image source="image">
 </image>
 <group layout="horizontal">
   
     <label>Category</label>
     <format>Materials</format>
   
   
     <label>Type</label>
     <format>Wildgrass</format>
   
 </group>
 
   <label>Quality</label>
   <format>Gray</format>
 
 
    <label>Size</label>
    <format>{{{size}}}</format>
 
 
   <label>Sell Price</label>
 
 <header>How to Obtain</header>
   <label>Obtain</label>

</infobox>

{{Item Infobox
|name        = Example
|images      = Hexia Meadows Luca Fruit Icon.png:Icon; Hexia Meadows Preview.png:Preview
|category    = Example
|type        = Example
|quality     = Green
|sell        = 100
|description = Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
|source      = Example; Example; Example
}}

<infobox>

 <title source="name">
 	<format>Example</format>
 </title>
 <image source="image">
 </image>
 <group layout="horizontal">
   
     <label>Category</label>
     <format>Example</format>
   
   
     <label>Type</label>
     <format>Example</format>
   
 </group>
 
   <label>Quality</label>
   <format>Green</format>
 
 
    <label>Size</label>
    <format>{{{size}}}</format>
 
 
   <label>Sell Price</label>
 
 <header>How to Obtain</header>
   <label>Obtain</label>

</infobox>

Template Data

Template that creates an infobox for items.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

Name of the item.

Example
Wildgrass
Stringrequired
Numbernumber

Sorting number for the item.

Numbersuggested
Categorycategory

Category of the item.

Example
Materials
Stringsuggested
Typetype

Type of the item.

Example
Grass Color
Stringoptional
Qualityquality

Quality of the item.

Example
Gray, Purple, Gold
Stringsuggested
Selling pricesell price

Selling price of the item.

Example
1, 10, 20
Numberoptional
Descriptiondescription

Description of the item.

Contentsuggested
Sourcesource

Source(s) of the item as a semicolon separated list.

Example
Source 1; Source 2
Contentsuggested
Imageimage

Override the default image with a single file.

Default
<name> Icon.png
Example
Unknown Icon.png
Fileoptional
Imagesimages

Override the default image with multiple files and tabs.

Example
Image 1.ext:Tab 1 name; Image 2.ext:Tab 2 name
Contentoptional