From Dark and Darker Wiki

(Created page with "<includeonly>{{#arraydefine:stats|{{Item Data|Weapon|{{{1}}}|stats|allstats}}}}<!-- -->{{Infobox |name ={{{1}}} |image ={{#if:{{Item Data|Accessory|{{{1}}}|iscraftable}}{{Item Data|Accessory|{{{1}}}|artifactpower}}|{{{1}}}|{{{1}}} {{{2}}}}} |rarity ={{{2}}} |stats ={{ #loop: i |0 |{{ #arraysize:stats }} |<nowiki/>{{#vardefine:stat|{{ #arrayindex:stats | {{ #var:i }}}}}}<!-- -->{{#ifeq:{{ #var:i }}|0<!-- -->||,}}<!-- -->{{#var:stat}} <!-- -->{{#if:{{I...")
 
(Added gear score)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#arraydefine:stats|{{Item Data|Weapon|{{{1}}}|stats|allstats}}}}<!--
<includeonly>{{#arraydefine:stats|{{Accessory Data|{{{1}}}|stats|allstats}}}}<!--
-->{{Infobox
-->{{Infobox
|name ={{{1}}}
|name ={{{1}}}
|image ={{#if:{{Item Data|Accessory|{{{1}}}|iscraftable}}{{Item Data|Accessory|{{{1}}}|artifactpower}}|{{{1}}}|{{{1}}} {{{2}}}}}
|image ={{{1}}}
|rarity ={{{2}}}
|rarity ={{{2}}}
|stats ={{
|stats ={{
Line 12: Line 12:
-->||,}}<!--
-->||,}}<!--
-->{{#var:stat}} <!--
-->{{#var:stat}} <!--
-->{{#if:{{Item Data|Accessory|{{{1}}}|stats|{{#var:stat}}}}<!--
-->{{#if:{{Accessory Data|{{{1}}}|stats|{{#var:stat}}}}<!--
-->|{{Item Data|Accessory|{{{1}}}|stats|{{#var:stat}}}}<!--
-->|{{Accessory Data|{{{1}}}|stats|{{#var:stat}}}}<!--
-->|{{Item Data|Accessory|{{{1}}}|stats|{{#var:stat}} {{{2}}}}}}}}}
-->|{{Accessory Data|{{{1}}}|stats|{{#var:stat}} {{{2}}}}}}}}}
|classes ={{Item Data|Accessory|{{{1}}}|classes}}
|classes ={{Accessory Data|{{{1}}}|classes}}
|enchantments ={{#ifexpr:{{#expr:{{{2}}}-2}}>0|{{#expr:{{{2}}}-2}}}}
|enchantments ={{#if:{{#vardefineecho:numenchants|{{Accessory Data|{{{1}}}|numenchants|{{{2}}}}}}}|{{#var:numenchants}}}}
|slottype ={{Item Data|Accessory|{{{1}}}|slottype}}
|slottype ={{Accessory Data|{{{1}}}|slottype}}
|weapontype ={{Item Data|Accessory|{{{1}}}|types|all}}
|description ={{Accessory Data|{{{1}}}|flavortext}}
|description ={{Item Data|Accessory|{{{1}}}|flavortext}}
|invslots ={{Accessory Data|{{{1}}}|invslots}}
|invslots ={{Item Data|Accessory|{{{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
}}</includeonly><noinclude>
}}</includeonly><noinclude>
Auto creates weapon infobox
Auto creates Accessory infobox
==Example==
==Example==
<pre>
<pre>
{{GenerateAccessoryInfobox|<weapon name>|<rarity number>}}</pre>
{{GenerateAccessoryInfobox|<Accessory name>|<rarity number>}}</pre>
<pre>
<pre>
{{GenerateAccessoryInfobox|Ox Pendant|1}}</pre>
{{GenerateAccessoryInfobox|Ox Pendant|3}}</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;">
{{GenerateAccessoryInfobox|Ox Pendant|1}}
{{GenerateAccessoryInfobox|Ox Pendant|3}}
{{GenerateAccessoryInfobox|Ring of Courage|4}}
{{GenerateAccessoryInfobox|Ring of Courage|3}}
{{GenerateAccessoryInfobox|Grimsmile Ring|6}}
{{GenerateAccessoryInfobox|Grimsmile Ring|5}}
</table>
</table>
</noinclude>
</noinclude>

Latest revision as of 23:13, 28 October 2024

Auto creates Accessory infobox

Example

{{GenerateAccessoryInfobox|<Accessory name>|<rarity number>}}
{{GenerateAccessoryInfobox|Ox Pendant|3}}
Ox Pendant.png
-
Strength 1
-
-
Up to 1 extra enchantments
-
Slot Type:
Necklace
1x1InvSlot.jpg
Gear Score:
9
Sell Price:
7
Item Achieve:
1
Invoke the power of the Ox, improving the wearer's strength.
Ring of Courage.png
-
Strength 1
-
-
Up to 1 extra enchantments
-
Slot Type:
Ring
1x1InvSlot.jpg
Gear Score:
9
Sell Price:
7
Item Achieve:
1
Imbued with the essence of bravery, enhancing your strength.
Grimsmile Ring.png
-
Strength 2
-
-
Vigor 3
-
-
Luck 6~12
-
-
Up to 4 extra enchantments
-
Slot Type:
Ring
1x1InvSlot.jpg
Gear Score:
18
Sell Price:
60
Item Achieve:
3
Ring crafted using rare golden teeth extracted from the silenced mouths of defeated rivals.