Template:NPCSub: Difference between revisions

From Exiled Kingdoms Wiki
m (Reverted edits by MikeB (talk) to last revision by M3lkor)
mNo edit summary
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 21:25, 25 May 2017