From Dark and Darker Wiki

(Colored text by item rarity.)
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 2: Line 2:
<tr>
<tr>
<td><!--
<td><!--
-->{{Iconbox|{{{1}}}|size=x75px}}</td>
-->{{Iconbox|{{{1}}}|size=x125px|caption=<span style="color:#eee8;">{{{1}}}<br>{{#explode:{{{2}}}|/|0}}&nbsp;Affinity</span>}}<br><!--
<td><!--
--><span style="color:#eee8;">{{#explode:{{{2}}}|/|0}} Affinity</span><br><!--
-->{{#vardefine:rarity|{{#explode:{{{2}}}|/|1}} }}<!--
-->{{#vardefine:rarity|{{#explode:{{{2}}}|/|1}} }}<!--
-->{{#switch:{{#var:rarity}}
-->{{#switch:{{#var:rarity}}
|0=<span class="colorrarity0">Junk Rarity</span>
|0=<span class="colorrarity0">Squire offers junk items</span>
|1=<span class="colorrarity1">Poor Rarity</span>
|1=<span class="colorrarity1">Squire offers poor items</span>
|2=<span class="colorrarity2">Common Rarity</span>}}</td>
|2=<span class="colorrarity2">Squire offers common items</span>}}</td>
<td><!--
<td><!--
-->{{#loop:i|0|{{#arraysize:offers}}<!--
-->{{#loop:i|0|{{#arraysize:offers}}<!--
Line 16: Line 14:
-->|{{#var:item}}<!--
-->|{{#var:item}}<!--
-->|rarity={{#var:rarity}}<!--
-->|rarity={{#var:rarity}}<!--
-->|size=x75px<!--
-->|size=x100px<!--
-->|caption=<span class="colorrarity{{#var:rarity}}">{{#var:item}}</span>}} }}</td></tr><!--
-->|caption=<span class="colorrarity{{#var:rarity}}">{{#var:item}}</span>}} }}</td></tr><!--

Latest revision as of 04:46, 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

Squire offers junk items

Squire offers junk items

Squire offers poor items

Squire offers poor items

Squire offers common items