Template:Infobox Junk

From Sheltered 2 Wiki
Jump to navigation Jump to search


Template Syntax
{{Infobox Junk
| ItemName = Item Name
| Image = Image Filename
| Description = Game description for the item
| Weight = Weight / Storage (Number)
| Value = Scrap Value (Number)
| Locations = 
[[Location Link|Location Name]]<br/>
[[Location Link|Location Name]]<br/>
| RecycleWorkbench = 
1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s<br/>
1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality1}}'s
| RecycleMakeshift = 
1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s<br/>
1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality2}}'s
| RecycleRecycler = 
1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s<br/>
1x [[Materials | Placeholder Materials]] {{Icon|Type=Quality3}}'s
}}
Template output example


Template call example
{{Infobox Junk
| ItemName = Broken Laptop
| Image = ItemJunkBrokenLaptop.webp
| Description = This laptop has seen better days. Don't think the guys down at PC Planet will be fixing it anytime soon.
| Function = Junk item<br />
<br />
Can be [[Recycling|recycled]]
| Weight = 4
| Value = 20.0
| Locations = [[Apartment]]<br />
[[Car Park]]<br />
[[Factory]]<br />
[[Outpost]]<br />
[[Park]]<br />
[[Petrol Station]]<br />
[[Scrapyard]]
| Sources = 
| RecycleWorkbench = 3x [[Transistor]] {{Icon|Quality1}}<br>
1x [[Circuit Board]] {{Icon|Quality1}}<br>
| RecycleMakeshift = 6x [[Transistor]] {{Icon|Quality1}}<br>
3x [[Circuit Board]] {{Icon|Quality1}}<br>
3x [[Wiring]] {{Icon|Quality1}}<br>
| RecycleRecycler = 6x [[Transistor]] {{Icon|Quality2}}<br>
3x [[Circuit Board]] {{Icon|Quality2}}<br>
6x [[Wiring]] {{Icon|Quality2}}<br>
6x [[Battery]] {{Icon|Quality2}}<br>
3x [[Hinge]] {{Icon|Quality2}}<br>
}}
Template Data

Infobox for all junk items as they are only recyclable and have no other use or quality.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ItemNameItemName

Name of the junk item

Default
Unnamed Item
Example
Broken Laptop
Stringrequired
ImageImage

Image file for the item

Default
ItemJunkBrokenLaptop.webp
Example
ItemJunkBrokenLaptop.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
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
LocationsLocations

List of locations the item can be found at

Default
Nothing
Stringsuggested
SourcesSources

List of other sources the item can be found at

Default
Nothing
Stringsuggested
RecycleWorkbenchRecycleWorkbench

List of what this item will recycle into using a workbench

Default
Nothing
Stringsuggested
RecycleMakeshiftRecycleMakeshift

List of what this item will recycle into using a makeshift recycler

Default
Nothing
Stringsuggested
RecycleRecyclerRecycleRecycler

List of what this item will recycle into using a recycler

Default
Nothing
Stringsuggested