From Dark and Darker Wiki
No edit summary |
(Added gear score) |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#arraydefine:stats|{{ | <includeonly>{{#arraydefine:stats|{{Accessory Data|{{{1}}}|stats|allstats}}}}<!-- | ||
-->{{Infobox | -->{{Infobox | ||
|name ={{{1}}} | |name ={{{1}}} | ||
|image = | |image ={{{1}}} | ||
|rarity ={{{2}}} | |rarity ={{{2}}} | ||
|stats ={{ | |stats ={{ | ||
Line 12: | Line 12: | ||
-->||,}}<!-- | -->||,}}<!-- | ||
-->{{#var:stat}} <!-- | -->{{#var:stat}} <!-- | ||
-->{{#if:{{ | -->{{#if:{{Accessory Data|{{{1}}}|stats|{{#var:stat}}}}<!-- | ||
-->|{{ | -->|{{Accessory Data|{{{1}}}|stats|{{#var:stat}}}}<!-- | ||
-->|{{ | -->|{{Accessory Data|{{{1}}}|stats|{{#var:stat}} {{{2}}}}}}}}} | ||
|classes ={{ | |classes ={{Accessory Data|{{{1}}}|classes}} | ||
|enchantments ={{# | |enchantments ={{#if:{{#vardefineecho:numenchants|{{Accessory Data|{{{1}}}|numenchants|{{{2}}}}}}}|{{#var:numenchants}}}} | ||
| | |slottype ={{Accessory Data|{{{1}}}|slottype}} | ||
| | |description ={{Accessory Data|{{{1}}}|flavortext}} | ||
| | |invslots ={{Accessory Data|{{{1}}}|invslots}} | ||
|gearscore ={{Accessory Data|{{{1}}}|GearScore|{{{2}}}}} | |||
|sellprice ={{Accessory Data|{{{1}}}|SellPrices|{{{2}}}}} | |||
|itemachieve ={{Accessory Data|{{{1}}}|AP|{{{2}}}}} | |||
|nomargin =1 | |nomargin =1 | ||
|nofloat =1 | |nofloat =1 |
Latest revision as of 23:13, 28 October 2024
Auto creates Accessory infobox
Example
{{GenerateAccessoryInfobox|<Accessory name>|<rarity number>}}
{{GenerateAccessoryInfobox|Ox Pendant|3}}