From Dark and Darker Wiki
m (Made iconbox size dynamic. Varies by Inventory Slot Size.) |
(Trying to compress some images causes issues.) |
||
Line 3: | Line 3: | ||
|name ={{{1}}} | |name ={{{1}}} | ||
|image ={{{1}}} | |image ={{{1}}} | ||
|size={{IconboxInventorySize|Utility Data|{{{1}}}}} | |size={{#if:{{#pos:{{#vardefineecho:size|{{IconboxInventorySize|Utility Data|{{{1}}}}}}}|45x45}}|60px|{{#var:size}}}} | ||
|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}} | ||
Line 21: | Line 21: | ||
{{GenerateUtilityInfobox|Campfire Kit}} | {{GenerateUtilityInfobox|Campfire Kit}} | ||
{{GenerateUtilityInfobox|Pickaxe}} | {{GenerateUtilityInfobox|Pickaxe}} | ||
{{GenerateUtilityInfobox| | {{GenerateUtilityInfobox|Mystical Gem}} | ||
</table> | </table> | ||
</noinclude> | </noinclude> |
Revision as of 04:26, 28 March 2024
Auto creates Utility infobox
Example
{{GenerateUtilityInfobox|Campfire Kit}} {{GenerateUtilityInfobox|Pickaxe}} {{GenerateUtilityInfobox|Lantern}}