Template:Drop enabled gem table by item class: Difference between revisions
Jump to navigation
Jump to search
(Removed item_class parameter. Removed description. Fixed bug where template was not showing generic attack skills that have no weapon class restrictions.) |
Mefisto1029 (talk | contribs) (Meta gems) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{Drop enabled gem table | ||
|tables= skill, skill__item_class_id_restriction | |tables= skill, 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_id_restriction._rowID | ||
|where=items.class_id="Active Skill Gem" | |where=(items.class_id="Active Skill Gem" OR items.class_id="Meta Skill Gem") | ||
AND ( | AND ( | ||
skill__item_class_id_restriction._value="{{{item_class_id|{{{1}}}}}}" | skill__item_class_id_restriction._value="{{{item_class_id|{{{1}}}}}}" | ||
OR skill_gems.gem_tags HOLDS "Attack" AND skill__item_class_id_restriction._value IS NULL | <!--OR skill_gems.gem_tags HOLDS "Attack" AND skill__item_class_id_restriction._value IS NULL--> | ||
) | ) | ||
|orderBy = skill_gems.gem_tier | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 10:37, 10 February 2025
Overview
This template queries for skill gems that can be used with a particular item class.
For more information, see Template: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 | ![]() |
The above documentation is transcluded from Template:Drop enabled gem table by item class/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.