Template:ItemQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
mNo 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]]{{Cat|Templates}}
</noinclude><includeonly>
</noinclude><includeonly>
{{#ask:[[Category:Items]]
{{#ask:[[Category:Items]][[Page type is::!weapon]][[Page type is::!armor]][[Page type is::!shield]]
{{#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]]| }}
}}
}}
<!-- space reserved for Uses; {{{usemod}}}{{{uses}}} -->
{{#if:{{{weight|}}}|[[weight is::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}}
{{#if:{{{weight|}}}|[[weight is::{{#if:{{{wmod|}}}|{{{wmod}}}}}{{{weight}}}]]}}
{{#if:{{{appcost|}}}|[[appraised cost is::{{#if:{{{apmod|}}}|{{{apmod}}}}}{{{appcost}}}]]}}
{{#if:{{{appcost|}}}|[[appraised cost is::{{#if:{{{apmod|}}}|{{{apmod}}}}}{{{appcost}}}]]}}
Line 46: Line 45:
| ?Holds mana
| ?Holds mana
}}
}}
{{Cat|Templates}}
</includeonly>
</includeonly>

Revision as of 20:55, 4 October 2010

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