Template:ItemQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{#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|}}}|
[[noun is::{{#arraymap:{{{noun}}}|,|x|x| {{!}}{{!}} }}]]}}
[[noun is::{{#arraymap:{{{noun}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]}}
{{#if:{{{MTag|}}}|
{{#if:{{{MTag|}}}|
{{#ifeq:{{{MTagmod}}}|OR|
{{#ifeq:{{{MTagmod}}}|OR|
[[uses material::{{#arraymap:{{{MTag}}}|,|x|x| {{!}}{{!}} }}]]
[[uses material::{{#arraymap:{{lc:{{{MTag}}}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}}
{{#arraymap:{{lc:{{{MTag}}}}}|,|@@@@|[[uses material::@@@@]]}}
}}
}}
}}
}}
{{#if:{{{CTag|}}}|
{{#if:{{{CTag|}}}|
{{#ifeq:{{{CTagmod}}}|OR|
{{#ifeq:{{{CTagmod}}}|OR|
[[uses color::{{#arraymap:{{{CTag}}}|,|x|x| }}]]
[[uses color::{{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|@@@@| }}]]
|
|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}}
{{#arraymap:{{lc:{{{CTag}}}}}|,|@@@@|[[uses color::@@@@]]}}
}}
}}
}}
}}
{{#if:{{{STag|}}}|
{{#if:{{{STag|}}}|
{{#ifeq:{{{STagmod}}}|OR|
{{#ifeq:{{{STagmod}}}|OR|
[[uses symbol::{{#arraymap:{{{STag}}}|,|x|x| {{!}}{{!}} }}]]
[[uses symbol::{{#arraymap:{{{STag}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}}
{{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@]]}}
}}
}}
}}
}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{#ifeq:{{{typemod}}}|OR|
{{#ifeq:{{{typemod}}}|OR|
[[has item property::{{#arraymap:{{{type}}}|,|x|x| {{!}}{{!}} }}]]
[[has item property::{{#arraymap:{{{type}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{type}}}|,|x|[[has item property::x]]|
{{#arraymap:{{{type}}}|,|@@@@|[[has item property::@@@@]]|
}}
}}
}}
}}
Line 35: Line 35:
{{#if:{{{wearloc|}}}|
{{#if:{{{wearloc|}}}|
{{#ifeq:{{{wearlocmod}}}|OR|
{{#ifeq:{{{wearlocmod}}}|OR|
[[worn in slot::{{#arraymap:{{{wearloc}}}|,|x|x| {{!}}{{!}} }}]]
[[worn in slot::{{#arraymap:{{{wearloc}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{wearloc}}}|,|x|[[worn in slot::x]]|
{{#arraymap:{{{wearloc}}}|,|@@@@|[[worn in slot::@@@@]]|
}}
}}
}}
}}

Revision as of 20:39, 31 March 2013

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