From Dark and Darker Wiki

(Changing Template to use calls that work with Accessory Data.)
(Changing to python-esque whitespace formatting.)
Line 1: Line 1:
<includeonly>{{#vardefine:rarities|{{Accessory Data|{{{1}}}|rarities}}}}<!--
<includeonly><!--
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
-->{{#vardefine:rarities|{{Accessory Data|{{{1}}}|rarities}}}}<!--
-->|{{Tabs
-->{{#if:{{#pos:{{#var:rarities}}|,}}<!--
|firstShownTier={{#expr:{{#explode:{{Accessory Data|{{{1}}}|rarities}}|,|0|2}}+1}}
-->|{{Tabs<!--
|content1 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|0}}<!--
-->|firstShownTier={{#expr:{{#explode:{{#var:rarities}}|,|0|2}}+1}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|0}}}}
-->|content1 ={{#if:{{#pos:{{#var:rarities}}|0}}<!--
|content2 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|1}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|0}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|1}}}}
-->|content2 ={{#if:{{#pos:{{#var:rarities}}|1}}<!--
|content3 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|2}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|1}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|2}}}}
-->|content3 ={{#if:{{#pos:{{#var:rarities}}|2}}<!--
|content4 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|3}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|2}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|3}}}}
-->|content4 ={{#if:{{#pos:{{#var:rarities}}|3}}<!--
|content5 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|4}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|3}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|4}}}}
-->|content5 ={{#if:{{#pos:{{#var:rarities}}|4}}<!--
|content6 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|5}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|4}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|5}}}}
-->|content6 ={{#if:{{#pos:{{#var:rarities}}|5}}<!--
|content7 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|6}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|5}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|6}}}}
-->|content7 ={{#if:{{#pos:{{#var:rarities}}|6}}<!--
|content8 ={{#if:{{#pos:{{Accessory Data|{{{1}}}|rarities}}|7}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|6}}}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|7}}}}
-->|content8 ={{#if:{{#pos:{{#var:rarities}}|7}}<!--
}}<!--
-->|{{GenerateAccessoryInfobox|{{{1}}}|7}}}}}}<!--
-->|<div class="cardtabs" data-cardtabs>{{GenerateAccessoryInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}
-->|<div class="cardtabs" data-cardtabs><!--
</includeonly><noinclude>
-->{{GenerateAccessoryInfobox|{{{1}}}|{{#var:rarities}}}}</div>}}<!--
--></includeonly><noinclude>
<table class="wikitable">
<table class="wikitable">
<tr>
<tr>
<th>Code</th>
<th>Code</th>
<th>Preview</th>
<th>Preview</th></tr>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateAccessoryTabs|Ox Pendant}}</pre>
<pre>{{GenerateAccessoryTabs|Ox Pendant}}</pre></td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateAccessoryTabs|Ox Pendant}}
{{GenerateAccessoryTabs|Ox Pendant}}</td></tr>
</td>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateAccessoryTabs|Ring of Courage}}</pre>
<pre>{{GenerateAccessoryTabs|Ring of Courage}}</pre></td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateAccessoryTabs|Ring of Courage}}
{{GenerateAccessoryTabs|Ring of Courage}}</td></tr>
</td>
</tr>
<tr>
<tr>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>{{GenerateAccessoryTabs|Grimsmile Ring}}</pre>
<pre>{{GenerateAccessoryTabs|Grimsmile Ring}}</pre></td>
</td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{GenerateAccessoryTabs|Grimsmile Ring}}
{{GenerateAccessoryTabs|Grimsmile Ring}}</td></tr>
</td>
</tr>
</table></noinclude>
</table></noinclude>

Revision as of 05:07, 9 April 2024

Code Preview
{{GenerateAccessoryTabs|Ox Pendant}}
 IV 
 V 
 VI 
 VII 
 VIII 
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.
Ox Pendant.png
-
Strength 2
-
-
Up to 2 extra enchantments
-
Slot Type:
Necklace
1x1InvSlot.jpg
Gear Score:
12
Sell Price:
12
Item Achieve:
2
Invoke the power of the Ox, improving the wearer's strength.
Ox Pendant.png
-
Strength 3
-
-
Up to 3 extra enchantments
-
Slot Type:
Necklace
1x1InvSlot.jpg
Gear Score:
18
Sell Price:
20
Item Achieve:
3
Invoke the power of the Ox, improving the wearer's strength.
Ox Pendant.png
-
Strength 4
-
-
Up to 4 extra enchantments
-
Slot Type:
Necklace
1x1InvSlot.jpg
Gear Score:
24
Sell Price:
32
Item Achieve:
5
Invoke the power of the Ox, improving the wearer's strength.
Ox Pendant.png
-
Strength 5
-
-
Up to 5 extra enchantments
-
Slot Type:
Necklace
1x1InvSlot.jpg
Gear Score:
30
Sell Price:
53
Item Achieve:
10
Invoke the power of the Ox, improving the wearer's strength.
{{GenerateAccessoryTabs|Ring of Courage}}
 IV 
 V 
 VI 
 VII 
 VIII 
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.
Ring of Courage.png
-
Strength 2
-
-
Up to 2 extra enchantments
-
Slot Type:
Ring
1x1InvSlot.jpg
Gear Score:
12
Sell Price:
12
Item Achieve:
2
Imbued with the essence of bravery, enhancing your strength.
Ring of Courage.png
-
Strength 3
-
-
Up to 3 extra enchantments
-
Slot Type:
Ring
1x1InvSlot.jpg
Gear Score:
18
Sell Price:
20
Item Achieve:
3
Imbued with the essence of bravery, enhancing your strength.
Ring of Courage.png
-
Strength 4
-
-
Up to 4 extra enchantments
-
Slot Type:
Ring
1x1InvSlot.jpg
Gear Score:
24
Sell Price:
32
Item Achieve:
5
Imbued with the essence of bravery, enhancing your strength.
Ring of Courage.png
-
Strength 5
-
-
Up to 5 extra enchantments
-
Slot Type:
Ring
1x1InvSlot.jpg
Gear Score:
30
Sell Price:
53
Item Achieve:
10
Imbued with the essence of bravery, enhancing your strength.
{{GenerateAccessoryTabs|Grimsmile Ring}}
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.