Template:Drop enabled gem table by item class: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(Update to new template)
(Removed item_class parameter. Removed description. Fixed bug where template was not showing generic attack skills that have no weapon class restrictions.)
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>[[Active Skill Gems]] that are usable with [[{{{item_class}}}]]
<includeonly>{{Query skill gems
{{SMW item table/skill gems
|tables= skill, skill__item_class_id_restriction
|conditions=[[Concept:Skill gems]]
|join=items._pageID=skill._pageID, skill._ID=skill__item_class_id_restriction._rowID
[[Has item class restrictions::{{{item_class}}}]]
|where=items.class_id="Active Skill Gem"
OR
  AND (
[[Concept:Attack based active skill gems without item class restrictions]]
    skill__item_class_id_restriction._value="{{{item_class_id|{{{1}}}}}}"
|q_sort=Has primary attribute, Has name
    OR skill_gems.gem_tags HOLDS "Attack" AND skill__item_class_id_restriction._value IS NULL
|level=yes
  )
|int=yes
}}</includeonly><noinclude>
|dex=yes
{{Documentation}}
|str=yes
</noinclude>
}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 20:54, 23 July 2022

Template documentation[view] [edit] [history] [purge]


Overview

This template queries for skill gems that can be used with a particular item class.

For more information, see Template:Skill gem table.

Additional Parameters

Parameters that can be specified in addition to the default item table parameters.

Parameter Value Description Optional
item_class_id str item class id to query for