Template:WeaponQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 2: Line 2:
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask:[[Category:Weapons]]
{{#ask:[[Category:Weapons]]
{{#if:{{{noun|}}}|[[noun is::{{{noun}}}]]}}
{{#if:{{{noun|}}}|{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR }}}}
{{#if:{{{MTag|}}}|[[uses material::{{{MTag}}}]]}}
{{#if:{{{MTag|}}}|
{{#if:{{{CTag|}}}|[[uses color::{{{CTag}}}]]}}
{{#ifeq:{{{MTagmod}}}|OR|
{{#if:{{{STag|}}}|[[uses symbol::{{{STag}}}]]}}
{{#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 05:42, 24 March 2010

This is the WeaponQuery Template.