From Dark and Darker Wiki

m (Changing Template to use calls that work with Utility Data.)
m (Made iconbox size dynamic. Varies by Inventory Slot Size.)
Line 3: Line 3:
|name ={{{1}}}
|name ={{{1}}}
|image ={{{1}}}
|image ={{{1}}}
|size={{IconboxInventorySize|Utility Data|{{{1}}}}}
|rarity ={{{2|{{#explode:{{Utility Data|{{{1}}}|rarities}}|,|-1}}}}}
|rarity ={{{2|{{#explode:{{Utility Data|{{{1}}}|rarities}}|,|-1}}}}}
|type ={{Utility Data|{{{1}}}|types|all}}
|type ={{Utility Data|{{{1}}}|types|all}}

Revision as of 15:14, 23 March 2024

Auto creates Utility infobox

Example

{{GenerateUtilityInfobox|Campfire Kit}}
{{GenerateUtilityInfobox|Pickaxe}}
{{GenerateUtilityInfobox|Lantern}}
Campfire Kit.png
Type:
Installable,CampfireKit
2x2InvSlot.jpg
Stack Size:
1
A crackling campfire that you can rest near and recover.
Pickaxe.png
Type:
Mining
2x3InvSlot.jpg
Stack Size:
1
A trusty iron pickaxe that can chip away at most ore.
Lantern.png
Type:
LightSource
2x2InvSlot.jpg
Stack Size:
1
A lantern useful for lighting up the darkness.