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|{{# | |rarity ={{{2|{{#var:rarity}}}}} | ||
| | |type ={{Misc Data|{{{1|{{PAGENAME}}}}}|types|all}} | ||
| | |description={{Misc Data|{{{1|{{PAGENAME}}}}}|flavortext}} | ||
| | |invslots ={{Misc Data|{{{1|{{PAGENAME}}}}}|invslots}} | ||
| | |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| | {{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}}