Difference between revisions of "Template:Acquired from test"

From Stoneshard wiki
Jump to navigation Jump to search
Line 16: Line 16:
-->{{#vardefine:RespectBrynn|10}}<!--
-->{{#vardefine:RespectBrynn|10}}<!--
--><!-- List all the merchants and remove lines based on variables. --><!--
--><!-- List all the merchants and remove lines based on variables. --><!--
--><!-- Check if item is JEWELRY --><!--
--><!-- Check if item is JEWELRY, skip merchants that can't sell jewelry to lessen the load --><!--
-->{{#if: {{#var:Jewelry}}||
-->{{#if: {{#var:Jewelry}}||
<!-- Using pos to check if item's material type is sold by the merchant. --><!--
<!-- Using pos to check if item's material type is sold by the merchant. --><!--
Line 225: Line 225:
-->}}<!--
-->}}<!--
-->}}}}<!--
-->}}}}<!--
-->{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#var:Jewelry}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor common uncommon rare|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
--><!-- First check item's LVL is between merchant's minimum LVL at Hatred and maximum LVL at Respect. --><!--
Line 237: Line 237:
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|respect}}<!--
-->{{#ifexpr: {{#var:LVL}} >= (4 + {{#var:RespectBrynn}}) and {{#var:LVL}} <= (14 + {{#var:RespectBrynn}})|respect}}<!--
-->}}<!--
-->}}<!--
-->}}}}<!--
-->}}}}}}<!--
-->{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
-->{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |0}}}}|{{#if: {{#pos: aldor brynn skadia nistra common uncommon|{{#explode:{{#var:Tags}}| |-1}}}}
|<!--
|<!--

Revision as of 19:38, 16 December 2022

This template has no documentation. If you know how to use this template, please add some.