Template:NPCSub: Difference between revisions

From Exiled Kingdoms Wiki
No edit summary
m (Reverted edits by MikeB (talk) to last revision by M3lkor)
Line 1: Line 1:
<noinclude>[[Category:Templates]]</noinclude>{{#switch: {{{Step}}}
<noinclude>[[Category:Templates]]</noinclude>{{#switch: {{{Step}}}
|findItem={{#if:{{{Drops|}}}|{{#if: {{#pos: {{{Drops}}} | {{{Sel}}}}} |;[[{{{Name}}}]]}}}}
|findItem={{#if:{{{Drops|}}}|{{#if: {{#pos: {{{Drops}}} | {{{Sel}}}}} |;[[{{{Name}}}]]}}}}
|findVendItem={{#if:{{{Inventory|}}}|{{#if: {{#pos: {{{InvI}}} | {{{Sel}}}}} |[[{{{Name}}}]];|{{#if: {{#pos: {{{InvA}}} | {{{Sel}}}}} |[[{{{Name}}}]];|{{#if: {{#pos: {{{InvW}}} | {{{Sel}}}}} |[[{{{Name}}}]];}}}}}}}}
|findVendItem={{#if:{{{Inventory|}}}|{{#if: {{#pos: {{{InvI}}} | {{{Sel}}}}} |;[[{{{Name}}}]]|{{#if: {{#pos: {{{InvA}}} | {{{Sel}}}}} |;[[{{{Name}}}]]|{{#if: {{#pos: {{{InvW}}} | {{{Sel}}}}} |;[[{{{Name}}}]]}}}}}}}}
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
|SelType={{#ifeq:{{{Sel}}}|{{{Groups}}}|<tr><td>
== [[{{{Name}}}]] ==
== [[{{{Name}}}]] ==

Revision as of 20:41, 25 May 2017