From Dark and Darker Wiki

m (Changing Template to use calls that work with Misc Data.)
(Removed Treasure AP Score)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#vardefine:rarity|{{#explode:{{Misc Data|{{{1|{{PAGENAME}}}}}|rarities}}|,|-1}}}}<!--
-->{{Infobox
-->{{Infobox
|name ={{{1}}}
|name ={{{1|{{PAGENAME}}}}}
|image ={{{1}}}
|image ={{{1|{{PAGENAME}}}}}
|rarity ={{{2|{{#explode:{{Misc Data|{{{1}}}|rarities}}|,|-1}}}}}
|rarity ={{{2|{{#var:rarity}}}}}
|type ={{Misc Data|{{{1}}}|types|all}}
|type ={{Misc Data|{{{1|{{PAGENAME}}}}}|types|all}}
|description={{Misc Data|{{{1}}}|flavortext}}
|description={{Misc Data|{{{1|{{PAGENAME}}}}}|flavortext}}
|invslots ={{Misc Data|{{{1}}}|invslots}}
|invslots ={{Misc Data|{{{1|{{PAGENAME}}}}}|invslots}}
|stacksize ={{Misc Data|{{{1}}}|maxcount}}
|stacksize ={{Misc Data|{{{1|{{PAGENAME}}}}}|maxcount}}
|sellprice  ={{Misc Data|{{{1}}}|SellPrices|{{{2|{{#var:rarity}}}}}}}
|itemachieve={{Misc Data|{{{1}}}|AP|{{{2|{{#var:rarity}}}}}}}
|nomargin =1
|nomargin =1
|nofloat =1
|nofloat =1
Line 16: Line 19:
{{GenerateMiscInfobox|Gold Ore}}
{{GenerateMiscInfobox|Gold Ore}}
{{GenerateMiscInfobox|Candy Cane}}
{{GenerateMiscInfobox|Candy Cane}}
{{GenerateMiscInfobox|bolt}}</pre>
{{GenerateMiscInfobox|Diamond|6}}
{{GenerateMiscInfobox|Token of Honor}}
{{GenerateMiscInfobox|Bolt}}</pre>
<table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width:95%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
<table cellspacing="0" class="wikitable sortable jquery-tablesorter" style="width:95%;color:#eee; background:transparent; text-align:center; vertical-align:middle;">
{{GenerateMiscInfobox|Ancient Scroll}}
{{GenerateMiscInfobox|Gold Ore}}
{{GenerateMiscInfobox|Gold Ore}}
{{GenerateMiscInfobox|Ancient Scroll}}
{{GenerateMiscInfobox|Candy Cane}}
{{GenerateMiscInfobox|Candy Cane}}
{{GenerateMiscInfobox|Diamond|6}}
{{GenerateMiscInfobox|Token of Honor}}
{{GenerateMiscInfobox|Bolt}}
{{GenerateMiscInfobox|Bolt}}
</table>
</table>
</noinclude>
</noinclude>

Latest revision as of 22:18, 4 October 2024

Auto creates Accessory infobox

Example

{{GenerateMiscInfobox|Gold Ore}}
{{GenerateMiscInfobox|Candy Cane}}
{{GenerateMiscInfobox|Diamond|6}}
{{GenerateMiscInfobox|Token of Honor}}
{{GenerateMiscInfobox|Bolt}}
Ancient Scroll.png
Type:
Gem
2x3InvSlot.jpg
Stack Size:
1
Sell Price:
336
Item Achieve:
120
Filled with ancient writing that may uncover the secrets of the world or might just be the recipe for old fashioned cake.
Gold Ore.png
Type:
Ore
2x2InvSlot.jpg
Stack Size:
5
Sell Price:
2
Item Achieve:
3
A dirty chunk of rock containing traces of gleaming gold.
Ancient Scroll.png
Type:
Gem
2x3InvSlot.jpg
Stack Size:
1
Sell Price:
336
Item Achieve:
120
Filled with ancient writing that may uncover the secrets of the world or might just be the recipe for old fashioned cake.
Candy Cane.png
Type:
Currency
1x1InvSlot.jpg
Stack Size:
10
Sell Price:
7
Item Achieve:
1
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.
Diamond.png
Type:
Gem
1x1InvSlot.jpg
Stack Size:
1
Sell Price:
68
Item Achieve:
10
A beautiful rock that scatters light in a vibrant ray of dancing colors.
Token of Honor.png
Type:
HuntingLoot
1x1InvSlot.jpg
Stack Size:
1
Sell Price:
48
Item Achieve:
6
A medal awarded to the courageous warriors who have demonstrated exceptional bravery in battle.
Bolt.png
Type:
Ammo,Bolt
1x2InvSlot.jpg
Stack Size:
15
Sell Price:
0
A bolt dedicated to crossbows that is sharp enough to pierce opponents.