From Dark and Darker Wiki
m (Changing Template to use calls that work with Misc Data.) |
(Added Item Achieve section.) |
||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#vardefine:rarity|{{#explode:{{Misc Data|{{{1}}}|rarities}}|,|-1}}}}<!-- | |||
-->{{Infobox | -->{{Infobox | ||
|name ={{{1}}} | |name ={{{1}}} | ||
|image ={{{1}}} | |image ={{{1}}} | ||
|rarity ={{{2|{{# | |rarity ={{{2|{{#var:rarity}}}}} | ||
|type ={{Misc Data|{{{1}}}|types|all}} | |type ={{Misc Data|{{{1}}}|types|all}} | ||
|description={{Misc Data|{{{1}}}|flavortext}} | |description={{Misc Data|{{{1}}}|flavortext}} | ||
|invslots ={{Misc Data|{{{1}}}|invslots}} | |invslots ={{Misc Data|{{{1}}}|invslots}} | ||
|stacksize ={{Misc Data|{{{1}}}|maxcount}} | |stacksize ={{Misc Data|{{{1}}}|maxcount}} | ||
|itemachieve={{Misc Data|{{{1}}}|AP|{{{2|{{#var:rarity}}}}}}} | |||
|treasure ={{Misc Data|{{{1}}}|SellPrices|{{{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| | {{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|Gold Ore}} | {{GenerateMiscInfobox|Gold Ore}} | ||
{{GenerateMiscInfobox|Candy Cane}} | {{GenerateMiscInfobox|Candy Cane}} | ||
{{GenerateMiscInfobox|Diamond|6}} | |||
{{GenerateMiscInfobox|Token of Honor}} | |||
{{GenerateMiscInfobox|Bolt}} | {{GenerateMiscInfobox|Bolt}} | ||
</table> | </table> | ||
</noinclude> | </noinclude> |
Revision as of 23:09, 13 May 2024
Auto creates Accessory infobox
Example
{{GenerateMiscInfobox|Gold Ore}} {{GenerateMiscInfobox|Candy Cane}} {{GenerateMiscInfobox|Diamond|6}} {{GenerateMiscInfobox|Token of Honor}} {{GenerateMiscInfobox|Bolt}}