Template:ItemQuery: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(bugtests) |
||
Line 24: | Line 24: | ||
}} |
}} |
||
}} |
}} |
||
{{#if:{{{type|}}}|#ifeq:{{{typemod}}}|OR| |
|||
{{#arraymap:{{{type}}}|,|x|[[has item property::x]]| OR |
|||
}} |
|||
| |
|||
{{#arraymap:{{{type}}}|,|x|[[has item property::x]]| |
|||
}} |
|||
}} |
|||
{{#if:{{{wearloc|}}}| |
|||
{{#ifeq:{{{wearlocmod}}}|OR| |
|||
{{#arraymap:{{{wearloc}}}|,|x|[[worn in slot::x]]| OR |
|||
}} |
|||
| |
|||
{{#arraymap:{{{wearloc}}}|,|x|[[worn in slot::x]]| |
|||
}} |
|||
}} |
|||
}} |
|||
{{#if:{{{weight|}}}|[[weight is:: |
|||
{{#if:{{{wmod|}}}|{{{wmod}}} |
|||
}}{{{weight}}}]] |
|||
}} |
|||
{{#if:{{{appcost|}}}|[[appraised cost is:: |
|||
{{#if:{{{apmod|}}}|{{{apmod}}} |
|||
}}{{{appcost}}}]] |
|||
}} |
|||
{{#if:{{{cost|}}}|[[shop cost is:: |
|||
{{#if:{{{costmod|}}}|{{{costmod}}} |
|||
}}{{{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|}}} |
|||
}}{{{maxcharge}}}]] |
|||
| |
|||
}} |
|||
| ?Has item property |
| ?Has item property |
||
| ?Festival item |
| ?Festival item |
Revision as of 21:19, 4 October 2010
This is the ItemQuery Template. It can only be used through the Item Query