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

From Path of Exile Wiki
Jump to navigation Jump to search
>OmegaK2
(Created page with "<includeonly>{{#ask: Concept:Skill gems [[Has item class restrictions::{{{item_class}}}]] OR Concept:Attack based active skill gems without item class restrictions...")
 
(Removed item_class parameter. Removed description. Fixed bug where template was not showing generic attack skills that have no weapon class restrictions.)
(16 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{{#ask:
<includeonly>{{Query skill gems
[[Concept:Skill gems]]
|tables= skill, skill__item_class_id_restriction
[[Has item class restrictions::{{{item_class}}}]]
|join=items._pageID=skill._pageID, skill._ID=skill__item_class_id_restriction._rowID
OR
|where=items.class_id="Active Skill Gem"
[[Concept:Attack based active skill gems without item class restrictions]]
  AND (
|?Has name
    skill__item_class_id_restriction._value="{{{item_class_id|{{{1}}}}}}"
|?Has infobox HTML
    OR skill_gems.gem_tags HOLDS "Attack" AND skill__item_class_id_restriction._value IS NULL
|?Has support gem letter HTML
  )
|?Has level requirement
}}</includeonly><noinclude>
|?Has strength percentage
{{Documentation}}
|?Has intelligence percentage
</noinclude>
|?Has dexterity percentage
|limit=1000
|link=none
|intro=[[Active Skill Gems]] that are usable with [[{{{item_class}}}]]
|format=template
|introtemplate=SMW item table/skill gem/intro
|template=SMW item table/skill gem
|outrotemplate=SMW item table/skill gem/outro
|named args=yes
|userparam=level=yes, int=yes, dex=yes, str=yes
|sort=Has primary attribute, Has name
}}{{if: {{{nocat|}}}||[[Category:Skill gems by item class]]}}</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