Template:WeaponQuery: Difference between revisions
Jump to navigation
Jump to search
(test for disjunction) |
(switched ORs to be disjunctions) |
||
Line 2: | Line 2: | ||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
{{#ask:[[Category:Weapons]] |
{{#ask:[[Category:Weapons]] |
||
{{#if:{{{noun|}}}| |
{{#if:{{{noun|}}}| |
||
[[noun is::{{#arraymap:{{{noun}}}|,|x|x| {{!}}{{!}}} }}]]} |
|||
{{#if:{{{MTag|}}}| |
{{#if:{{{MTag|}}}| |
||
{{#ifeq:{{{MTagmod}}}|OR| |
{{#ifeq:{{{MTagmod}}}|OR| |
||
[[uses material::{{#arraymap:{{{MTag}}}|,|x|x|{{!}}{{!}}}}]] |
[[uses material::{{#arraymap:{{{MTag}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}} |
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]}} |
||
Line 12: | Line 13: | ||
{{#if:{{{CTag|}}}| |
{{#if:{{{CTag|}}}| |
||
{{#ifeq:{{{CTagmod}}}|OR| |
{{#ifeq:{{{CTagmod}}}|OR| |
||
{{#arraymap:{{{CTag}}}|,|x| |
[[uses color::{{#arraymap:{{{CTag}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}} |
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]}} |
||
Line 19: | Line 20: | ||
{{#if:{{{STag|}}}| |
{{#if:{{{STag|}}}| |
||
{{#ifeq:{{{STagmod}}}|OR| |
{{#ifeq:{{{STagmod}}}|OR| |
||
{{#arraymap:{{{STag}}}|,|x| |
[[uses symbol::{{#arraymap:{{{STag}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}} |
{{#arraymap:{{{STag}}}|,|x|[[uses symbol::x]]}} |
||
Line 47: | Line 48: | ||
{{#if:{{{special|}}}| |
{{#if:{{{special|}}}| |
||
{{#ifeq:{{{spmod|}}}|OR| |
{{#ifeq:{{{spmod|}}}|OR| |
||
{{#arraymap:{{{special}}}|,|x| |
[[has item property::{{#arraymap:{{{special}}}|,|x|x| {{!}}{{!}} }}]] |
||
| |
| |
||
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}} |
{{#arraymap:{{{special}}}|,|x|[[has item property::x]]}} |
Revision as of 01:19, 29 November 2010
This is the WeaponQuery Template. It can only be used through the Weapon Query