Template:Drop enabled gem table by item class: Difference between revisions
Jump to navigation
Jump to search
>Ruba159753 (Undo revision 468677 by Ruba159753 (talk)) |
>Illviljan (add support for item class id since the bot keeps removing the unarmed item class.) |
||
Line 3: | Line 3: | ||
|tables= skill, skill__item_class_restriction | |tables= skill, skill__item_class_restriction | ||
|join=items._pageID=skill._pageID, skill._ID=skill__item_class_restriction._rowID | |join=items._pageID=skill._pageID, skill._ID=skill__item_class_restriction._rowID | ||
|where=skill__item_class_restriction._value="{{{item_class}}}" OR (items.class="Active Skill Gems" AND skill_gems.gem_tags HOLDS "Attack" AND skill__item_class_restriction._value IS NULL) | |where= | ||
skill__item_class_restriction._value="{{{item_class}}}" | |||
{{#if: {{{item_class_id}|}}| OR skill__item_class_id_restriction._value="{{{item_class_id}}}" |}} | |||
OR ( | |||
items.class="Active Skill Gems" | |||
AND skill_gems.gem_tags HOLDS "Attack" | |||
AND skill__item_class_restriction._value IS NULL | |||
) | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> | }}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 21:08, 5 October 2019
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.