From Dark and Darker Wiki
mNo edit summary |
(Uncommented AP section.) |
||
(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}} | ||
|nomargin | |sellprice ={{Misc Data|{{{1}}}|SellPrices|{{{2|{{#var:rarity}}}}}}} | ||
|nofloat | |itemachieve={{Misc Data|{{{1}}}|AP|{{{2|{{#var:rarity}}}}}}} | ||
|treasure ={{Misc Data|{{{1}}}|SellPrices|{{{2|{{#var:rarity}}}}}}} | |||
|nomargin =1 | |||
|nofloat =1 | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Auto creates Accessory infobox | Auto creates Accessory infobox | ||
Line 16: | Line 20: | ||
{{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> |
Revision as of 16:46, 24 June 2024
Auto creates Accessory infobox
Example
{{GenerateMiscInfobox|Gold Ore}} {{GenerateMiscInfobox|Candy Cane}} {{GenerateMiscInfobox|Diamond|6}} {{GenerateMiscInfobox|Token of Honor}} {{GenerateMiscInfobox|Bolt}}