Template:WeaponQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(added support for Property:festival item)
(testing)
Line 3: Line 3:
{{#ask:[[Category:Weapons]]
{{#ask:[[Category:Weapons]]
{{#if:{{{noun|}}}|{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR }}}}
{{#if:{{{noun|}}}|{{#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:{{{CTag|}}}|
{{#ifeq:{{{CTagmod}}}|OR|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]| OR }}
|
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}}
}}
}}
{{#if:{{{STag|}}}|
{{#ifeq:{{{STagmod}}}|OR|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]| OR }}
|
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}}
}}
}}
{{#if:{{{type|}}}|[[Is combat type::{{{type}}}]]}}
{{#if:{{{type|}}}|[[Is combat type::{{{type}}}]]}}
{{#if:{{{range|}}}|[[range is::{{{range}}}]]}}
{{#if:{{{range|}}}|[[range is::{{{range}}}]]}}

Revision as of 22:04, 9 May 2010

This is the WeaponQuery Template.