Template:Infobox Item/Basic

From Sheltered 2 Wiki
Jump to navigation Jump to search


All templates only require a single entry for weight and fuel (if any) as they are unaffected by quality. Each template requires different scrap value inputs (explained below)

Template Syntaxes
Variable Quality Item Syntax

Only provide the value for the lowest quality () scrap value of the item. The template will automatically calculate ★★ and ★★★ scrap values for display.

{{Infobox Item/Basic
| ItemName = Item Name
| Image = Image Filename
| Description = Game description for the item
| Tier = Crafting tier of the item (if any)
| Function = Function, special effect or use (if any)
| PreReq = PreRequisite if any (BP = Blueprint F? = Faction related quest - see the BlueprintLock template for examples)
| Weight = Weight / Storage (Number)
| Value = Scrap Value (Number)
| Fuel = Fuel Value (Number) if it has one. Do not bother including values or 0 or 1 as they will not be displayed.
| Ingredients = 
Qty [[Ingredient Link|Ingredient Name]] {{Icon|Quality1}}'s<br/>
Qty [[Ingredient Link|Ingredient Name]] {{Icon|Quality1}}'s<br/>
}}
Fixed Quality Item Syntax

Provide the fixed quality scrap value of the item. As the item has a fixed quality, the scrap value cannot change.

{{Infobox Item/Basic
| ItemName = Item Name
| Image = Image Filename
| Description = Game description for the item
| Function = Function, special effect or use (if any)
| PreReq = PreRequisite if any (BP = Blueprint F? = Faction related quest - see the BlueprintLock template for examples)
| Quality = The fixed ★ quality of this item. ONLY use this if the item doesn't have a variable quality.
| Weight = Weight / Storage (Number)
| Value = Scrap Value (Number)
| Fuel = Fuel Value (Number) if it has one. Do not bother including values or 0 or 1 as they will not be displayed.
| Ingredients = 
Qty [[Ingredient Link|Ingredient Name]] {{Icon|Quality1}}'s<br/>
Qty [[Ingredient Link|Ingredient Name]] {{Icon|Quality1}}'s<br/>
}}
Template Output Examples
Varied Quality


Fixed Quality


Template Output Call Examples
Varied Quality
{{Infobox Item/Basic
| ItemName = Metal
| Image = ItemMaterialsMetal.webp
| Description = A material created from refining metal ore. Durable and a good conductor of both heat and electricity.
| Tier = 1
| Function = [[Crafting]] ingredient
| Weight = 3
| Value = 3
| Ingredients = 20x [[Materials/Metal Shavings|Metal Shavings]] {{Icon|Quality1}}
}}
Fixed Quality
{{Infobox Item/Basic
| ItemName = Gold Nugget
| Image = ItemValuablesGoldNugget.webp
| Description = An ingot of pure gold. <br />Highly valued.
| Tier = 1
| Function = [[Trading|Trading]] Commodity
| Quality = 3
| Weight = 10
| Value = 500
| Ingredients = 10x [[Valuables/Gold Scrap|Gold Scrap]] {{Icon|Quality3}}
}}
Template Data

Basic infobox for all general crafting items/materials, supports fixed quality or variable quality - Only provides ingredients and basic information (with link to advanced infobox)

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ItemNameItemName

Name of the item

Default
Unnamed Item
Example
Bone
Stringrequired
ImageImage

Image file for the item

Default
ItemMaterialsBone.webp
Example
ItemMaterialsBone.webp
Filesuggested
ImageCaptionImageCaption

Image caption (if any)

Stringoptional
DescriptionDescription

In-game description for the item

Default
Someone forgot to fill the description.
Example
This item is used to do things with stuff
Stringsuggested
FunctionFunction

Special effect or use of the item, or other special note (if any)

Default
None
Stringsuggested
PreReqPreReq

Prerequisite for unlocking the object

Default
None
Stringsuggested
QualityQuality

The fixed quality of the item (NOTE: DO NOT USE this if the item has a variable quality)

Default
0
Example
1, 2, or 3
Numbersuggested
WeightWeight

Weight of the item

Default
0
Example
2, 4, 300 etc
Numberrequired
ValueValue

★ value of this item

Default
0
Example
1, 10, 100 etc
Numbersuggested
FuelFuel

Fuel value of this item (if it has one). Values less than or equal to 1 will not be displayed

Default
0
Example
2, 5, 25 etc
Numbersuggested
IngredientsIngredients

List of items used to craft this

Default
Nothing
Stringsuggested