Template:WeaponQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{#ask:[[Category:Weapons]]
{{#ask:[[Category:Weapons]]
{{#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:{{{MTag}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}}
{{#arraymap:{{{MTag}}}|,|@@@@|[[uses material::@@@@]]}}
}}
}}
}}
}}
{{#if:{{{CTag|}}}|
{{#if:{{{CTag|}}}|
{{#ifeq:{{{CTagmod}}}|OR|
{{#ifeq:{{{CTagmod}}}|OR|
[[uses color::{{#arraymap:{{{CTag}}}|,|x|x| {{!}}{{!}} }}]]
[[uses color::{{#arraymap:{{{CTag}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}}
{{#arraymap:{{{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:{{{STag}}}|,|@@@@|[[uses symbol::@@@@]]}}
}}
}}
}}
}}
{{#if:{{{type|}}}|[[Is combat type::{{{type}}}]]}}
{{#if:{{{type|}}}|{{#arraymap:{{{type}}}|,|@@@@|[[Is combat type::@@@@]]}}}}
{{#if:{{{range|}}}|[[range is::{{{range}}}]]}}
{{#if:{{{range|}}}|[[range is::{{{range}}}]]}}
{{#if:{{{ammo|}}}|[[has ammo type::{{{ammo}}}]]}}
{{#if:{{{ammo|}}}|[[has ammo type::{{{ammo}}}]]}}
Line 48: Line 48:
{{#if:{{{special|}}}|
{{#if:{{{special|}}}|
{{#ifeq:{{{spmod|}}}|OR|
{{#ifeq:{{{spmod|}}}|OR|
[[has item property::{{#arraymap:{{{special}}}|,|x|x| {{!}}{{!}} }}]]
[[has item property::{{#arraymap:{{{special}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
|
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}}
{{#arraymap:{{{special}}}|,|@@@@|[[has item property::@@@@]]}}
}}
}}
}}
}}

Revision as of 18:51, 24 March 2013

This is the WeaponQuery Template. It can only be used through the Weapon Query