From Dark and Darker Wiki

(Changed # Affinity color. Added item rarity below that.)
(Colored text by item rarity.)
Line 13: Line 13:
-->{{#loop:i|0|{{#arraysize:offers}}<!--
-->{{#loop:i|0|{{#arraysize:offers}}<!--
-->|{{#vardefine:item|{{#arrayindex:offers|{{#var:i}} }} }}<!--
-->|{{#vardefine:item|{{#arrayindex:offers|{{#var:i}} }} }}<!--
-->{{Iconbox|{{#var:item}}|rarity={{#var:rarity}}|size=x75px}} }}</td></tr><!--
-->{{Iconbox<!--
-->|{{#var:item}}<!--
-->|rarity={{#var:rarity}}<!--
-->|size=x75px<!--
-->|caption=<span class="colorrarity{{#var:rarity}}">{{#var:item}}</span>}} }}</td></tr><!--
--></includeonly><noinclude>
--></includeonly><noinclude>

Revision as of 03:35, 12 April 2024

Auto creates Squire row ==Example==

	{{SquireTable|
		{{GenerateSquireRow|Armourer|0}}
		{{GenerateSquireRow|Armourer|25}}
		{{GenerateSquireRow|Armourer|50}}
		{{GenerateSquireRow|Armourer|75}}
		{{GenerateSquireRow|Armourer|125}}
	}}


Affinity Items Offered by the Squire
0 Affinity
Junk Rarity
25 Affinity
Junk Rarity
50 Affinity
Poor Rarity
75 Affinity
Poor Rarity
125 Affinity
Common Rarity