From Dark and Darker Wiki

mNo edit summary
m (Changing Template to use calls that work with Misc Data.)
Line 3: Line 3:
|name ={{{1}}}
|name ={{{1}}}
|image ={{{1}}}
|image ={{{1}}}
|rarity ={{{2|{{#explode:{{Item Data|Misc|{{{1}}}|rarities}}|,|-1}}}}}
|rarity ={{{2|{{#explode:{{Misc Data|{{{1}}}|rarities}}|,|-1}}}}}
|type ={{Item Data|Misc|{{{1}}}|types|all}}
|type ={{Misc Data|{{{1}}}|types|all}}
|description ={{Item Data|Misc|{{{1}}}|flavortext}}
|description={{Misc Data|{{{1}}}|flavortext}}
|invslots ={{Item Data|Misc|{{{1}}}|invslots}}
|invslots ={{Misc Data|{{{1}}}|invslots}}
|stacksize ={{Item Data|Misc|{{{1}}}|maxcount}}
|stacksize ={{Misc Data|{{{1}}}|maxcount}}
|nomargin =1
|nomargin =1
|nofloat =1
|nofloat =1
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Auto creates Accessory infobox
Auto creates Accessory infobox

Revision as of 00:53, 19 March 2024

Auto creates Accessory infobox

Example

{{GenerateMiscInfobox|Gold Ore}}
{{GenerateMiscInfobox|Candy Cane}}
{{GenerateMiscInfobox|bolt}}
Gold Ore.png
Type:
Ore
2x2InvSlot.jpg
Stack Size:
5
A dirty chunk of rock containing traces of gleaming gold.
Candy Cane.png
Type:
Currency
1x1InvSlot.jpg
Stack Size:
10
The magic of the season is wrapped within every peppermint twist of these candy canes. They're not just a treat for the taste buds but a treasure trove of winter delight and unexpected value.
Bolt.png
Type:
Ammo,Bolt
1x2InvSlot.jpg
Stack Size:
15
A bolt dedicated to crossbows that is sharp enough to pierce opponents.