Template:ArmorQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(changed ORs to disjunctions)
Line 3: Line 3:


{{#ask:[[Category:Armor]]
{{#ask:[[Category:Armor]]
{{#if:{{{noun|}}}|{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR }}}}
{{#if:{{{noun|}}}|
[[noun is::{{#arraymap:{{{noun}}}|,|x|x| {{!}}{{!}} }}]]}}
{{#if:{{{MTag|}}}|
{{#if:{{{MTag|}}}|
{{#ifeq:{{{MTagmod}}}|OR|
{{#ifeq:{{{MTagmod}}}|OR|
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]| OR }}
[[uses material::{{#arraymap:{{{MTag}}}|,|x|x| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}}
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}}
Line 13: Line 14:
{{#if:{{{CTag|}}}|
{{#if:{{{CTag|}}}|
{{#ifeq:{{{CTagmod}}}|OR|
{{#ifeq:{{{CTagmod}}}|OR|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]| OR }}
[[uses color::{{#arraymap:{{{CTag}}}|,|x|x| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}}
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}}
Line 20: Line 21:
{{#if:{{{STag|}}}|
{{#if:{{{STag|}}}|
{{#ifeq:{{{STagmod}}}|OR|
{{#ifeq:{{{STagmod}}}|OR|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]| OR }}
[[uses symbol::{{#arraymap:{{{STag}}}|,|x|x| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}}
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}}
Line 27: Line 28:
{{#if:{{{area|}}}|
{{#if:{{{area|}}}|
{{#ifeq:{{{areamod}}}|OR|
{{#ifeq:{{{areamod}}}|OR|
{{#arraymap:{{{area}}}|,|x|[[protects area::x]]| OR }}
[[protects area::{{#arraymap:{{{area}}}|,|x|x| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{area}}}|,|x|[[protects area::x]]| }}
{{#arraymap:{{{area}}}|,|x|[[protects area::x]]| }}
Line 34: Line 35:
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{#ifeq:{{{typemod}}}|OR|
{{#ifeq:{{{typemod}}}|OR|
{{#arraymap:{{{type}}}|,|x|[[is combat type::x]]|OR}}
[[is combat type::{{#arraymap:{{{type}}}|,|x|x| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{type}}}|,|x|[[is combat type::x]]| }}
{{#arraymap:{{{type}}}|,|x|[[is combat type::x]]| }}
Line 66: Line 67:
{{#if:{{{special|}}}|
{{#if:{{{special|}}}|
{{#ifeq:{{{spmod|}}}|OR|
{{#ifeq:{{{spmod|}}}|OR|
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]| OR }}
[[has item property::{{#arraymap:{{{special}}}|,|x|x| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}}
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}}

Revision as of 02:23, 29 November 2010

This is the ArmorQuery Template. It can only be used through the Armor Query.