Template:WeaponQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
{{#if:{{{cost|}}}|[[shop cost is::{{#if:{{{costmod|}}}|{{{costmod}}}}}{{{cost}}}]]}}
{{#if:{{{cost|}}}|[[shop cost is::{{#if:{{{costmod|}}}|{{{costmod}}}}}{{{cost}}}]]}}
{{#if:{{{special|}}}|
{{#if:{{{special|}}}|
{{#ifeq:{{{spmod|}}}|AND|
{{#ifeq:{{{spmod|}}}|OR|
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}}
|
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]| OR }}
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]| OR }}
|
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}}
}}
}}
}}
}}

Revision as of 01:05, 24 March 2010

This is the WeaponQuery Template.