Template:ItemQuery: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (altered formatting) |
||
Line 2: | Line 2: | ||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
{{#ask:[[Category:Items]][[Page type is::!weapon]][[Page type is::!armor]][[Page type is::!shield]] |
{{#ask:[[Category:Items]][[Page type is::!weapon]][[Page type is::!armor]][[Page type is::!shield]] |
||
{{#if:{{{noun|}}}| |
{{#if:{{{noun|}}}| |
||
{{# |
{{#arraymap:{{{noun}}}|,|x|[[noun is::x]]| OR |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
}} |
||
⚫ | |||
⚫ | |||
{{# |
{{#ifeq:{{{MTagmod}}}|OR| |
||
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]| OR |
|||
}} |
|||
⚫ | |||
| |
| |
||
{{#arraymap:{{{ |
{{#arraymap:{{{MTag}}}|,|x|[[uses material::x]]| |
||
}} |
|||
}} |
|||
}} |
}} |
||
{{#if:{{{CTag|}}}| |
|||
⚫ | |||
{{# |
{{#ifeq:{{{CTagmod}}}|OR| |
||
{{#arraymap:{{{CTag}}}|,|x|[[uses color::x]]| OR |
|||
}} |
|||
⚫ | |||
| |
|||
⚫ | |||
}} |
|||
}} |
|||
⚫ | |||
{{#if:{{{STag|}}}| |
|||
⚫ | |||
⚫ | |||
}} |
|||
| |
|||
⚫ | |||
}} |
|||
}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
| |
| |
||
{{#arraymap:{{{ |
{{#arraymap:{{{type}}}|,|x|[[has item property::x]]| |
||
⚫ | |||
⚫ | |||
⚫ | |||
{{#ifeq:{{{wearlocmod}}}|OR| |
|||
⚫ | |||
}} |
|||
| |
|||
⚫ | |||
}} |
|||
}} |
|||
}} |
|||
⚫ | |||
{{#if:{{{wmod|}}}|{{{wmod}}} |
|||
}}{{{weight}}}]] |
|||
}} |
|||
⚫ | |||
{{#if:{{{apmod|}}}|{{{apmod}}} |
|||
}}{{{appcost}}}]] |
|||
}} |
|||
{{#if:{{{cost|}}}|[[shop cost is:: |
|||
⚫ | |||
}}{{{cost}}}]] |
|||
}} |
|||
{{#switch:{{{fest|}}} |
|||
|yes=[[festival item::true]] |
|||
|no=[[festival item::false]] |
|||
|only not=[[festival item::!true]] |
|||
}} |
}} |
||
{{#if:{{{maxcharge|}}} |
|||
⚫ | |||
|[[holds mana::+]][[holds mana:: |
|||
⚫ | |||
{{#if:{{{mmod|}}} |
|||
⚫ | |||
|{{{mmod|}}} |
|||
| {{#arraymap:{{{type}}}|,|x|[[has item property::x]]| }} |
|||
}}{{{maxcharge}}}]] |
|||
⚫ | |||
⚫ | |||
⚫ | |||
{{#arraymap:{{{wearloc}}}|,|x|[[worn in slot::x]]| OR }} |
|||
| |
| |
||
⚫ | |||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
{{#switch:{{{fest|}}}|yes=[[festival item::true]]|no=[[festival item::false]]|only not=[[festival item::!true]]}} |
|||
{{#if:{{{maxcharge|}}}|[[holds mana::+]][[holds mana::{{#if:{{{mmod|}}}|{{{mmod|}}}}}{{{maxcharge}}}]]}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
}} |
||
</includeonly> |
</includeonly> |
Revision as of 21:13, 4 October 2010
This is the ItemQuery Template. It can only be used through the Item Query