Template:ItemQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask:[[Category:Items]][[Page type is::!weapon]][[Page type is::!armor]][[Page type is::!shield]]
{{#ask:[[Category:Items]][[Page type is::!weapon]][[Page type is::!armor]][[Page type is::!shield]]
{{#if:{{{noun|}}}|
{{#if:{{{noun|}}}|{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR }}}}
{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR
{{#if:{{{MTag|}}}|
{{#ifeq:{{{MTagmod}}}|OR|
}}
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]| OR }}
|
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}}
}}
}}
}}
{{#if:{{{MTag|}}}|{{#ifeq:{{{MTagmod}}}|OR|{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]| OR }}|{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]|}}}}}}
{{#if:{{{CTag|}}}|
{{#if:{{{CTag|}}}|
{{#ifeq:{{{CTagmod}}}|OR|
{{#ifeq:{{{CTagmod}}}|OR|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]| OR
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]| OR }}
}}
|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}}
|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]|
}}
}}
}}
}}
}}
{{#if:{{{STag|}}}|
{{#ifeq:{{{STagmod}}}|OR|
{{#if:{{{STag|}}}|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]| OR
{{#ifeq:{{{STagmod}}}|OR|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]| OR }}
}}
|
|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}}
}}
}}
}}
}}
}}
{{#if:{{{type|}}}|#ifeq:{{{typemod}}}|OR|
{{#if:{{{type|}}}|#ifeq:{{{typemod}}}|OR|
{{#arraymap:{{{type}}}|,|x|[[has item property::x]]| OR
{{#arraymap:{{{type}}}|,|x|[[has item property::x]]| OR

Revision as of 21:18, 4 October 2010

This is the ItemQuery Template. It can only be used through the Item Query