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

From Path of Exile 2 Wiki
Jump to navigation Jump to search
m (Skill gem)
m (17 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>[[Skill gem]]s that are usable with [[{{{item_class_id|{{{item_class}}}}}}]].
<includeonly>{{Query skill gems
{{Query skill gems
|tables= skill, skill__item_class_id_restriction
|tables= skill, skill__item_class_restriction, skill__item_class_id_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, skill._ID=skill__item_class_id_restriction._rowID
|where=items.class_id="Active Skill Gem"
|where=   
   AND (
{{#if: {{{item_class_id|}}}
     skill__item_class_id_restriction._value="{{{item_class_id|{{{1}}}}}}"
     | 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
    | skill__item_class_restriction._value="{{{item_class}}}"
  )
}}
}}</includeonly><noinclude>
OR (
{{Documentation}}
      items.class="Active Skill Gems"
</noinclude>
  AND skill_gems.gem_tags HOLDS "Attack"  
  AND skill__item_class_restriction._value IS NULL
)
}}</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