Template:Item

From RLCraft Wiki
Jump to navigation Jump to search


Description

To use this template, add the {{Item}} template and fill in the appropriate fields. Fields left blank will not appear in articles. This infobox template uses Fandom's infobox syntax.

Categories

When an article uses this template it will automatically get assigned the category Items. If the renewable parameter is Yes then the article will also get assigned the Renewable resources category. If the type parameter is not empty the page will also get assigned the category of that name where only the first letter is uppercase.

Syntax

{{Item
 | title         =
 | image         =
 | imagecaption  = 
 | mod           =
 | type          = 
 | requirements  = 
 | durability    = 
 | renewable     = 
 | stackable     = 
 | experience    = 
 | nameid        = 
}}

Example



{{Item
 | title         = Sin Pendant
 | image         = Sin_Pendant.png
 | imagecaption  = An empty sin pendant
 | mod           = [[Bountiful Baubles]]
 | type          = Baubles Equipable
 | requirements  = 
 | durability    = 
 | renewable     = No
 | stackable     = No
 | experience    = 
 | nameid        = bountifulbaubles:amuletsinempty
}}

Parameters

Parameter Function Default/Example value
title Optional different title instead of the page name {{BASEPAGENAME}}
image Image of the item. Optional, as items' pictures ought to be uploaded with the default format {{BASEPAGENAME}}.png
imagecaption Optional: image caption None
mod The mod from which the item is. Should be linked Example: [[Bountiful Baubles]]
type Type (Weapon, Ranged weapon, Manufactured item, Tool, Baubles equipable, etc. ) None
requirements What skill requirements there are to use this item Example: [[Skills#Proficiency_Skills|Magic]]: 16
durability How durable the item is Example: 1561
renewable Whether the item is renewable None
stackable Stackable Example: 64
experience How to obtain experience from this item, and how much None
nameid The item's named identifier. Can be found, e.g., in JEI. Example: bountifulbaubles:amuletsinempty