Template:Drop enabled gem table by item class: Difference between revisions
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> | <includeonly>{{Query skill gems | ||
|tables= skill, skill__item_class_id_restriction | |||
| | |join=items._pageID=skill._pageID, skill._ID=skill__item_class_id_restriction._rowID | ||
|where=items.class_id="Active Skill Gem" | |||
AND ( | |||
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 | |||
) | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
}}</includeonly><noinclude>{{ |
Revision as of 20:54, 23 July 2022
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 | ✗
|
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.