Template:ItemQuery: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
No edit summary
 
(23 intermediate revisions by 2 users not shown)
Line 24: Line 24:
|
|
{{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@]]|}}
{{#arraymap:{{lc:{{{STag}}}}}|,|@@@@|[[uses symbol::@@@@]]|}}
}}
}}
{{#if:{{{icategory|}}}|
{{#ifeq:{{{icategorymod}}}|OR|
[[item category is::{{#arraymap:{{{icategory}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
{{#arraymap:{{{icategory}}}|,|@@@@|[[item category is::@@@@]]|
}}
}}
}}
}}
}}
Line 44: Line 52:
{{#arraymap:{{{wearloc}}}|,|@@@@|[[worn in slot::@@@@]]|
{{#arraymap:{{{wearloc}}}|,|@@@@|[[worn in slot::@@@@]]|
}}
}}
}}
}}
{{#if:{{{rtype|}}}|
{{#ifeq:{{{rtypemod}}}|OR|
[[race association is::{{#arraymap:{{lc:{{{rtype}}}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
{{#arraymap:{{lc:{{{rtype}}}}}|,|@@@@|[[race association is::@@@@]]|}}
}}
}}
{{#if:{{{gtype|}}}|
{{#ifeq:{{{gtypemod}}}|OR|
[[guild association is::{{#arraymap:{{lc:{{{gtype}}}}}|,|@@@@|@@@@| {{!}}{{!}} }}]]
|
{{#arraymap:{{lc:{{{gtype}}}}}|,|@@@@|[[guild association is::@@@@]]|}}
}}
}}
}}
}}
Line 55: Line 77:
}}{{{cost}}}]]
}}{{{cost}}}]]
}}
}}
{{#switch:{{{fest|}}}
{{#if:{{{rarity|}}}|[[rarity is::{{{rarity}}}]]}}
|yes=[[rare item::true]]
|no=[[rare item::false]]
|only not=[[rare item::!true]]
}}
{{#if:{{{maxcharge|}}}
{{#if:{{{maxcharge|}}}
|[[holds mana::
|[[holds mana::
Line 92: Line 110:
}}
}}
}}
}}
| ?Has item property
| ?Has item property=Properties
|{{#ifexpr: {{#if:{{#pos:{{{type|}}}|cambrinth}}|1|0}} or {{#if:{{#pos:{{{type|}}}|gaethzen}}|1|0}}|?Holds mana=Mana}}
| ?Rare item
|{{#ifexpr: {{#if:{{#pos:{{{type|}}}|casts spell}}|1|0}} or {{#if:{{#pos:{{{type|}}}|magical tattoo}}|1|0}}|?Item casts spell=Casts Spell}}
| ?Weight of
| ?Worn in slot=Worn Location
|{{#switch:{{{sizemod}}}|external=? length is}}
| ?Weight of=Weight
|{{#switch:{{{sizemod}}}|external=? width is}}
|{{#switch:{{{sizemod}}}|external=? height is}}
|{{#switch:{{{sizemod}}}|external=?Length is=Length}}
|{{#switch:{{{sizemod}}}|internal=? Interior length is}}
|{{#switch:{{{sizemod}}}|external=?Width is=Width}}
|{{#switch:{{{sizemod}}}|internal=? Interior width is}}
|{{#switch:{{{sizemod}}}|external=?Height is=Height}}
|{{#switch:{{{sizemod}}}|internal=? Interior height is}}
|{{#switch:{{{sizemod}}}|internal=?Interior length is=Interior Length}}
|{{#switch:{{{sizemod}}}|internal=? weight capacity is}}
|{{#switch:{{{sizemod}}}|internal=?Interior width is=Interior Width}}
|{{#switch:{{{type}}}|cambrinth|gaethzen=?Holds mana}}
|{{#switch:{{{sizemod}}}|internal=?Interior height is=Interior Height}}
|{{#switch:{{{sizemod}}}|internal=?Weight capacity is=Weight Capacity}}
| ?Source is=Sources
}}
}}
</includeonly>
</includeonly>

Latest revision as of 20:05, 20 November 2023

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