Template:Query base armours: Difference between revisions
Jump to navigation
Jump to search
>OmegaK2 m (OmegaK2 moved page Template:SMW base armour query to Template:Query base armour) |
Tag: Undo |
||
(20 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>==Armour | <includeonly>===Armour ([[Strength]])=== | ||
{{# | {{Query base items | ||
| | |where=armours.armour_range_average > 0 AND armours.evasion_range_average = 0 AND armours.energy_shield_range_average = 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | ||
|large=1 | |large=1 | ||
|level=1 | |level=1 | ||
|str=1 | |str=1 | ||
|ar=1 | |ar=1 | ||
|stat | |stat=1 | ||
|block={{#ifeq:{{{item_class|}}}| | |block={{#ifeq:{{{item_class|}}}|Shield|1|}} | ||
}} | }} | ||
==Evasion | ===Evasion ([[Dexterity]])=== | ||
{{# | {{Query base items | ||
| | |where=armours.armour_range_average = 0 AND armours.evasion_range_average > 0 AND armours.energy_shield_range_average = 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | ||
|large=1 | |large=1 | ||
|level=1 | |level=1 | ||
|dex=1 | |dex=1 | ||
|ev=1 | |ev=1 | ||
|stat | |stat=1 | ||
|block={{#ifeq:{{{item_class|}}}| | |block={{#ifeq:{{{item_class|}}}|Shield|1|}} | ||
}} | }} | ||
==Energy Shield | ===Energy Shield ([[Intelligence]])=== | ||
{{# | {{Query base items | ||
| | |where=armours.armour_range_average = 0 AND armours.evasion_range_average = 0 AND armours.energy_shield_range_average > 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | ||
|large=1 | |large=1 | ||
|level=1 | |level=1 | ||
|int=1 | |int=1 | ||
|es=1 | |es=1 | ||
|stat | |stat=1 | ||
|block={{#ifeq:{{{item_class|}}}| | |block={{#ifeq:{{{item_class|}}}|Shield|1|}} | ||
}} | }} | ||
==Armour/Evasion | ===Armour/Evasion ([[Strength]]/[[Dexterity]])=== | ||
{{# | {{Query base items | ||
| | |where=armours.armour_range_average > 0 AND armours.evasion_range_average > 0 AND armours.energy_shield_range_average = 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | ||
|large=1 | |large=1 | ||
|level=1 | |level=1 | ||
Line 52: | Line 45: | ||
|ar=1 | |ar=1 | ||
|ev=1 | |ev=1 | ||
|stat | |stat=1 | ||
|block={{#ifeq:{{{item_class|}}}| | |block={{#ifeq:{{{item_class|}}}|Shield|1|}} | ||
}} | }} | ||
==Armour/Energy Shield | ===Armour/Energy Shield ([[Strength]]/[[Intelligence]])=== | ||
{{# | {{Query base items | ||
| | |where=armours.armour_range_average > 0 AND armours.evasion_range_average = 0 AND armours.energy_shield_range_average > 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | ||
|large=1 | |large=1 | ||
|level=1 | |level=1 | ||
Line 68: | Line 59: | ||
|ar=1 | |ar=1 | ||
|es=1 | |es=1 | ||
|stat={{# | |stat=1 | ||
|block={{#ifeq:{{{item_class|}}}| | |block={{#ifeq:{{{item_class|}}}|Shield|1|}} | ||
}} | |||
===Evasion/Energy Shield ([[Dexterity]]/[[Intelligence]])=== | |||
{{Query base items | |||
|where=armours.armour_range_average = 0 AND armours.evasion_range_average > 0 AND armours.energy_shield_range_average > 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | |||
|large=1 | |||
|level=1 | |||
|int=1 | |||
|dex=1 | |||
|ev=1 | |||
|es=1 | |||
|stat=1 | |||
|block={{#ifeq:{{{item_class|}}}|Shield|1|}} | |||
|q_sort=Has level requirement | |q_sort=Has level requirement | ||
}} | }} | ||
{{#ifeq:{{{item_class|}}}|Body Armour|===Armour/Evasion/Energy Shield ([[Strength]]/[[Dexterity]]/[[Intelligence]])=== | |||
{{# | {{Query base items | ||
| | |where=armours.armour_range_average > 0 AND armours.evasion_range_average > 0 AND armours.energy_shield_range_average > 0 {{#if:{{{item_class|}}}|AND items.class_id="{{{item_class|}}}"|}} AND items.rarity_id LIKE "normal" | ||
|large=1 | |large=1 | ||
|level=1 | |level=1 | ||
|str=1 | |||
|dex=1 | |||
|int=1 | |int=1 | ||
| | |ar=1 | ||
|ev=1 | |ev=1 | ||
|es=1 | |es=1 | ||
|stat | |stat=1 | ||
|block={{#ifeq:{{{item_class|}}}| | |block={{#ifeq:{{{item_class|}}}|Shield|1|}} | ||
|q_sort=Has level requirement | |q_sort=Has level requirement | ||
}}</includeonly><noinclude>{{ | }}}}</includeonly><noinclude> | ||
{{Documentation}} | |||
</noinclude> |
Latest revision as of 01:57, 30 October 2024
Overview
This template queries for base armours based on a item class.
For more information, see Template:Item table.
The above documentation is transcluded from Template:Query base armours/doc.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox and testcases pages.
Please add categories to the /doc subpage. Subpages of this template.