Template:ItemQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>This is the ItemQuery Template. It can only be used through the [[Special:RunQuery/ItemQuery|Item Query]]
<noinclude>This is the ItemQuery Template. It can only be used through the [[Special:RunQuery/ItemQuery|Item Query]]
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask:[[Category:Items]][[Page type is::!weapon]][[Page type is::!armor]][[Page type is::!shield]]
{{#ask:[[Category:Items]]
{{#if:{{{noun|}}}|{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR }}}}
{{#if:{{{noun|}}}|{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR }}}}
{{#if:{{{MTag|}}}|
{{#if:{{{MTag|}}}|
Line 28: Line 28:
| {{#arraymap:{{{type}}}|,|x|[[has item property::x]]| }}
| {{#arraymap:{{{type}}}|,|x|[[has item property::x]]| }}
}}
}}
{{#if:{{{maxcharge|}}}|[[holds mana::+]][[holds mana::{{#if:{{{mmod|}}}|{{{mmod|}}}}}{{{maxcharge}}}]]}}
<!-- space reserved for Uses; {{{usemod}}}{{{uses}}} -->
<!-- space reserved for Uses; {{{usemod}}}{{{uses}}} -->
{{#if:{{{weight|}}}|[[weight is::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}}
{{#if:{{{weight|}}}|[[weight is::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}}
Line 41: Line 40:
}}
}}
}}
}}
{{#if:{{{maxcharge|}}}|[[holds mana::+]][[holds mana::{{#if:{{{mmod|}}}|{{{mmod|}}}}}{{{maxcharge}}}]]}}
| ?Has item property
| ?Has item property
| ?Festival item
| ?Festival item

Revision as of 20:53, 4 October 2010

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