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

From Path of Exile 2 Wiki
Jump to navigation Jump to search
>Illviljan
(add support for item class id since the bot keeps removing the unarmed item class.)
m (17 revisions imported)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>[[Active Skill Gems]] that are usable with [[{{{item_class}}}]]
<includeonly>{{Query skill gems
{{Query skill gems
|tables= skill, skill__item_class_id_restriction
|tables= skill, skill__item_class_restriction
|join=items._pageID=skill._pageID, skill._ID=skill__item_class_id_restriction._rowID
|join=items._pageID=skill._pageID, skill._ID=skill__item_class_restriction._rowID
|where=items.class_id="Active Skill Gem"
|where=
  AND (
    skill__item_class_restriction._value="{{{item_class}}}"
     skill__item_class_id_restriction._value="{{{item_class_id|{{{1}}}}}}"
     {{#if: {{{item_class_id}|}}| OR skill__item_class_id_restriction._value="{{{item_class_id}}}" |}}
    OR skill_gems.gem_tags HOLDS "Attack" AND skill__item_class_id_restriction._value IS NULL
OR (
  )
      items.class="Active Skill Gems"
}}</includeonly><noinclude>
  AND skill_gems.gem_tags HOLDS "Attack"  
{{Documentation}}
  AND skill__item_class_restriction._value IS NULL
</noinclude>
)
}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 04:03, 30 September 2024

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 No