Template:ShieldQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(changed ORs to disjunctions)
Line 2: Line 2:
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask:[[Category:Shields]]
{{#ask:[[Category:Shields]]
{{#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 12: Line 13:
{{#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 19: Line 20:
{{#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 26: Line 27:
{{#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 52: Line 53:
{{#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 01:26, 29 November 2010

This is the ShieldQuery Template. It can only be used through the Shield Query